你当前正在访问 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.
public readonly struct PowerState : IEquatable<Azure.Developer.DevCenter.Models.PowerState>
type PowerState = struct
Public Structure PowerState
Implements IEquatable(Of PowerState)
- Inheritance
-
PowerState
- Implements
Constructors
PowerState(String) |
Initializes a new instance of PowerState. |
Properties
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
Equals(PowerState) |
Indicates whether the current object is equal to another object of the same type. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(PowerState, PowerState) |
Determines if two PowerState values are the same. |
Implicit(String to PowerState) |
Converts a string to a PowerState. |
Inequality(PowerState, PowerState) |
Determines if two PowerState values are not the same. |