Fault - InvalidPowerState(vim.fault.InvalidPowerState)

Thrown by
AcquireCredentialsInGuest, AddGuestAlias, ChangeFileAttributesInGuest, CheckMigrate_Task, CloneVApp_Task, CreateRegistryKeyInGuest, CreateScreenshot_Task, CreateSnapshot_Task, CreateSnapshotEx_Task, CreateTemporaryDirectoryInGuest, CreateTemporaryFileInGuest, DefragmentAllDisks, DeleteDirectoryInGuest, DeleteFileInGuest, DeleteRegistryKeyInGuest, DeleteRegistryValueInGuest, ExportVApp, ExportVm, InitiateFileTransferFromGuest, InitiateFileTransferToGuest, ListFilesInGuest, ListGuestAliases, ListGuestMappedAliases, ListProcessesInGuest, ListRegistryKeysInGuest, ListRegistryValuesInGuest, MakeDirectoryInGuest, MarkAsTemplate, MigrateVM_Task, MoveDirectoryInGuest, MoveFileInGuest, PowerOffVApp_Task, PowerOffVM_Task, PowerOnVApp_Task, PowerOnVM_Task, PromoteDisks_Task, ReadEnvironmentVariableInGuest, RebootGuest, ReconfigVM_Task, ReleaseCredentialsInGuest, reloadVirtualMachineFromPath_Task, RemoveAllSnapshots_Task, RemoveGuestAlias, RemoveGuestAliasByCert, RenameSnapshot, ResetVM_Task, RevertToCurrentSnapshot_Task, RevertToSnapshot_Task, SetDisplayTopology, SetRegistryValueInGuest, SetScreenResolution, ShutdownGuest, StandbyGuest, StartProgramInGuest, StartRecording_Task, StartReplaying_Task, StopRecording_Task, StopReplaying_Task, SuspendVApp_Task, SuspendVM_Task, TerminateProcessInGuest, unregisterVApp_Task, UnregisterVM, UpdateVAppConfig, UpgradeVM_Task, ValidateCredentialsInGuest, ValidateMigration
Extends
InvalidState
See also
VirtualMachinePowerState

Fault Description

This exception is thrown if the power operation attempted could not be performed given the current power state of the virtual machine.

Properties

Name Type Description
existingStateVirtualMachinePowerState

Power state of the virtual machine that prevented the operation from succeeding.
requestedState*VirtualMachinePowerState

Power state of the virtual machine required to allow the operation to succeed.
Properties inherited from InvalidState
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage
*May not be present
Show WSDL type definition