Help Center/ GaussDB/ API Reference/ APIs (Recommended)/ Quota Management/ Modifying Enterprise Project Quotas
Updated on 2025-08-11 GMT+08:00

Modifying Enterprise Project Quotas

Function

This API is used to modify enterprise project quotas. Before calling this API:

URI

PUT /v3/{project_id}/enterprise-projects/quotas

Table 1 Parameter description

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

Table 2 Parameter description

Parameter

Mandatory

Type

Description

eps_quotas

Yes

Array of objects

Definition

Enterprise quotas to be modified.

For details, see Table 3.

Constraints

N/A

Table 3 EpsQuotasOption parameter description

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

Configuring quotas for an enterprise project (1,000 instances, 100,000 vCPUs, 200,000 GB of memory, and 1,000,000 GB of storage)
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

Error Codes

For details, see Error Codes.