Queries the quota of endpoints that can be created in the reversely accessed VPC NAT gateway.

Usage notes

Before you call this operation, make sure that a VPC NAT gateway is created. For more information, see CreateNatGateway.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
ResourceUid Long No 132193271328****

The ID of the Alibaba Cloud account to which the resource belongs.

ClientToken String No 123e4567-e89b-12d3-a456-426655440000

The client token that is used to ensure the idempotence of the request.

You can use the client to generate the value, but you must make sure that it is unique among all requests. ClientToken can contain only ASCII characters.

Note If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each API request.
Action String Yes VpcDescribeVpcNatGatewayNetworkInterfaceQuota

The operation that you want to perform. Set the value to VpcDescribeVpcNatGatewayNetworkInterfaceQuota.

NatGatewayId String No ngw-bp1uewa15k4iy5770****

The ID of the VPC NAT gateway.

RegionId String No cn-hangzhou

The region ID of the VPC NAT gateway.

You can call the DescribeRegions operation to query the most recent region list.

Response parameters

Parameter Type Example Description
RequestId String 611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F

The ID of the request.

Quota Long 2

The number of endpoints that can be created.

Examples

Sample requests

http(s)://[Endpoint]/?ClientToken=123e4567-e89b-12d3-a456-426655440000
&Action=VpcDescribeVpcNatGatewayNetworkInterfaceQuota
&NatGatewayId=ngw-bp1uewa15k4iy5770****
&RegionId=cn-hangzhou
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse>
    <RequestId>611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F</RequestId>
    <Quota>2</Quota>
</VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
  "Quota" : 2
}

Error codes

For a list of error codes, see Service error codes.