Share via


VirtualMachinePowerState Struct

Definition

The power state of the virtual machine.

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

Fields

Off
On
Unknown

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 VirtualMachinePowerState (override for Object)

Equals(VirtualMachinePowerState)

Compares values of enum type VirtualMachinePowerState

GetHashCode()

Returns hashCode for enum VirtualMachinePowerState

ToString()

Returns string representation for VirtualMachinePowerState

Operators

Equality(VirtualMachinePowerState, VirtualMachinePowerState)

Overriding == operator for enum VirtualMachinePowerState

Implicit(String to VirtualMachinePowerState)

Implicit operator to convert string to VirtualMachinePowerState

Implicit(VirtualMachinePowerState to String)

Implicit operator to convert VirtualMachinePowerState to string

Inequality(VirtualMachinePowerState, VirtualMachinePowerState)

Overriding != operator for enum VirtualMachinePowerState

Applies to