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 https://{Endpoint}/v3/{project_id}/enterprise-projects/quotas
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Explanation: Project ID of a tenant in a region. For details about how to obtain the project ID, see Obtaining a Project ID. Restrictions: None Value range: The value can contain 32 characters. Only letters and digits are allowed. Default value: None |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
eps_quotas |
Yes |
Array of objects |
Enterprise quotas to be modified. For details, see Table 3. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
enterprise_projects_id |
Yes |
String |
Enterprise project ID. |
instance_quota |
No |
Integer |
Instance quota. Value: Number of created instances - 100,000 |
vcpus_quota |
No |
Integer |
CPU quota. Value: Actually vCPUs - 2,147,483,646. |
ram_quota |
No |
Integer |
Memory quota, in GB. Value: Actually used memory - 2,147,483,646. |
volume_quota |
No |
Integer |
Storage quota, GB. Value: Actually used storage - 2,147,483,646. |
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 Code
- Normal
- Abnormal
For details, see Status Codes.
Error Code
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