I'm struggeling to get my head around Vmware's MOB.
I have found the page in MOB which has got the coresponding fields I'm interested in i.e. DRS and HA setting for a cluster.
However I'm not sure if I can edit them via pyvmomi since the page in the MOB doesn't have any method table below the properties table.
This is what I mean:
My page:
Some other page:
Is it possible to edit DRS and HA properies via pyvmomi or the only thing I can do with pyvmomi is just to "fetch" them?
You need to use the ReconfigureCluster_Task
method of the ClusterComputeResource
. Look at the dasConfig
and drsConfig
fields of the ClusterConfigSpecEx
.
These seem to be accessible through pyvmomi
as per the example here.