Modifying Enterprise Project Quotas
Function
This API is used to modify enterprise project quotas. Before calling this API:
- Learn how to authenticate this API.
- Obtain the required region and endpoint.
URI
PUT /v3/{project_id}/enterprise-projects/quotas
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Definition Project ID of a tenant in a region. To obtain the value, see Obtaining a Project ID. Constraints N/A Range The value can contain 32 characters. Only letters and digits are allowed. Default Value N/A |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
eps_quotas |
Yes |
Array of objects |
Definition Enterprise quotas to be modified. For details, see Table 3. Constraints N/A |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
enterprise_projects_id |
Yes |
String |
Definition Enterprise project ID. Constraints N/A Range N/A Default Value N/A |
instance_quota |
No |
Integer |
Definition Instance quota. Constraints N/A Range number_of_created_instances–100,000 Default Value N/A |
vcpus_quota |
No |
Integer |
Definition CPU quota. Constraints N/A Range vCPUs_in_use–2,147,483,646 Default Value N/A |
ram_quota |
No |
Integer |
Definition Memory quota, in GB. Constraints N/A Range memory_in_use–2,147,483,646 Default Value N/A |
volume_quota |
No |
Integer |
Definition Storage quota, in GB. Constraints N/A Range storage_in_use–2,147,483,646 Default Value N/A |
Response Parameters
None
Example Request
PUT https://gaussdb-opengauss.ap-southeast-1.myhuaweicloud.com/v3/0483b6b16e954cb88930a360d2c4e663/enterprise-projects/quotas { "eps_quotas": [ { "enterprise_projects_id": "0", "instance_quota": 1000, "vcpus_quota": 100000, "ram_quota": 200000, "volume_quota": 1000000 } ] }
Example Response
None
Status Codes
- Normal
- Abnormal
For details, see Status Codes.
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