ClusterDasVmConfigInfo
The ClusterDasVmConfigInfo data object contains the HA configuration for a single virtual machine.
All fields are optional. If you set the modify
parameter to true
when you call ReconfigureComputeResource_Task, an unset property has no effect on the existing property value in the cluster configuration on the Server. If you set the modify
parameter to false
when you reconfigure a cluster, the cluster configuration is reverted to the default values, then the new configuration values are applied.
{
"_typeName": "string",
"key": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"restartPriority": "string",
"powerOffOnIsolation": false,
"dasSettings": {
"_typeName": "string",
"restartPriority": "string",
"restartPriorityTimeout": 0,
"isolationResponse": "string",
"vmToolsMonitoringSettings": {
"_typeName": "string",
"enabled": false,
"vmMonitoring": "string",
"clusterSettings": false,
"failureInterval": 0,
"minUpTime": 0,
"maxFailures": 0,
"maxFailureWindow": 0
},
"vmComponentProtectionSettings": {
"_typeName": "string",
"vmStorageProtectionForAPD": "string",
"enableAPDTimeoutForHosts": false,
"vmTerminateDelayForAPDSec": 0,
"vmReactionOnAPDCleared": "string",
"vmStorageProtectionForPDL": "string"
}
}
}
Deprecated as of VI API 2.5, use ClusterDasVmSettingsRestartPriorityEnum.
The priority of the virtual machine determines the preference given to it if sufficient capacity is not available to power on all failed virtual machines.
For example, high priority virtual machines on a host get preference over low priority virtual machines.
Possible values:
disabled
: vSphere HA is disabled for this virtual machine.low
: Virtual machines with this priority have a lower chance of powering on after a failure if there is insufficient capacity on hosts to meet all virtual machine needs.medium
: Virtual machines with this priority have an intermediate chance of powering on after a failure if there is insufficient capacity on hosts to meet all virtual machine needs.high
: Virtual machines with this priority have a higher chance of powering on after a failure if there is insufficient capacity on hosts to meet all virtual machine needs.
Deprecated as of VI API 2.5, use dasSettings.isolationResponse. If you specify both powerOffOnIsolation and isolationResponse, the value in isolationResponse has precedence.
Flag to indicate whether or not the virtual machine should be powered off if a host determines that it is isolated from the rest of the compute resource.
If there is nothing specified here, then the defaults are picked up from defaultVmSettings.
The ClusterDasVmSettings data object contains the HA configuration settings specified for a single virtual machine (identified by ClusterDasVmConfigInfo.key) or as cluster-wide defaults ClusterDasConfigInfo.defaultVmSettings
All fields are optional. If you set the modify
parameter to true
when you call ReconfigureComputeResource_Task, an unset property has no effect on the existing property value in the cluster configuration on the Server. If you set the modify
parameter to false
when you reconfigure a cluster, the cluster configuration is reverted to the default values, then the new configuration values are applied.