Distributed Virtual Switch Update DVS Health Check Config Task
Update health check configuration.
Required privileges: DVSwitch.Modify
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 DistributedVirtualSwitch/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"healthCheckConfig": [
{
"_typeName": "string",
"enable": false,
"interval": 0
}
]
}
Returns a Task object with which to monitor the operation.
{
"_typeName": "string",
"type": "string",
"value": "string"
}
DvsFault: if operation fails on any host or if there are other update failures.
NotSupported: if health check is not supported on the switch.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}