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

Get Image Sources

Description

Get all image sources.

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/imagemgmt/v1/image-sources
Copy

Query Parameters

Query Parameters

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

string
source_stream Required

source_stream

Possible values are: COPIED_FROM_VERSIONIMPORTED_VMSAZURE_MARKET_PLACEAKKA_MARKET_PLACEVSPHERE_CATALOGAZURE_SIGAKKA_SIGAZURE_CUSTOM_VMAKKA_CUSTOM_VMUPLOADED


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns PageSupportedImageRepresentation of type application/json

Successfully retrieved image sources

{
	"content": [
		{
			"displayName": "string",
			"id": "string",
			"imageProviderType": "string",
			"imageSourceData": {},
			"sourceType": "AKKA_CUSTOM_VM"
		}
	],
	"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
}
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 image sources

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/imagemgmt/v1/image-sources?provider_instance_id=string&provider_type=string&source_stream=string


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

Was this page helpful?