vCenter Storage Monitoring Service API
| Local Properties | ||
Managed Object Types | Data Object Types | All Properties | All Methods |
Data Object - AutoStartPowerInfo(vim.host.AutoStartManager.AutoPowerInfo)
- Property of
- HostAutoStartManagerConfig
- Extends
- DynamicData
- See also
- AutoStartWaitHeartbeatSetting, VirtualMachine
- Since
- 2.0
Data Object Description
This object type describes the power-on / power-off behavior for a given virtual machine. Virtual machines can be configured to wait for a period of time before starting or to wait to receive a successful heartbeat from a virtual machine before starting the next virtual machine in the sequence.- For a power-on operation, if waitForHeartbeat is true, then the power-on sequence continues after the first heartbeat has been received. If waitForHeartbeat is false, the system waits for the specified delay and then continues the power-on sequence.
- For a power-off operation, if delay is non-zero, the requested power-off action is invoked (powerOff, suspend, guestShutdown) on the virtual machine and the system waits until the number of seconds specified in the delay have passed.
- After receiving a heartbeat but before the start delay has elapsed
- After the start delay has elapsed but before receiving a heartbeat
Properties
Name | Type | Description |
---|---|---|
key | ManagedObjectReference
to a VirtualMachine |
Virtual machine to power on or power off.
|
startAction | xsd:string |
How to start the virtual machine. Valid settings are none or powerOn.
If set to none, then the virtual machine does not participate in auto-start.
|
startDelay | xsd:int |
Delay in seconds before continuing with the next virtual machine in the order
of machines to be started. If the delay is specified as -1, then the system
default is used.
|
startOrder | xsd:int |
The autostart priority of this virtual machine. Virtual machines with a lower
number are powered on first. On host shutdown, the virtual machines are
shut down in reverse order, meaning those with a higher number are powered off
first.
Positive values indicate a start order and -1 indicates the machine can be powered on at any time. Machines with a -1 value are typically powered on and off after all virtual machines with positive startOrder values. Failure to meet the following requirements results in an InvalidArgument exception:
If a newly established or changed startOrder value for a virtual machine matches an existing startOrder value, the newly applied value takes precedence, and the existing value is incremented by one. The incremented startOrder value is checked for collisions, and the same rule is applied if one is found. This simple system ensures no two virtual machines ever have the same order number.
For example, consider the case where there are three virtual machines with
different startOrder values. Virtual machine A has not yet established a
startOrder, virtual machine B has a startOrder value of 1 and Virtual Machine
C has a startOrder value of 2. If virtual machine A's startOrder is set to 1,
then virtual machine B's startOrder is incremented to 2. This creates a
conflict with virtual machine C's startOrder value, which is also incremented,
this time to 3.
|
stopAction | xsd:string |
Defines the stop action for the virtual machine. Can be set to none,
systemDefault, powerOff, or suspend. If set to none, then the virtual machine
does not participate in auto-stop.
|
stopDelay | xsd:int |
Delay in seconds before continuing with the next virtual machine in the order
sequence. If the delay is -1, then the system default is used.
|
waitForHeartbeat | AutoStartWaitHeartbeatSetting |
|
Properties inherited from DynamicData | ||
None |
Show WSDL type definition
Top of page | Local Properties | ||
Managed Object Types | Data Object Types | All Properties | All Methods |