Get Policies Capabilities
Returns information about a specific compute policy capability. if you do not have all of the privileges described as follows: - Operation execution requires System.Read.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the capability for which information should be retrieved. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
Detailed information about the capability.
{
"create_spec_type": "string",
"description": "string",
"info_type": "string",
"name": "string"
}
Identifier of the structure used to create a policy based on this capability. See Policies.create. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vapi.structure. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vapi.structure.
Description of the capability.
Identifier of the structure returned when retrieving information about a policy based on this capability. See Policies.get. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vapi.structure. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vapi.structure.
Name of the capability.
Errors
com.vmware.vapi.std.errors.unauthorized : if the user doesn’t have the required privileges.
com.vmware.vapi.std.errors.not_found : if a capability with this identifier does not exist.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
cURL Command
Vendor Extensions
x-vmw-doc-operation: get