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

Get VM Usages

Description

getVmUsages

Request

Request

URL

URL


get
https://cloud.vmwarehorizon.com/admin/v2/providers/{label}/instances/{id}/vm-usages
Copy

Path Parameters

Path Parameters

string
id Required

id


string
label Required

label


Query Parameters

Query Parameters

string
org_id Optional

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


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns ProviderInstanceVmUsagesTO of type */*

Successfully retrieved capacity utilisation for a provider instance

{
    "orgId": "0123456789",
    "providerInstanceId": "0123456789",
    "providerInstanceName": "MyProviderInstance",
    "providerLabel": "AZURE"
}
string
orgId Optional

CSP org id


string
providerInstanceId Optional

Provider instance unique id


string
providerInstanceName Optional

Provider instance name


string
providerLabel Optional

Provider type the provider instance belong to


vmSkuOverallSummary Optional

Overall summary for capacity utilisation

Errors

Errors

ErrorResponse
401

Unauthorized


ErrorResponse
403

Forbidden


ErrorResponse
404

Not Found


ErrorResponse
423

Provider disabled


ErrorResponse
500

Unexpected internal server error

Code Samples

Code Samples

cURL Command

curl https://cloud.vmwarehorizon.com/admin/v2/providers/{label}/instances/{id}/vm-usages


Feedback

Was this page helpful?