[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
Get VM Usages
DescriptiongetVmUsages
Request
URLURL
https://cloud.vmwarehorizon.com/admin/v2/providers/{label}/instances/{id}/vm-usages
Path Parameters
Path Parameters
string
id
Required
id
string
label
Required
label
Query Parameters
Query Parameters
string
org_id
Optional
Filter by orgId: non-super users can only query for their own orgIds
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK returns
ProviderInstanceVmUsagesTO
of type */*
Successfully retrieved capacity utilisation for a provider instance
{
"orgId": "0123456789",
"providerInstanceId": "0123456789",
"providerInstanceName": "MyProviderInstance",
"providerLabel": "AZURE",
"vmSkuOverallSummary": [
{
"familyName": "standardA0_A7Family",
"vmCoresUsage": {
"currentValue": 1000,
"limit": 2000
},
"vmSkus": [
{
"data": {},
"id": "string",
"infrastructureLinks": {},
"kind": "string"
}
]
}
]
}
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
Errors
Code Samples
Code Samples
cURL Command
curl https://cloud.vmwarehorizon.com/admin/v2/providers/{label}/instances/{id}/vm-usages
[{"label":"Latest (V1)","version":"latest"}]
horizon-cloud-nextgen
On This Page
Admin Operations
post
get
get
get
put
patch
patch
delete
patch
post
delete