Share via


VirtualMachinePowerState Struct

Definition

The power state of the virtual machine.

public readonly struct VirtualMachinePowerState : IEquatable<Azure.ResourceManager.NetworkCloud.Models.VirtualMachinePowerState>
type VirtualMachinePowerState = struct
Public Structure VirtualMachinePowerState
Implements IEquatable(Of VirtualMachinePowerState)
Inheritance
VirtualMachinePowerState
Implements

Constructors

VirtualMachinePowerState(String)

Initializes a new instance of VirtualMachinePowerState.

Properties

Off

Off.

On

On.

Unknown

Unknown.

Methods

Equals(VirtualMachinePowerState)

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(VirtualMachinePowerState, VirtualMachinePowerState)

Determines if two VirtualMachinePowerState values are the same.

Implicit(String to VirtualMachinePowerState)

Converts a string to a VirtualMachinePowerState.

Inequality(VirtualMachinePowerState, VirtualMachinePowerState)

Determines if two VirtualMachinePowerState values are not the same.

Applies to