Get Policies
Returns information about a specific compute policy. 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 policy for which information should be retrieved. The parameter must be an identifier for the resource type: com.vmware.vcenter.compute.Policy.
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 specified compute policy. The returned value can be converted to the information type of the capability that this policy is based on. See Capabilities.Info.info-type. The result will contain all the attributes defined in Info.
Errors
com.vmware.vapi.std.errors.unauthorized : if the user doesn’t have the required privileges.
‘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