Service - VmTemplate
Java Class
com.omnissa.vdi.vlsi.binding.vdi.utils.virtualcenter.VmTemplate
See also
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
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
| Name | Type | Description | 
|---|---|---|
| _this | ManagedObjectReference | A reference to the VmTemplate used to make the method call. | 
| virtualCenter | VirtualCenterId | unique identifier for vc entry | 
Return Value
| Type | Description | 
|---|---|
| VmTemplateInfo[] | Array of VmTemplateInfo | 
Faults
| Type | Description | 
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. | 
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. | 
| InvalidArgument | Thrown if any specified argument is invalid. | 
| InvalidType | Thrown if the type of any specified argument is invalid. | 
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. | 
Show WSDL type definition
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
| Name | Type | Description | 
|---|---|---|
| _this | ManagedObjectReference | A reference to the VmTemplate used to make the method call. | 
| datacenter | DatacenterId | unique identifier for the data center | 
Return Value
| Type | Description | 
|---|---|
| VmTemplateInfo[] | Array of VmTemplateInfo | 
Faults
| Type | Description | 
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. | 
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. | 
| InvalidArgument | Thrown if any specified argument is invalid. | 
| InvalidType | Thrown if the type of any specified argument is invalid. | 
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. | 
Show WSDL type definition