Esx.Settings.Defaults.Clusters.Policies.Apply.ConfiguredPolicySpec
The Esx.Settings.Defaults.Clusters.Policies.Apply.ConfiguredPolicySpec schema contains properties that describe the policies configured to be used when the software and configuration specification documents are applied to ESXi clusters.
This schema was added in vSphere API 7.0.0.0.
{
"failure_action": {
"action": "string",
"retry_delay": 0,
"retry_count": 0
},
"pre_remediation_power_action": "string",
"enable_quick_boot": false,
"disable_dpm": false,
"disable_hac": false,
"evacuate_offline_vms": false,
"enforce_hcl_validation": false,
"parallel_remediation_action": {
"enabled": false,
"max_hosts": 0
},
"enforce_quick_patch": false,
"software_policy_spec": {
"enforce_hcl_validation": false,
"parallel_remediation_action": {
"enabled": false,
"max_hosts": 0
},
"live_patch_action": {
"live_patch_mode": "string"
},
"skip_reserved_vibs_caching": false,
"remediation_failure_tolerance": {
"failed_hosts_tolerance_percentage_enabled": false,
"failed_hosts_tolerance_percentage": 0
}
},
"config_manager_policy_spec": {
"serial_remediation": false,
"auto_remediate_on_host_add": false
}
}
What action is to be taken if entering maintenance mode fails on a given host of the cluster.
This property was added in vSphere API 7.0.0.0.
If missing or null, configured value would be unset.
Specifies what should be done to the power state of the VM before entering maintenance mode.
Possible values:
- 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
This constant was added in vSphere API 7.0.2.0.
For more information see: Esx.Settings.Defaults.Clusters.Policies.Apply.ConfiguredPolicySpec.PreRemediationPowerAction.
This property was added in vSphere API 7.0.0.0.
If missing or null, configured value would be unset.
Enable Quick Boot during remediation in the cluster.
This property was added in vSphere API 7.0.0.0.
If missing or null, configured value would be unset.
Disable DPM on the cluster.
This property was added in vSphere API 7.0.0.0.
If missing or null, configured value would be unset.
Disable HA Admission control on the cluster.
This property was added in vSphere API 7.0.0.0.
If missing or null, configured value would be unset.
Evacuate powered off/suspended VMs when attempting maintenance mode.
This property was added in vSphere API 7.0.0.0.
If missing or null, configured value would be unset.
Enforce HCL validation, when applicable, to prevent remediation if hardware compatibility issues are found.
This property was added in vSphere API 7.0.1.0.
If missing or null, hardware compatibility issues will not prevent remediation.
Enable parallel remediation of hosts in maintenance mode. Set max hosts when applicable.
This property was added in vSphere API 8.0.0.1.
If missing or null, parallel remediation will not happen.
Enforce quick patch on the cluster for images that support it.
This property was added in vSphere API 8.0.3.0.
If missing or null, configured value would be unset.
Software-specific policy settings applicable to the POST /esx/settings/clusters/{cluster}/software?action=apply API.
Warning: this property is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
If missing or null, software-specific policy values will be unset.
Configure settings applicable to the POST /esx/settings/clusters/{cluster}/configuration?action=apply API.
This property was added in vSphere API 8.0.3.0.
If missing or null, configured values will be unset.