Service - VmTemplate

Class
VMware.Hv.VmTemplate
See also
DatacenterId, VirtualCenterId, VmTemplateInfo
Since
Horizon View 6.0


Service Description

The object for fetching VM templates from VirtualCenter.

Methods

Methods defined in this Service
VmTemplate_List, VmTemplate_ListByDatacenter

VmTemplate_List

Gets a list of all VM templates from VC suitable for full clone desktop creation. Requires at least one of the listed privileges.

Privileges

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

Parameters

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

unique identifier for vc entry

Return Value

Type Description
VmTemplateInfo[]Array of VmTemplateInfo

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



VmTemplate_ListByDatacenter

Gets a list of all VM templates from the given datacenter suitable for full clone desktop creation. Requires at least one of the listed privileges.

Privileges

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

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the VmTemplate used to make the method call.
datacenterDatacenterId

unique identifier for the data center

Return Value

Type Description
VmTemplateInfo[]Array of VmTemplateInfo

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