[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen

Get V Ms

Description

Get all custom virtual machines to use as an image source from a resource container in provider.

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/imagemgmt/v1/custom-vms
Copy

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: AZUREAKKAVSPHEREZEROCLOUD


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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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
}
array of VirtualMachineTO
content Optional

boolean
empty Optional

boolean
first Optional

boolean
last Optional

integer as int32
number Optional

integer as int32
numberOfElements Optional

pageable Optional

integer as int32
size Optional

sort Optional

integer as int64
totalElements Optional

integer as int32
totalPages Optional
Errors

Errors

ErrorResponse
400

Bad request


ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


ErrorResponse
500

Failed to retrieve custom vm image sources

Code Samples

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
Feedback

Was this page helpful?