查詢已建立的使用者網關的詳細資料。
請求參數
名稱 | 類型 | 是否必須 | 描述 |
---|---|---|---|
Action | String | 是 | 要執行的操作。 取值: DescribeCustomerGateway |
RegionId | String | 是 | 使用者網關所在的地域。 您可以通過調用 DescribeRegions介面獲取地域ID。 |
CustomerGatewayId | String | 是 | 使用者網關的ID。 |
返回參數
名稱 | 類型 | 描述 |
---|---|---|
CustomerGatewayId | String | 使用者網關的ID。 |
Name | String | 使用者網關的名稱。 |
Description | String | 使用者網關的描述資訊。 |
IpAddress | String | 使用者網關的IP地址。 |
CreateTime | Long | 使用者網關的建立時間。 |
樣本
請求樣本
https://vpc.aliyuncs.com/?Action=DescribeCustomerGateway
&RegionId=cn-beijing
&CustomerGatewayId=cgw-bp1pvpl9r9adju6l5nxck
&公共請求參數
返回樣本
-
XML格式
<?xml version="1.0" encoding="UTF-8"?> <DescribeCustomerGatewayResponse> <Name>test</Name> <CustomerGatewayId>cgw-bp1pvpl9r9adju6l5nxck</CustomerGatewayId> <CreateTime>1492747187000</CreateTime> <RequestId>99506ECB-218F-45A5-AE8E-79518451F615</RequestId> <IpAddress>139.196.32.167</IpAddress> </DescribeCustomerGatewayResponse>
-
JSON格式
{ "CustomerGatewayId": "cgw-bp1pvpl9r9adju6l5nxck", "Name": "test", "RequestId": "A0457BC9-6C0F-4437-AB9D-FB2EABC1D6A2", "CreateTime": 1492747187000, "IpAddress": "139.196.32.167" }