Vcenter Compute Policies Capabilities list
Returns information about the compute policy capabilities available in this vCenter server.
This operation was added in vSphere API 7.0.3.0.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires
System.Read
.
Request
URI
GET
https://{api_host}/api/vcenter/compute/policies/capabilities
COPY
Responses
200
The list of compute policy capabilities available on this vCenter server.
[
{
"capability": "string",
"name": "string",
"description": "string"
}
]
403
if the user doesn't have the required privileges.
Returns
Vapi Std Errors Unauthorized
of type(s)
application/json
This response body class contains all of the following:
InlineVapi Std Errors Unauthorized0
"Vapi Std Errors Unauthorized Object"
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/vcenter/compute/policies/capabilities
Vcenter Compute Operations
GET
Vcenter Compute Policies Capabilities list
GET
Vcenter Compute Policies Capabilities get