OBCluster
list resource usages, the old router ending with /essential-parameters is deprecated
list resource usages of specific obcluster, such as cpu, memory, storage, etc. The old router ending with /essential-parameters is deprecated
get/api/v1/obclusters/{namespace}/{name}/resource-usages
Path parameters
namespacestring required
obcluster namespace
namestring required
obcluster name
Response
OK
Example response
{
"data": {
"minPoolMemory": 2147483648,
"obServerResources": [
{
"availableCPU": 12,
"availableDataDisk": 16106127360,
"availableLogDisk": 5368709120,
"availableMemory": 5368709120,
"obZone": "zone1",
"serverCount": 3
}
]
}
}Changes
Changed in 2 of the 28 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲