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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot