Modifying Enterprise Project Quotas
Function
This API is used to modify enterprise project quotas.
Authorization Information
Each account has permissions to call all APIs, but IAM users must have the required permissions specifically assigned.
- If you are using role/policy-based authorization, see the required permissions in Permissions and Supported Actions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
gaussdbfornosql::updateEpsQuota
Write
-
-
nosql:quota:modify
-
URI
PUT /v3/{project_id}/enterprise-projects/quotas
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
quotas |
Yes |
objects |
Enterprise quotas to be modified. For details, see Table 4. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
enterprise_project_id |
Yes |
String |
Enterprise project ID |
|
quota |
Yes |
object |
Enterprise quotas to be modified. For details, see Table 5.
NOTE:
At least one of parameters instance, vcpus, and ram must be transferred. |
Response Parameters
Status code: 204
No response parameters
Example Request
- URI example
PUT https://gaussdb-nosql.ap-southeast-1.myhuaweicloud.com/v3/054e292c9880d4992f02c0196d3ea468/enterprise-projects/quotas
- Modifying quotas of an enterprise project (Set instance to 1000, vcpus to 500, and ram to 1024.)
{ "quotas" : [ { "enterprise_project_id" : "4d05638e-d4c6-477c-9b51-9620fa257a11", "quota" : { "instance" : 1000, "vcpus" : 500, "ram" : 1024 } }, { "enterprise_project_id" : "92450d0e-8c4b-48e1-9909-4d9d2f086ce4", "quota" : { "ram" : 512 } } ] }
Example Response
None
Status Codes
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