HciVmPowerState Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The power state of the virtual machine instance.
public readonly struct HciVmPowerState : IEquatable<Azure.ResourceManager.Hci.Vm.Models.HciVmPowerState>
type HciVmPowerState = struct
Public Structure HciVmPowerState
Implements IEquatable(Of HciVmPowerState)
- Inheritance
-
HciVmPowerState
- Implements
Constructors
| Name | Description |
|---|---|
| HciVmPowerState(String) |
Initializes a new instance of HciVmPowerState. |
Properties
| Name | Description |
|---|---|
| Deallocated |
Virtual machine deallocated. |
| Deallocating |
Virtual machine deallocating. |
| Paused |
Virtual machine paused. |
| Running |
Virtual machine running. |
| Saved |
Virtual machine Saved,. |
| Starting |
Virtual machine starting. |
| Stopped |
Virtual machine stopped. |
| Stopping |
Virtual machine stopping. |
| Unknown |
Power state of the virtual machine is unknown. |
Methods
| Name | Description |
|---|---|
| Equals(HciVmPowerState) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(HciVmPowerState, HciVmPowerState) |
Determines if two HciVmPowerState values are the same. |
| Implicit(String to HciVmPowerState) |
Converts a string to a HciVmPowerState. |
| Implicit(String to Nullable<HciVmPowerState>) | |
| Inequality(HciVmPowerState, HciVmPowerState) |
Determines if two HciVmPowerState values are not the same. |