pub enum ResetType {
On,
ForceOff,
GracefulShutdown,
GracefulRestart,
ForceRestart,
Nmi,
ForceOn,
PushPowerButton,
PowerCycle,
Suspend,
Pause,
Resume,
}
Variants§
On
This value shall indicate the resource will transition to a power on state. Upon successful completion, the PowerState property, if supported, shall contain the value On
.
ForceOff
This value shall indicate the resource will transition to a power off state. The transition will start immediately. Upon successful completion, the PowerState property, if supported, shall contain the value Off
.
GracefulShutdown
This value shall indicate the resource will transition to a power off state. The transition will start after first performing tasks to safely shutdown the resource. For example, when shutting down a computer system, the hosted operating system is allowed to safely shutdown processes and close connections. Upon successful completion, the PowerState property, if supported, shall contain the value Off
.
GracefulRestart
This value shall indicate the resource will transition to a power on state, after transiting through a restart. The transition will start after first performing tasks to safely shutdown the resource. For example, when shutting down a computer system, the hosted operating system is allowed to safely shutting down processes and close connections. Upon successful completion, the PowerState property, if supported, shall contain the value On
.
ForceRestart
This value shall indicate the resource will transition to a power on state, after transiting through a restart. The transition will start immediately. Upon successful completion, the PowerState property, if supported, shall shall contain the value On
.
Nmi
This value shall indicate the resource will generate a diagnostic interrupt.
ForceOn
This value shall indicate the resource will transition to a power on state. The transition will start immediately. Upon successful completion, the PowerState property shall contain the value On
.
PushPowerButton
This value shall indicate the resource will behave as if the physical power button is pressed. The behavior of pressing the physical power button may be dependent on the state of the unit and the behavior may be configurable.
PowerCycle
This value shall indicate the resource will perform a power cycle. If currently in the power on state, the resource will transition to a power off state, then transition to a power on state. If currently in the power off state, the resource will transition to a power on state. Upon successful completion, the PowerState property, if supported, shall contain the value On
. Added in version v1_4_0.
Suspend
This value shall indicate the resource will have any state information written to persistent memory and then transition to a power off state. Upon successful completion, the PowerState property, if supported, shall contain the value Off
. Added in version v1_13_0.
Pause
This value shall indicate the resource will transition to a paused state. Upon successful completion, the PowerState property, if supported, shall contain the value Paused
. Added in version v1_13_0.
Resume
This value shall indicate the resource will transition to a power on state. Upon successful completion, the PowerState property, if supported, shall contain the value On
. Added in version v1_13_0.