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

Get Copies

Description

Get all image copies by image id and version id.

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/imagemgmt/v1/images/{imageId}/versions/{versionId}/copies
Copy

Path Parameters

Path Parameters

string
imageId Required

imageId


string
versionId Required

versionId


Query Parameters

Query Parameters

string
org_id Optional

org_id


string
page Optional

Page number to retrieve.


string
provider_instance_id Optional

provider_instance_id


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 PageAssetTO of type application/json

Successfully retrieved image copies

{
	"content": [
		{
			"assetDetails": {
				"assetType": "AKKA_IMAGE_IN_RG",
				"data": {}
			},
			"createdAt": "string",
			"credentialId": "0123456789",
			"errorCode": "AZURE_FAILED_TO_ENABLE_RDS",
			"errorDetails": "string",
			"errorDetailsParameters": {
				"key": "string"
			},
			"gpuType": "AMD, NVIDIA",
			"id": "0123456789",
			"multiSession": false,
			"orgId": "0123456789",
			"osType": "WINDOWS, LINUX",
			"providerInstanceId": "0123456789",
			"providerLabel": "0123456789",
			"state": "PUBLISHED",
			"status": "GENERALIZING",
			"updatedAt": "string",
			"version": 0,
			"versionId": "0123456789",
			"warningDetails": "string",
			"warningDetailsParameters": {
				"key": "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
}
array of AssetTO
content Optional

Searchable fields are “providerInstanceId”, “orgId”


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

400

Bad request - unsupported provider type


401

Unauthorized


403

Forbidden


404

Copies are not found for versionId and imageId

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/imagemgmt/v1/images/{imageId}/versions/{versionId}/copies


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

Was this page helpful?