Updated on 2025-09-23 GMT+08:00

Querying Quota

Function

This API is used to query GeminiDB resource quotas of a tenant.

URI

GET /v3/{project_id}/quotas

Table 1 URI parameter

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

Table 2 Request header parameter

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

Response Parameters

Status code: 200

Table 3 Response body parameter

Parameter

Type

Description

quotas

ShowResourcesListResponseBody object

Quota information.

Table 4 ShowResourcesListResponseBody

Parameter

Type

Description

resources

Array of ShowResourcesDetailResponseBody objects

All resources.

Table 5 ShowResourcesDetailResponseBody

Parameter

Type

Description

type

String

Quota resource type. Only the instance type is supported.

quota

Integer

Current quota.

If this parameter is set to 0, no quantity limit is set for resources.

used

Integer

Number of used resources.

Example Request

URI example
GET https://gaussdb-nosql.eu-west-101.myhuaweicloud.eu/v3/0549b4a43100d4f32f51c01c2fe4acdb/quotas

Example Response

Status code: 200

Success

{
  "quotas" : {
    "resources" : [ {
      "type" : "instance",
      "quota" : 200,
      "used" : 58
    } ]
  }
}

Status Codes

See Status Codes.

Error Codes

See Error Codes.