List VM Templates
Lists all the VM templates from a vCenter or a datacenter for the given vCenter which may be suitable for full clone desktop pool creation.
Request
URI
GET
https://{api_host}//localhost/rest/external/v1/vm-templates
COPY
Query Parameters
string
datacenter_id
Optional
Datacenter ID
string
vcenter_id
Required
Virtual Center ID
Responses
200
OK
[
{
"datacenter_id": "datacenter-1",
"disk_size_in_bytes": 42949672960,
"id": "vm-1",
"incompatible_reasons": [
"string"
],
"memory_mb": 4096,
"name": "Win10Template",
"operating_system": "WINDOWS_10",
"operating_system_display_name": "Microsoft Windows 10 (64-bit)",
"path": "/Datacenter/vm/Templates/Win10Template",
"vcenter_id": "d0325b13-2bf1-4fa4-b027-e780004f2d1e",
"vgpu_type": "string"
}
]
401
User is not authenticated
Operation doesn't return any data structure
404
Not Found
Operation doesn't return any data structure
External Operations
POST
Change User Password
GET
Get AD User Or Group Info
GET
List AD Domains
GET
List AD User Or Group Summary
GET
List Base Snapshots
GET
List Base V Ms
GET
List Customization Specs
GET
List Datacenters
GET
List Datastore Paths
GET
Listdatastores
GET
List Hosts Or Clusters
GET
List Network Interface Cards
GET
List Network Labels
GET
List Resource Pools
GET
List Virtual Machines
GET
List VM Folders
GET
List VM Templates
POST
Validate AD User Encrypted Credentials