PowerState Class

Definition

Define values for PowerState

public class PowerState : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ExpandableStringEnum<Microsoft.Azure.Management.Compute.Fluent.PowerState>
type PowerState = class
    inherit ExpandableStringEnum<PowerState>
Public Class PowerState
Inherits ExpandableStringEnum(Of PowerState)
Inheritance

Constructors

PowerState()

Fields

Deallocated

Static value PowerState/deallocated for PowerState.

Deallocating

Static value PowerState/deallocating for PowerState.

Running

Static value PowerState/running for PowerState.

Starting

Static value PowerState/starting for PowerState.

Stopped

Static value PowerState/stopped for PowerState.

Stopping

Static value PowerState/stopping for PowerState.

Unknown

Static value PowerState/unknown for PowerState.

Properties

Value (Inherited from ExpandableStringEnum<T>)

Methods

Equals(Object) (Inherited from ExpandableStringEnum<T>)
Equals(String) (Inherited from ExpandableStringEnum<T>)
FromInstanceView(VirtualMachineInstanceView)

Creates an instance of PowerState from the virtual machine instance view status entry corresponding to the power state.

GetHashCode() (Inherited from ExpandableStringEnum<T>)
ToString() (Inherited from ExpandableStringEnum<T>)

Applies to