Skip to main content

DescribeForwardTableEntries

Description

call the DescribeForwardTableEntries interface to query the created DNAT entry.

Request Method

POST

Request Path

/apsara/route/Vpc/DescribeForwardTableEntries

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
ExternalPortBODYstringNo8080public network port. Value range:1~65535.
PageSizeBODYintegerNo10The number of rows per page during paging query, the maximum value is 50, the default value is 10.
versionBODYstringNo2016-01-01version of api
ForwardTableIdBODYstringYesftb-bp1mbjubq34hlcqpa****DNAT list ID.
ExternalIpBODYstringNo116.XX.XX.28public IP address.
ForwardEntryIdBODYstringNofwd-8vbn3bc8roygjp0gy****DNAT entry ID assigned by the system.
PageNumberBODYintegerNo1page number of the list, the default value is 1.
regionIdBODYstringYesNo sample value for this parameter.region id
IpProtocolBODYstringNoTCPprotocol type. Value: TCP: Forwarding TCP protocol messages. UDP: Forwarding UDP protocol messages. Any: forward messages of all protocols.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID where the NAT gateway is located. You can obtain the region ID by calling the DescribeRegions interface.
InternalPortBODYstringNo80target private network port. Value range:1~65535.
ForwardEntryNameBODYstringNoForwardEntry-1DNAT rule name. The length is 2-128 characters and must start with a letter or Chinese, but cannot be http:// or https:// start.
InternalIpBODYstringNo192.XX.XX. 1target private network IP.

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
}

}