Share via


VirtualMachineState Struct

Definition

The state of a virtual machine.

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

Fields

Redeploying

The VM is being redeployed.

Reimaging

The VM is being reimaged.

ResettingPassword

The VM password is being reset.

Running

The VM is running.

Starting

The VM is starting.

Stopped

The VM is currently stopped.

Stopping

The VM is stopping.

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

Equals(VirtualMachineState)

Compares values of enum type VirtualMachineState

GetHashCode()

Returns hashCode for enum VirtualMachineState

ToString()

Returns string representation for VirtualMachineState

Operators

Equality(VirtualMachineState, VirtualMachineState)

Overriding == operator for enum VirtualMachineState

Implicit(String to VirtualMachineState)

Implicit operator to convert string to VirtualMachineState

Implicit(VirtualMachineState to String)

Implicit operator to convert VirtualMachineState to string

Inequality(VirtualMachineState, VirtualMachineState)

Overriding != operator for enum VirtualMachineState

Applies to