Querying Resource Quotas
Function
This API is used to query resource quotas.
URI
GET /v1/{domain_id}/quotas
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
domain_id |
Yes |
String |
Account ID in the URI. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
quotas |
QuotaResources object |
Resource quota details. |
|
Parameter |
Type |
Description |
|---|---|---|
|
resources |
Array of QuotaDetail objects |
Resource quota list. |
Example Request
Querying resource quotas
GET https://{ies_endpoint}/v1/{domain_id}/quotas
Example Response
Status code: 200
successful operation
{
"quotas" : {
"resources" : [ {
"type" : "edge_site",
"quota" : 10,
"used" : 7
} ]
}
}
Status Code
|
Status Code |
Description |
|---|---|
|
200 |
successful operation |
Error Codes
For details, see Error Codes.
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