среда, 27 марта 2013 г.

Hyper-V. StateID. Коды состояний виртуальных машин.


Unknown
0
The state of the VM could not be determined.

Enabled
2
The VM is running.

Disabled
3
The VM is turned off.

Paused
32768
The VM is paused.

Suspended
32769
The VM is in a saved state.

Starting
32770
The VM is starting. This is a transitional state between 3 (Disabled) or 32769 (Suspended) and 2 (Enabled) initiated by a call to the RequestStateChange method with a RequestedState parameter of 2 (Enabled).

Snapshotting
32771
Starting with Windows Server 2008 R2 this value is not supported. If the VM is performing a snapshot operation, the element at index 1 of the OperationalStatus property array will contain 32768 (Creating Snapshot), 32769 (Applying Snapshot), or 32770 (Deleting Snapshot).
Windows Server 2008:
This value is supported and indicates the VM is performing a snapshot operation.

Saving
32773
The VM is saving its state. This is a transitional state between 2 (Enabled) and 32769 (Suspended) initiated by a call to the RequestStateChange method with a RequestedState parameter of 32769 (Suspended).

Stopping
32774
The VM is turning off. This is a transitional state between 2 (Enabled) and 3 (Disabled) initiated by a call to the RequestStateChange method with a RequestedState parameter of 3 (Disabled) or a guest operating system initiated power off.
Pausing

32776
The VM is pausing. This is a transitional state between 2 (Enabled) and 32768 (Paused) initiated by a call to the RequestStateChange method with a RequestedState parameter of 32768 (Paused).

Resuming
32777
The VM is resuming from a paused state. This is a transitional state between 32768 (Paused) and 2 (Enabled).

Комментариев нет:

Отправить комментарий