Querying the Quota

Function

This API is used to query the quota of your resources, including VPC endpoint services and VPC endpoints.

URI

GET /v1/{project_id}/quotas?type={resource_type}

Table 1 describes the parameter in this URI.
Table 1 URI parameter

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

Table 2 Query parameter

Parameter

Mandatory

Type

Description

type

No

String

Specifies the resource type.

  • endpoint_service: indicates the VPC endpoint service.
  • endpoint: indicates the VPC endpoint.

Request

Response

Status Codes

See Status Codes.