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

Get Shared Gallery Image Versions

Description

getSharedGalleryImageVersions

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/admin/v2/providers/azure/instances/{id}/galleries/images/versions
Copy

Path Parameters

Path Parameters

string
id Required

id


Query Parameters

Query Parameters

string
gallery_image_id Optional

Azure Shared image gallery image resource id


string
org_id Optional

Organization ID: non-super users can only access their own organization


string
page Optional

Page number to retrieve.


string
size Optional

Size of each page.


string
sort Optional

Ascending/Descending. Format is property,{asc|desc} and default is ascending.


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns PageInfrastructureResource of type */*

Successfully returned list of versions for image in shared image gallery

{
	"content": [
		{
			"data": {},
			"id": "string",
			"infrastructureLinks": {},
			"kind": "string"
		}
	],
	"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

401

Unauthorized


403

Forbidden


404

Provider instance not found

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/admin/v2/providers/azure/instances/{id}/galleries/images/versions


Feedback

Was this page helpful?