Skip to main content

DescribeVpnGateway

Description

call the DescribeVpnGateway interface to query the details of the specified VPN gateway.

Request Method

POST

Request Path

/apsara/route/Vpc/DescribeVpnGateway

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
VpnGatewayIdBODYstringYesvpn-bp1q8bgx4xnkm2ogj****VPN gateway ID.
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYescn-qingdao-env66-d01the region ID where the VPN gateway is located. you can obtain the region by calling DescribeRegions interface ID.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}