Viewing Quotas
Function
This API is used to view the quota of the current project.
Request
Request parameters
None.
Example request
None.
Response
Response parameters
Table 2, Table 3, and Table 4 describe the response parameters.
| Parameter | Type | Description |
|---|---|---|
| quotas | JSON | Indicates the quotas of a tenant. |
| Parameter | Type | Description |
|---|---|---|
| resources | Array | Indicates the list of quotas. |
| Parameter | Type | Description |
|---|---|---|
| type | String | Indicates the name of a quota. |
| quota | Integer | Indicates the total quota. |
| used | Integer | Indicates the used quota. |
| min | Integer | Indicates the minimum value that a quota must reach. |
| max | Integer | Indicates the maximum value that a quota cannot exceed. |
Example response
{
"quotas" : {
"resources" : [{
"type" : "queue",
"quota" : 30,
"used" : 5,
"min" : 0,
"max" : 500
}
]
}
} Status Code
Table 5 lists the status code indicating that the operation is successful. For details about the status codes indicating that the operation fails, see Status Code.
Last Article: Acknowledging Consumption of Specified Messages
Next Article: Consuming Dead Letter Messages
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.