PowerState.fromInstanceView(VirtualMachineInstanceView virtualMachineInstanceView) Method

Definition

Creates an instance of PowerState from the virtual machine instance view status entry corresponding to the power state.

public static PowerState fromInstanceView(VirtualMachineInstanceView virtualMachineInstanceView)

Parameters

virtualMachineInstanceView
VirtualMachineInstanceView

the virtual machine instance view

Returns

the PowerState

Applies to