Service - VirtualMachine

Class
VMware.Hv.VirtualMachine
See also
VirtualCenterId, VirtualMachineInfo
Since
Horizon View 6.0


Service Description

The object for fetching VirtualMachines from VirtualCenter for manual desktop creation

Methods

Methods defined in this Service
VirtualMachine_List

VirtualMachine_List

Gets a list of VMs from VC for manual managed desktop creation. Requires at least one of the listed privileges.

Privileges

Privilege Description
GLOBAL_CONFIG_VIEW privilege is required to get the list of VirtualMachineInfo.
VC_CONFIG_VIEW privilege is required to get the list of VirtualMachineInfo.

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VirtualMachine used to make the method call.
virtualCenterVirtualCenterId

unique identifier for vc entry

Return Value

Type Description
VirtualMachineInfo[]Array of VirtualMachineInfo

Faults

Type Description
EntityNotFoundThrown if any specified entity cannot be found.
InsufficientPermissionThrown if the user does not have sufficient permission to perform the operation.
InvalidArgumentThrown if any specified argument is invalid.
InvalidTypeThrown if the type of any specified argument is invalid.
UnexpectedFaultThrown if an unexpected error occurs while performing the operation.

Show WSDL type definition