Apache CloudStack 4.23.0.0 Root Admin API Reference
listCapacity
Lists all the system wide capacities.
Request parameters
| Parameter Name | Description | Required |
| clusterid | Lists capacity by the Cluster ID | false |
| fetchlatest | Recalculate capacities and fetch the latest | false |
| keyword | List by keyword | false |
| page | false | |
| pagesize | false | |
| podid | Lists capacity by the Pod ID | false |
| sortby | Sort the results. Available values: Usage | false |
| tag | Tag for the resource type | false |
| type | Lists capacity by type* CAPACITY_TYPE_MEMORY = 0* CAPACITY_TYPE_CPU = 1* CAPACITY_TYPE_STORAGE = 2* CAPACITY_TYPE_STORAGE_ALLOCATED = 3* CAPACITY_TYPE_VIRTUAL_NETWORK_PUBLIC_IP = 4* CAPACITY_TYPE_PRIVATE_IP = 5* CAPACITY_TYPE_SECONDARY_STORAGE = 6* CAPACITY_TYPE_VLAN = 7* CAPACITY_TYPE_DIRECT_ATTACHED_PUBLIC_IP = 8* CAPACITY_TYPE_LOCAL_STORAGE = 9* CAPACITY_TYPE_GPU = 19* CAPACITY_TYPE_CPU_CORE = 90. | false |
| zoneid | Lists capacity by the Zone ID | false |
Response Tags
| Response Name | Description |
| capacityallocated | The capacity currently in allocated |
| capacitytotal | The total capacity available |
| capacityused | The capacity currently in use |
| clusterid | The Cluster ID |
| clustername | The Cluster name |
| name | The capacity name |
| percentused | The percentage of capacity currently in use |
| podid | The Pod ID |
| podname | The Pod name |
| tag | The tag for the capacity type |
| type | The capacity type |
| zoneid | The Zone ID |
| zonename | The Zone name |