Settings_Clusters_Policies_Apply_ConfiguredPolicySpec

Settings_Clusters_Policies_Apply_ConfiguredPolicySpec
Settings_Clusters_Policies_Apply_ConfiguredPolicySpec

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 cluster.

JSON Example
{
    "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,
    "config_manager_policy_spec": {
        "serial_remediation": false
    }
}
failure_action
Optional

The Apply.FailureAction structure contains fields that describe the actions to be taken when entering maintenance mode fails on a single host within the cluster.

pre_remediation_power_action
Optional

The Apply.ConfiguredPolicySpec.PreRemediationPowerAction enumerated type defines the possible actions to be taken, 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

boolean
enable_quick_boot
Optional

Enable Quick Boot during remediation in the cluster. If unset, configured value would be unset.

boolean
disable_dpm
Optional

Disable DPM on the cluster. If unset, configured value would be unset.

boolean
disable_hac
Optional

Disable HA Admission control on the cluster. If unset, configured value would be unset.

boolean
evacuate_offline_vms
Optional

Evacuate powered off/suspended VMs when attempting maintenance mode. If unset, configured value would be unset.

boolean
enforce_hcl_validation
Optional

Enforce Hcl validation, when applicable, to prevent remediation if hardware compatibility issues are found. If unset, hardware compatibility issues will not prevent remediation.

parallel_remediation_action
Optional

parallel_remediation_action

boolean
enforce_quick_patch
Optional

Enforce quick patch on the cluster for images that support it. If unset, configured value would be unset.

config_manager_policy_spec
Optional

This specification defines the settings to manage the com.vmware.esx.settings.clusters.Configuration.apply API behaviour.