Querying Quotas

Function

This API is used to query network resource quotas of a tenant. The network resources include VPCs, subnets, security groups, security group rules, EIPs, and VPNs.

URI

GET /v1/{project_id}/quotas

Example:
GET https://{Endpoint}/v1/{project_id}/quotas?type={type}
Table 1 describes the parameters.
Table 1 Parameter description

Name

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

type

No

String

  • Specifies the resource type.
  • Values:
    • vpc
    • subnet
    • securityGroup
    • securityGroupRule
    • publicIp
    • vpn
    • vpngw
    • vpcPeer
    • loadbalancer
    • listener
    • physicalConnect
    • virtualInterface
    • firewall
    • shareBandwidthIP
    • shareBandwidth
    • address_group
    • flow_log
    • vpcContainRoutetable
    • routetableContainRoutes

Request Message

Response Message

Status Code

See Status Codes.

Error Code

See Error Codes.