Get Resource Pool Deprecated
Retrieves information about the resource pool indicated by resourcePool. if you do not have all of the privileges described as follows: - The resource ResourcePool referenced by the parameter resourcePool requires System.Read.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the resource pool for which information should be retrieved. The parameter must be an identifier for the resource type: ResourcePool.
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
Information about the resource pool.
{
"value": {
"cpu_allocation": {
"expandable_reservation": false,
"limit": 0,
"reservation": 0,
"shares": {
"level": "LOW",
"shares": 0
}
},
"memory_allocation": {
"expandable_reservation": false,
"limit": 0,
"reservation": 0,
"shares": {
"level": "LOW",
"shares": 0
}
},
"name": "string",
"resource_pools": [
"string"
]
}
}
Errors
com.vmware.vapi.std.errors.unauthorized : If the user doesn’t have the required privileges.
com.vmware.vapi.std.errors.not_found : If the resource pool indicated by resourcePool does not exist.
com.vmware.vapi.std.errors.service_unavailable : If the system is unable to communicate with a service to complete the request.
‘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-new-method: get
x-vmw-doc-new-path: /api/vcenter/resource-pool/{resource_pool}
x-vmw-doc-operation: get