Querying Quota
Function
This API is used to query evaluation project and migration project quota of a tenant.
URI
GET /v1/{project_id}/quotas
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID of a tenant in a region. For details about how to obtain the project ID, see Obtaining a Project ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
quotas |
Array of Table 4 objects |
Quota list. |
Example Request
GET https://{endpoint}/v1/0ac6eb2c8000d2ee2fd9c006dededbe6/quotas
Example Response
Status code: 200
Request succeeded.
{ "quotas" : [ { "quota" : 8, "used" : 3, "project_type" : "evaluation_project" }, { "quota" : 8, "used" : 1, "project_type" : "migration_project" } ] }
Status Codes
Status Code |
Description |
---|---|
200 |
Request succeeded. |
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