VMware Cloud Community
vmwaredownload
Enthusiast
Enthusiast
Jump to solution

Put Datastore in Datastore Cluster (StoragePod)

Hi,

Trying to put a datastore into a datastore cluster but the attribute VcDatastore.parent is ready only, what is the best way to achieve this?

Thanks in advance. 

Reply
0 Kudos
1 Solution

Accepted Solutions
Jalapeno420
Enthusiast
Enthusiast
Jump to solution

try stoargeCluster.moveIntoFolder_Task(arrayOfDatastoresToAdd);

View solution in original post

Reply
0 Kudos
2 Replies
Jalapeno420
Enthusiast
Enthusiast
Jump to solution

try stoargeCluster.moveIntoFolder_Task(arrayOfDatastoresToAdd);

Reply
0 Kudos
vmwaredownload
Enthusiast
Enthusiast
Jump to solution

worked! thanks, I missed this need to be an array, tried to use a single datastore at first

Reply
0 Kudos