Query Vdc Compute Policy Access Control Grants
Get the access-control list for the specified vdc compute policy.
Request
URI
GET
https://{api_host}/cloudapi/2.0.0/vdcComputePolicies/{vdcComputePolicyId}/accessControls
COPY
Path Parameters
string
vdcComputePolicyId
Required
id of the vdc compute policy
Query Parameters
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
AccessControlGrants
of type(s)
application/json;version=39.1
This response body class contains all of the following:
InlineAccessControlGrants0 ,
InlineAccessControlGrants1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"id": "string",
"tenant": {
"name": "string",
"id": "string"
},
"grantType": "string",
"objectId": "string",
"accessLevelId": "urn:vcloud:accessLevel:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
]
}
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/2.0.0/vdcComputePolicies/{vdcComputePolicyId}/accessControls?page=value&pageSize=v
Availability
Added in 39.0
On This Page
Vdc Compute Policies2 Operations
GET
Query Vdc Compute Policies
POST
Create Vdc Compute Policy
GET
Get Vdc Compute Policy
PUT
Update Vdc Compute Policy
DELETE
Delete Vdc Compute Policy
GET
Get Vdc Compute Policy Metrics
GET
Get Vdc Compute Policy Vdcs
POST
Add Vdc Compute Policy To Vdcs
GET
Query Virtual Machine Classes
GET
Query Vdc Compute Policy Access Control Grants
POST
Create Vdc Compute Policy Access Control Grant
PUT
Update Vdc Compute Policy Access Control Grant
GET
Get Access Control Grant
PUT
Update Access Control Grant
DELETE
Remove Access Control Grant