Get All Resource Pools
Get a list of all resource pools in the specified vCenter.
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/virtualCenters/{vcUrn}/resourcePools/browseAll
COPY
Path Parameters
string
vcUrn
Required
vcUrn
Query Parameters
string
filter
Optional
Filter for a query. FIQL format.
string
sortAsc
Optional
Field to use for ascending sort
string
sortDesc
Optional
Field to use for descending sort
integer
page
Required
Page to fetch, zero offset.
integer
pageSize
Required
Results per page to fetch.
Responses
200
Returns ResourcePools of type(s) application/json;version=37.0
This response body class contains all of the following: Page , InlineResourcePools1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"moref": "string",
"clusterMoref": "string",
"name": "string",
"vcId": "string",
"eligible": false,
"kubernetesEnabled": false,
"vgpuEnabled": false
}
]
}
400
Invalid configuration.
Returns Error of type(s) application/json;version=37.0
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
404
The specified resource was not found
Returns Error of type(s) application/json;version=37.0
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 36.2
On This Page
Virtual Center Operations
POST
Attach Virtual Center
DELETE
Delete Virtual Center
GET
Get All Resource Pools
GET
Get Child Resource Pools
GET
Get Nsx V Manager Settings
GET
Get Resource Pool Kubernetes Config
GET
Get Root Resource Pools
GET
Get Storage Profiles
GET
Get Supported Hardware Versions
GET
Get Unmanaged Virtual Machines
GET
Get Vc Storage Policy Capabilities
GET
Get Virtual Center
GET
Get Virtual Center Metrics
GET
Query Virtual Centers
GET
Query Virtual Machine Classes
GET
Retrieve Vsphere Vmca
PUT
Update Nsx V Manager Settings
PUT
Update Virtual Center