edit-icon download-icon

DescribeForwardTableEntries

Last Updated: Apr 12, 2018

Description

Query the list of DNAT entries in a DNAT table.

Request parameters

Name Type Required Description
Action String Yes

The action to perform.

Valid value: DescribeForwardTableEntries

RegionId String Yes

The region of the NAT gateway.

You can obtain the region ID by calling the DescribeRegions API.

ForwardTableId String Yes The ID of the DNAT table.
PageNumber Integer No The number of pages to return. The default value is 1.
PageSize Integer No The number of rows per page. The maximum value is 50 and the default value is 10.

Response parameters

Name Type Description
RequestId String The ID of the request.
ForwardTableEntries JSON string The list of queried DNAT entries.
TotalCount Integer The number of queried entries.
PageNumber Integer The current page number.
PageSize Integer The number of entries on the current page.

Error codes

See VPC API Error Center.

Examples

Request example

  1. https://vpc.aliyuncs.com/?&Action=DescribeForwardTableEntries
  2. &RegionId=cn-shanghai
  3. &ForwardTableId=ftb-11tc6xgmv
  4. &<CommonParameters>

Response example

JSON format

  1. {
  2. "PageNumber": 1,
  3. "TotalCount": 1,
  4. "PageSize": 10,
  5. "RequestId": "74F2BAD8-AF35-4C57-81F1-5E33BFB0F5F2",
  6. "ForwardTableEntries": {
  7. "ForwardTableEntry": [
  8. {
  9. "Status": "Available",
  10. "IpProtocol": "any",
  11. "ForwardEntryId": "fwd-bp18jpb1tlm550di3q5pb",
  12. "ExternalIp": "47.97.xx.xx",
  13. "ForwardTableId": "ftb-bp15o9aylj19vfvgtnzoy",
  14. "ExternalPort": "any",
  15. "InternalPort": "any",
  16. "InternalIp": "192.168.xx.xx"
  17. }
  18. ]
  19. }
  20. }
Thank you! We've received your feedback.