Querying Quotas
Function
This API is used to query resource quotas, for example, how many connections and virtual interfaces have been created.
Debugging
For details, see Calling APIs.
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 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 | Specifies the used resource quotas. |
Example Requests
Querying quotas
GET https://{dc_endpoint}/v3/08d5a9564a704afda6039ae2babbef3c/dcaas/quotas Example Responses
Status code: 201
Quotas are queried.
{
"quotas" : {
"resources" : [ {
"type" : "direct_connect",
"quota" : 1,
"used" : 0,
"unit" : "count"
} ]
}
} Status Code
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.

