Query Virtual Machine Classes
Get a list of Virtual Machine Classes associated with this policy. Returns 400 if policy type is anything but VdcKubernetesPolicy.
Request
URI
GET
https://{api_host}/cloudapi/2.0.0/vdcComputePolicies/{vdcComputePolicyId}/virtualMachineClasses
COPY
Path Parameters
string
vcUrn
Required
vcUrn
string
moref
Required
moref
Query Parameters
string
filter
Optional
Filter for a query. FIQL format.
string
sortAsc
Optional
Field to use for ascending sort
string
sortDesc
Optional
Field to use for descending sort
integer
page
Required
Page to fetch, zero offset.
integer
pageSize
Required
Results per page to fetch.
Responses
200
OK
Returns VirtualMachineClasses of type(s) application/json;version=39.0
This response body class contains all of the following: Page , InlineVirtualMachineClasses1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"name": "string",
"cpuReservationRequestedMHz": 0,
"memoryReservationRequestedMB": 0,
"cpuCount": 0,
"memoryMB": 0,
"isFullyReserved": false
}
]
}
400
Invalid configuration.
Returns Error of type(s) application/json;version=39.0
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 35.0
On This Page
Vdc Compute Policies2 Operations
POST
Add Vdc Compute Policy To Vdcs
POST
Create Vdc Compute Policy
POST
Create Vdc Compute Policy Access Control Grant
DELETE
Delete Vdc Compute Policy
GET
Get Access Control Grant
GET
Get Vdc Compute Policy
GET
Get Vdc Compute Policy Metrics
GET
Get Vdc Compute Policy Vdcs
GET
Query Vdc Compute Policies
GET
Query Vdc Compute Policy Access Control Grants
GET
Query Virtual Machine Classes
DELETE
Remove Access Control Grant
PUT
Update Access Control Grant
PUT
Update Vdc Compute Policy
PUT
Update Vdc Compute Policy Access Control Grant