Query NAT Gateway List
Describe
Queries the Natgateway list for the specified region. This interface supports paging queries, with a default number of 10 per page.
Request parameters
no
name |
type |
must |
describe |
action |
|
system specified parameters, values: Describenatgateways |
string |
is |
|
natgatewayid |
string |
no |
does not specify this parameter is not filtered. |
string |
> no |
filter class parameter, that is, return only the Natgateway within the specified VPC. The does not specify this parameter is not filtered. |
pagenumber |
integer The page number of the |
|
instance status list, the starting value is 1, and the default value is 1 | /tr>
integer |
The number of rows per page set when paging query, maximum 50 lines, default to ten |
return parameters
name |
type |
Description |
Natgateways |
Natgatewaysettype |
Natgateway List |
TotalCount |
Integer |
Number of list bar entries |
PageNumber |
Integer |
Current page number |
PageSize |
Integer |
How many entries are present in the paging |
Error code
Error code |
Description |
Http Status Code |
Semantics |
Invalidregionid.notfound |
Specified value of "RegionID" is not supported. |
60v |
The specified Region does not exist |
Example
Request sample
https://ecs.aliyuncs.com/? signatureversion=1.0&vpcid=vpc-11af8lp67&format=json×tamp=2016-05-23t03%3a27%3a14z& Regionid=cn-shanghai&accesskeyid=jzgi0oyrq6ihgkp9&signaturemethod=hmac-sha1&version=2014-05-26 &signature=jvxerso9g0fzdrtgbtnlepe%2f1e4%3d&action=describenatgateways&signaturenonce= 3e1424eb-2096-11e6-bc31-2cf0ee28adf2
Return sample
JSON format
{"Natgateways": {"Natgateway": [{"Bandwidthpackageids": {"Bandwidthpackageid": ["Bwp-11odxu2k7"]}, "Businessstatus ": Normal", "CreationTime": "2016-05-23t03:26:23z", "Description": "My I-NAT Gateway", "Forwardtableids": {"Forward TableId ": [" FTB-11TC6XGMV "]}," Instancechargetype ":" postpaid "," Name ":" MYNATGW "," Natgatewayid ":" Ngw-112za33e4 "," R Egionid ":" Cn-shanghai "," Spec ":" Small "," Status ":" Available "," Vpcid ":" Vpc-11af8lp67 "}]}," PageNumber ": 1," Pagesiz E ": Ten," RequestID ":" fe4c442c-9778-449a-bf7f-7f36c3af5611 "," TotalCount ": 1}
XML format
temporary;