你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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