DescribeNatGateways
1. API Description
This API is used to query the NAT gateway list.
2. Input Parameters
The following request parameter list only provides API request parameters.
regionId
No
String
Region ID.
vpcId
No
String
Filter by VPC network ID to which the NAT gateway belongs.
natGatewayIds
No
Array of String
NAT gateway ID list.
The maximum number of instance IDs is 100
.
name
No
String
NAT gateway name.
Add *
at the end to support fuzzy matching.
pageSize
No
Integer
Number of items in the current page result.
Default value: 20
;
Maximum value: 1000
.
pageNum
No
Integer
Page number of the current page result.
Default value: 1
.
3. Output Parameters
requestId
String
The unique request ID, which is returned for each request. RequestId is required to locate a problem.
totalCount
Integer
The total number of NAT gateways that meet the filtering conditions.
4. Code Example
Query the NAT gateway list.
5. Developer Resources
Zenlayer Cloud API 2.0 SDKs to make it easier for you to call APIs. More programming languages will be supported.
6. Error Codes
No error codes related to the API business logic. For other error codes, see Common Error Codes.
Last updated