VirtualMachineInstanceStatus Class

Definition

The observed state of virtual machine instances

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstanceStatusTypeConverter))]
public class VirtualMachineInstanceStatus : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatus
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.VirtualMachineInstanceStatusTypeConverter))>]
type VirtualMachineInstanceStatus = class
    interface IVirtualMachineInstanceStatus
    interface IJsonSerializable
Public Class VirtualMachineInstanceStatus
Implements IVirtualMachineInstanceStatus
Inheritance
VirtualMachineInstanceStatus
Attributes
Implements

Constructors

VirtualMachineInstanceStatus()

Creates an new VirtualMachineInstanceStatus instance.

Properties

ErrorCode

VirtualMachine provisioning error code

ErrorMessage

Descriptive error message

PowerState

The power state of the virtual machine instance

ProvisioningStatusOperationId

The ID of the operation performed on the virtual machine instance

ProvisioningStatusStatus

The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress]

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineInstanceStatus.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineInstanceStatus.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IVirtualMachineInstanceStatus.

FromJsonString(String)

Creates a new instance of VirtualMachineInstanceStatus, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineInstanceStatus into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to