PowerState Struct

Definition

The power states of a Dev Box.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Support.PowerStateTypeConverter))]
public struct PowerState : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Support.PowerState>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Support.PowerStateTypeConverter))>]
type PowerState = struct
    interface IArgumentCompleter
Public Structure PowerState
Implements IArgumentCompleter, IEquatable(Of PowerState)
Inheritance
PowerState
Attributes
Implements

Fields

Deallocated

The Dev Box is deallocated.

Hibernated

The Dev Box is hibernated.

PoweredOff

The Dev Box is powered off.

Running

The Dev Box is running.

Unknown

The Dev Box power state is not known.

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type PowerState (override for Object)

Equals(PowerState)

Compares values of enum type PowerState

GetHashCode()

Returns hashCode for enum PowerState

ToString()

Returns string representation for PowerState

Operators

Equality(PowerState, PowerState)

Overriding == operator for enum PowerState

Implicit(PowerState to String)

Implicit operator to convert PowerState to string

Implicit(String to PowerState)

Implicit operator to convert string to PowerState

Inequality(PowerState, PowerState)

Overriding != operator for enum PowerState

Applies to