SettingsHostsPoliciesApplyConfiguredPolicySpec
The Apply.ConfiguredPolicySpec structure contains fields that describe the policies configured to be used when the software and configuration specification documents are applied to an ESXi host.
Properties
Enable Quick Boot during remediation of the host. If unset, configured value would be unset.
What action is to be taken if entering maintenance mode fails on an ESXi host. If unset, configured value would be unset.
The Apply.ConfiguredPolicySpec.PreRemediationPowerAction enumerated type defines the possible actions to take, before entering maintenance mode.
POWER_OFF_VMS : Power off VMs before entering maintenance mode.
SUSPEND_VMS : Suspend VMs before entering maintenance mode
DO_NOT_CHANGE_VMS_POWER_STATE : Do not change the VM power state
SUSPEND_VMS_TO_MEMORY : Suspend VMs to Memory before entering maintenance mode
Possible values are: POWER_OFF_VMS , SUSPEND_VMS , DO_NOT_CHANGE_VMS_POWER_STATE , SUSPEND_VMS_TO_MEMORY
JSON Example
{
"enable_quick_boot": false,
"failure_action": {
"action": "FAIL",
"retry_count": 0,
"retry_delay": 0
},
"pre_remediation_power_action": "POWER_OFF_VMS"
}