Compartilhar via


PowerState Struct

Definition

The power states of a Dev Box.

public readonly struct PowerState : IEquatable<Azure.Developer.DevCenter.Models.PowerState>
type PowerState = struct
Public Structure PowerState
Implements IEquatable(Of PowerState)
Inheritance
PowerState
Implements

Constructors

PowerState(String)

Initializes a new instance of PowerState.

Properties

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

Equals(PowerState)

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

Equality(PowerState, PowerState)

Determines if two PowerState values are the same.

Implicit(String to PowerState)

Converts a string to a PowerState.

Inequality(PowerState, PowerState)

Determines if two PowerState values are not the same.

Applies to