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.1.0.0 APIs.
Show optional properties
{
"cluster": {},
"preferredFd": "string"
}
{
"cluster": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"preferredFd": "string",
"witnessHost": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
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.
vim.Task
{
"_typeName": "string",
"type": "string",
"value": "string"
}
InvalidState: If any host in target cluster is not connected to vCenter server;
VsanFault: If any unexpected runtime fault is met.
{
"_typeName": "string",
"faultCause": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"cluster":"{}","preferredFd":"string"}' https://{api_host}/sdk/vim25/{release}/vsan/VimClusterVsanVcStretchedClusterSystem/{moId}/VSANVcSetPreferredFaultDomain