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

Querying Enterprise Project Quotas

Function

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

URI

GET /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

enterprise_project_id

No

String

Definition

Enterprise project ID.

Constraints

N/A

Range

N/A

Default Value

  • This parameter is not transferred for users who have not enabled the enterprise multi-project service.
  • If this parameter is not transferred for a user who has enabled the enterprise multi-project service, the value is the default enterprise project.

offset

No

Integer

Definition

Index offset.

Constraints

N/A

Range

0–2,147,483,647

Default Value

0: The query starts from the first data record.

limit

No

Integer

Definition

Number of records returned by a query.

Constraints

N/A

Range

1–100

Default Value

100

Request Parameters

None

Response Parameters

Table 2 Parameter description

Parameter

Type

Description

eps_quotas

Array of objects

Definition

Enterprise project details.

For details, see Table 3.

total_count

Integer

Definition

Total number of records.

Range

N/A

Table 3 eps_quotas field data structure description

Parameter

Type

Description

enterprise_project_id

String

Definition

Enterprise project ID.

Range

N/A

enterprise_project_name

String

Definition

Enterprise project name.

Range

N/A

instance_eps_quota

Integer

Definition

EPS instance quota. The value -1 indicates that the quota is not limited.

Range

N/A

vcpus_eps_quota

Integer

Definition

EPS compute quota. The value -1 indicates that the quota is not limited.

Range

N/A

ram_eps_quota

Integer

Definition

EPS memory quota in GB. The value -1 indicates that the quota is not limited.

Range

N/A

volume_eps_quota

Integer

Definition

EPS storage quota in GB. The value -1 indicates that the quota is not limited.

Range

N/A

instance_used

Integer

Definition

Used EPS instance quota.

Range

N/A

vcpus_used

Integer

Definition

Used EPS compute quota.

Range

N/A

ram_used

Integer

Definition

Used EPS memory quota in GB.

Range

N/A

volume_used

Integer

Definition

Used EPS storage quota, in GB.

Range

N/A

Example Request

GET https://gaussdb-opengauss.ap-southeast-1.myhuaweicloud.com/v3/0611f1bd8b00d5d32f17c017f15b599f/enterprise-projects/quotas

Example Response

{ 
   "eps_quotas" : [ { 
     "enterprise_project_id" : "2c049d98-3347-494f-8767-99af6b3aa5f0", 
     "enterprise_project_name" : "default", 
     "instance_eps_quota" : 100, 
     "vcpus_eps_quota" : 1500, 
     "ram_eps_quota" : 20000, 
     "volume_eps_quota" : 100000, 
     "instance_used" : 33, 
     "vcpus_used" : 1460, 
     "ram_used" : 19680, 
     "volume_used" : 8840 
   }, { 
     "enterprise_project_id" : "2c049d98-3347-494f-8767-99af6b3aa5f0", 
     "enterprise_project_name" : "11111", 
     "instance_eps_quota" : -1, 
     "vcpus_eps_quota" : -1, 
     "ram_eps_quota" : -1, 
     "volume_eps_quota" : -1, 
     "instance_used" : 2, 
     "vcpus_used" : 54, 
     "ram_used" : 384, 
     "volume_used" : 680 
   }, { 
     "enterprise_project_id" : "bd91e1eb-2e33-4f17-a8d4-05eb2c805781", 
     "enterprise_project_name" : "quota_at_gaussdbv5_test", 
     "instance_eps_quota" : -1, 
     "vcpus_eps_quota" : -1, 
     "ram_eps_quota" : -1, 
     "volume_eps_quota" : -1, 
     "instance_used" : 1, 
     "vcpus_used" : 240, 
     "ram_used" : 1920, 
     "volume_used" : 480 
   } ], 
   "total_count" : 3 
 }

Status Codes

Error Codes

For details, see Error Codes.