Esx.Settings.Defaults.Hosts.Policies.Apply.ConfiguredPolicySpec

Esx.Settings.Defaults.Hosts.Policies.Apply.ConfiguredPolicySpec
Esx.Settings.Defaults.Hosts.Policies.Apply.ConfiguredPolicySpec

The Esx.Settings.Defaults.Hosts.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 hosts.

This schema was added in vSphere API 8.0.0.1.

JSON Example
{
    "failure_action": {
        "action": "string",
        "retry_delay": 0,
        "retry_count": 0
    },
    "pre_remediation_power_action": "string",
    "enable_quick_boot": false,
    "software_policy_spec": {
        "skip_reserved_vibs_caching": false
    }
}
failure_action
Optional

What action is to be taken if entering maintenance mode fails on an ESXi host.

This property was added in vSphere API 8.0.0.1.

If missing or null, configured value would be unset.

string
pre_remediation_power_action
Optional

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

For more information see: Esx.Settings.Defaults.Hosts.Policies.Apply.ConfiguredPolicySpec.PreRemediationPowerAction.

This property was added in vSphere API 8.0.0.1.

If missing or null, configured value would be unset.

boolean
enable_quick_boot
Optional

Enable Quick Boot during remediation of the host.

This property was added in vSphere API 8.0.0.1.

If missing or null, configured value would be unset.

software_policy_spec
Optional

Software-specific policy settings applicable to the POST /esx/settings/hosts/{host}/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.