Share via


VirtualMachineState Enum

Definition

Defines values for VirtualMachineState.

[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public enum VirtualMachineState
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
type VirtualMachineState = 
Public Enum VirtualMachineState
Inheritance
VirtualMachineState
Attributes
Newtonsoft.Json.JsonConverterAttribute

Fields

Name Value Description
Stopped 0

The VM is currently stopped.

Starting 1

The VM is starting.

Running 2

The VM is running.

Stopping 3

The VM is stopping.

ResettingPassword 4

The VM password is being reset.

Reimaging 5

The VM is being reimaged.

Redeploying 6

The VM is being redeployed.

Applies to