ListQuotas
Lists quotas.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pai:ListQuotas |
list |
*All Resource
|
None | None |
Request syntax
GET /api/v1/quotas/ HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| QuotaName |
string |
No |
Filters the results by quota name. Fuzzy matching is supported. |
quotajradxh43rgb |
| ResourceType |
string |
No |
The resource type. Valid values are Lingjun, ECS, and ACS. The default value is ECS. |
ECS |
| LayoutMode |
string |
No |
The layout mode. Valid values: Tree and List. |
Tree |
| ParentQuotaId |
string |
No |
Filters the results by parent quota ID:
|
quotajradxh43rgb |
| QuotaIds |
string |
No |
A comma-separated list of up to 100 quota IDs to filter the results. Only exact matching is supported. |
quota1ci8g793pgm,quotajradxh43rgb |
| WorkspaceIds |
string |
No |
A comma-separated list of up to 10 workspace IDs to filter the results. Only exact matching is supported. |
21345,38727 |
| Statuses |
string |
No |
A comma-separated list of quota statuses to filter the results. Only exact matching is supported. |
Creating |
| PageNumber |
integer |
No |
The page number of the results to return. The minimum value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. The minimum value is 1. |
20 |
| SortBy |
string |
No |
The field to sort the results by. Valid values:
|
status |
| Order |
string |
No |
The sort order. Valid values are desc and asc. |
desc |
| Labels |
string |
No |
Filters the results by labels. Specify labels as key=value pairs, separated by commas (,). |
official=true,gpu=false |
| Verbose |
boolean |
No |
Specifies whether to return detailed information. Valid values:
|
true |
| WorkspaceName |
string |
No |
The name of the associated workspace. |
myshellprod |
| HasResource |
string |
No |
||
| Versions |
string |
No |
Filters the results by version. |
1.0 |
| ClusterType |
string |
No |
Filters the results by cluster type. |
RayCluster |
| GPUType |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
F082BD0D-21E1-5F9B-81A0-AB07485B03CD |
| Quotas |
array |
The list of quotas. |
|
| Quota |
The details of a quota. |
||
| TotalCount |
integer |
The total number of entries that match the request. |
23 |
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.