Querying Resource Quotas
Function
This API is used to query the usage of resources, for example, how many connections and virtual interfaces have been created.
URI
GET /v3/{project_id}/dcaas/quotas
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Specifies the project ID. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
type |
No |
Array |
Specifies the resource quotas.
|
Request Parameters
None
Response Parameters
Status code: 201
Parameter |
Type |
Description |
---|---|---|
quotas |
quotas object |
Provides used quota details. |
Parameter |
Type |
Description |
---|---|---|
resources |
Array of Info objects |
Lists the used quotas of resources. |
Example Requests
Querying quotas
GET https://{dc_endpoint}/v3/08d5a9564a704afda6039ae2babbef3c/dcaas/quotas
Example Responses
Status code: 201
Quotas are queried.
{ "quotas" : { "resources" : [ { "type" : "direct_connnect", "quota" : 1, "used" : 0, "unit" : "count" } ] } }
Status Codes
Status Code |
Description |
---|---|
201 |
Quotas are queried. |
Error Codes
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