Get Pvdc Compute Policy Vms
Get all VMs associated with this pVDC compute policy
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/pvdcComputePolicies/{pvdcComputePolicyId}/vms
COPY
Path Parameters
string
pvdcComputePolicyId
Required
ID of provider VDC Compute Policy
Query Parameters
string
sortAsc
Optional
Field to use for ascending sort
string
sortDesc
Optional
Field to use for descending sort
integer
page
Required
Constraints:
minimum: 1
default: 1
Page to fetch, zero offset.
integer
pageSize
Required
Constraints:
minimum: 0
maximum: 128
default: 25
Results per page to fetch.
Responses
200
OK
Returns
EntityReferences
of type(s)
application/json;version=39.1
This response body class contains all of the following:
InlineEntityReferences0 ,
InlineEntityReferences1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"name": "string",
"id": "string"
}
]
}
404
Not Found
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/pvdcComputePolicies/{pvdcComputePolicyId}/vms?page=value&pageSize=v
On This Page
Pvdc Compute Policies Operations
GET
Query Pvdc Compute Policies
POST
Create Pvdc Compute Policy
GET
Get Pvdc Compute Policy
PUT
Update Pvdc Compute Policy
DELETE
Delete Pvdc Compute Policy
GET
Get Pvdc Compute Policy Vms