本接口用于获取 NAT 网关的详情。
下表列出了接口特定的请求参数以及公共请求参数 Action 和 Version。 其他公共参数,请参见公共参数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | GetNatGateway | 公共参数。该参数表示接口名称。取值:GetNatGateway。 |
Version | String | 是 | 2021-04-30 | 公共参数。该参数表示接口版本。取值:2021-04-30。 |
natgw_identity | String | 是 | natgw-bhhc**** | NAT 网关的 ID。您可以调用 ListNatGateways 接口查询 NAT 网关的 ID。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
nat_gw | 请参见返回示例 | NAT 网关的详细信息。 |
GET https://veenedge.volcengineapi.com/?Action=GetNatGateway&Version=2021-04-30&natgw_identity=natgw-s9mqj5vz****
{
"ResponseMetadata": {
"RequestId": "202412302102338704769958EEED5****",
"Action": "GetNatGateway",
"Version": "2021-04-30",
"Service": "veenedge",
"Region": "cn-north-1"
},
"Result": {
"nat_gw": {
"account_identity": 210006****,
"user_identity": 210006****,
"natgw_identity": "natgw-s9mqj5vzj8****",
"natgw_name": "nat_dev01",
"status": "running",
"cluster": {
"cluster_name": "**ct03",
"country": "CN",
"region": "NorthChina",
"province": "TJ",
"city": "120000",
"isp": "CTCC",
"level": "2",
"alias": "**电信03"
},
"vpc": {
"vpc_identity": "vpc-bl7s5l****",
"vpc_name": "**-默认VPC"
},
"eip_list": [],
"bps_limit": "2000",
"billing_method": "HourUsed",
"connect_limit": "500000",
"new_connect_limit": "50000",
"project": "default",
"is_overdue": false,
"start_at": 1723108154,
"create_time": 1723108153,
"update_time": 1735563132
}
}
}