|
VMware vSphere Automation SDK for .NET 6.5.0
|
The Power.State enumerated type defines the valid power states for a virtual machine.
More...
Public Types | |
| enum | Values { _UNKNOWN, POWERED_OFF, POWERED_ON, SUSPENDED } |
| C# enum whose values can be used in switch statements. More... | |
Public Member Functions | |
| bool | IsUnknown () |
| Values | GetEnumValue () |
Static Public Member Functions | |
| static State[] | GetValues () |
| static State | ValueOf (string name) |
Static Public Attributes | |
| static readonly State | POWERED_OFF = new State("POWERED_OFF", Values.POWERED_OFF) |
| The virtual machine is powered off. | |
| static readonly State | POWERED_ON = new State("POWERED_ON", Values.POWERED_ON) |
| The virtual machine is powered on. | |
| static readonly State | SUSPENDED = new State("SUSPENDED", Values.SUSPENDED) |
| The virtual machine is suspended. | |
The Power.State enumerated type defines the valid power states for a virtual machine.
C# enum whose values can be used in switch statements.
Ordinals have no semantic meaning (your code should not rely on them).
| Values vmware::vcenter::vm::PowerTypes::State::GetEnumValue | ( | ) | [inline] |
| static State [] vmware::vcenter::vm::PowerTypes::State::GetValues | ( | ) | [inline, static] |
| bool vmware::vcenter::vm::PowerTypes::State::IsUnknown | ( | ) | [inline] |
| static State vmware::vcenter::vm::PowerTypes::State::ValueOf | ( | string | name | ) | [inline, static] |
readonly State vmware::vcenter::vm::PowerTypes::State::POWERED_OFF = new State("POWERED_OFF", Values.POWERED_OFF) [static] |
The virtual machine is powered off.
readonly State vmware::vcenter::vm::PowerTypes::State::POWERED_ON = new State("POWERED_ON", Values.POWERED_ON) [static] |
The virtual machine is powered on.
readonly State vmware::vcenter::vm::PowerTypes::State::SUSPENDED = new State("SUSPENDED", Values.SUSPENDED) [static] |
The virtual machine is suspended.