This API is used to query tenant quotas.
Parameter |
Type |
Description |
|---|---|---|
quotas |
quota |
See the quota field description. |
Parameter |
Type |
Description |
|---|---|---|
resources |
List<resource_resp> |
Quota resources |
Parameter |
Type |
Description |
|---|---|---|
unit |
String |
Unit |
used |
Integer |
Used quota |
quota |
Integer |
Quota size |
type |
String |
Type backup_capacity specifies the backup storage capacity quota. Value -1 indicates no restriction on the quota size. backups specifies the number of retained backups. |
{
"quotas" : {
"resources" : [{
"type" : "backup_capacity",
"unit" : "GB",
"quota" : -1,
"used" : 0
},
{
"used": 0,
"type": "backups",
"quota": 600
}]
}
}
Status Code |
Description |
|---|---|
200 |
OK |
Status Code |
Description |
|---|---|
400 |
Invalid request parameters. |
401 |
Authentication failed. |
403 |
No operation permission. |
404 |
Requested object not found. |
500 |
Service internal error. |
503 |
Service unavailable. |
For details, see Error Codes.