你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PowerState Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The power states of a Dev Box.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Support.PowerStateTypeConverter))]
public struct PowerState : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Support.PowerState>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Support.PowerStateTypeConverter))>]
type PowerState = struct
interface IArgumentCompleter
Public Structure PowerState
Implements IArgumentCompleter, IEquatable(Of PowerState)
- Inheritance
-
PowerState
- Attributes
- Implements
Fields
Deallocated |
The Dev Box is deallocated. |
Hibernated |
The Dev Box is hibernated. |
PoweredOff |
The Dev Box is powered off. |
Running |
The Dev Box is running. |
Unknown |
The Dev Box power state is not known. |
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 PowerState (override for Object) |
Equals(PowerState) |
Compares values of enum type PowerState |
GetHashCode() |
Returns hashCode for enum PowerState |
ToString() |
Returns string representation for PowerState |
Operators
Equality(PowerState, PowerState) |
Overriding == operator for enum PowerState |
Implicit(PowerState to String) |
Implicit operator to convert PowerState to string |
Implicit(String to PowerState) |
Implicit operator to convert string to PowerState |
Inequality(PowerState, PowerState) |
Overriding != operator for enum PowerState |