共用方式為


IVirtualMachine.PowerState Property

Definition

Gets the power state of the virtual machine.

public Microsoft.Azure.Management.Compute.Fluent.PowerState PowerState { get; }
member this.PowerState : Microsoft.Azure.Management.Compute.Fluent.PowerState
Public ReadOnly Property PowerState As PowerState

Property Value

Remarks

The power state of virtual machine instance, or null if cannot be determined. RefreshInstanceView() refreshes the power state.

Applies to