[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Get V Ms
DescriptionGet all custom virtual machines to use as an image source from a resource container in provider.
Request
URLURL
https://cloud.vmwarehorizon.com/imagemgmt/v1/custom-vms
Query Parameters
Query Parameters
string
container_id
Required
container_id
string
org_id
Optional
org_id
string
page
Optional
Page number to retrieve.
string
provider_instance_id
Required
provider_instance_id
string
provider_type
Required
provider_type
Possible values are: AZURE , AKKA , VSPHERE , ZEROCLOUD
string
size
Optional
Size of each page.
array of
string
sort
Optional
Ascending/Descending. Format is property,{asc|desc} and default is ascending.
Parameter Serialization Style:
form Explode:true
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
PageVirtualMachineTO
of type application/json
Successfully retrieved custom vm image sources
{
"content": [
{
"gpuType": "NVIDIA",
"tags": {
"key": "string"
},
"vmName": "CustomVM",
"vmSize": "Standard_D2S_V2"
}
],
"empty": false,
"first": false,
"last": false,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": false,
"sort": {
"empty": false,
"sorted": false,
"unsorted": false
},
"unpaged": false
},
"size": 0,
"sort": {
"empty": false,
"sorted": false,
"unsorted": false
},
"totalElements": 0,
"totalPages": 0
}
boolean
empty
Optional
boolean
first
Optional
boolean
last
Optional
integer as int32
number
Optional
integer as int32
numberOfElements
Optional
integer as int32
size
Optional
integer as int64
totalElements
Optional
integer as int32
totalPages
Optional
Errors
ErrorResponse
400
Bad request
ErrorResponse
401
Unauthorized
ErrorResponse
403
Forbidden
ErrorResponse
500
Failed to retrieve custom vm image sources
Code Samples
cURL Command
curl https://cloud.vmwarehorizon.com/imagemgmt/v1/custom-vms?container_id=string&provider_instance_id=string&provider_type=string
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
On This Page
Images Operations
post
get
get
get
post