VirtualMachineDefaultPowerOpInfo

VirtualMachineDefaultPowerOpInfo
VirtualMachineDefaultPowerOpInfo

The DefaultPowerOpInfo data object type holds the configured defaults for the power operations on a virtual machine.

The properties indicated whether to do a "soft" or guest initiated operation, or a "hard" operation.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "powerOffType": "string",
    "suspendType": "string",
    "resetType": "string",
    "defaultPowerOffType": "string",
    "defaultSuspendType": "string",
    "defaultResetType": "string",
    "standbyAction": "string"
}
string
powerOffType
Optional

Describes the default power off type for this virtual machine.

The possible values are specified by the PowerOpType.

  • hard - Perform power off by using the PowerOff method.
  • soft - Perform power off by using the ShutdownGuest method.
  • preset - The preset value is specified in the defaultPowerOffType section.

This setting is advisory and clients can choose to ignore it.

string
suspendType
Optional

Describes the default suspend type for this virtual machine.

The possible values are specified by the PowerOpType.

  • hard - Perform suspend by using the Suspend method.
  • soft - Perform suspend by using the StandbyGuest method.
  • preset - The preset value is specified in the defaultSuspendType section.

This setting is advisory and clients can choose to ignore it.

string
resetType
Optional

Describes the default reset type for this virtual machine.

The possible values are specified by the PowerOpType.

  • hard - Perform reset by using the Reset method.
  • soft - Perform reset by using the RebootGuest method.
  • preset - The preset value is specified in the defaultResetType section.

This setting is advisory and clients can choose to ignore it.

string
defaultPowerOffType
Optional

Default operation for power off: soft or hard

string
defaultSuspendType
Optional

Default operation for suspend: soft or hard

string
defaultResetType
Optional

Default operation for reset: soft or hard

string
standbyAction
Optional

Behavior of virtual machine when it receives the S1 ACPI call.