Vim Cluster Vsan Vc Stretched Cluster System VSAN Vc Set Preferred Fault Domain
Set preferred Fault Domain for a vSAN stretched cluster.
This API could set/reconfigure preferred Fault Domain setting.
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case VimClusterVsanVcStretchedClusterSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"VSANVcSetPreferredFaultDomainRequestType Object"
Target vSAN stretched cluster;
Required privileges: Host.Inventory.EditCluster
The user friendly name of preferred Fault Domain;
The witness host to apply preferred Fault Domain setting; if it is not specified, will take the in-use witness host configured at cluster side.
InvalidState: If any host in target cluster is not connected to vCenter server;
VsanFault: If any unexpected runtime fault is met.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/vsan/VimClusterVsanVcStretchedClusterSystem/{moId}/VSANVcSetPreferredFaultDomain