Get Nat Rules

Get Nat Rules

Retrieves all NAT Rules on the edge gateway. Pagination is supported to get the next page in the header response. Results can be sorted by only a single parameter. Sorting by combination of parameters (sortAsc=foo&sortDesc=bar) is not allowed. By default, if no sort parameter is set, the NAT rules are sorted by the priority, starting with the lowest value (highest priority).

Request
URI
GET
https://{api_host}/cloudapi/2.0.0/edgeGateways/{gatewayId}/nat/rules
COPY
Path Parameters
string
externalNetworkId
Required

externalNetworkId

string
externalNetworkId
Required

externalNetworkId

Query Parameters
string
cursor
Optional

Field used for getting next page of records. The value is supplied by the current result page. If not set, the first page is retrieved. If cursor is set, then all other pagination query parameters such as pageSize, sortDesc, sortAsc, queryFilter are ignored.

integer
pageSize
Required

Results per page to fetch.

string
sortAsc
Optional

Field to use for ascending sort

string
sortDesc
Optional

Field to use for descending sort


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns GatewayNatRules of type(s) application/json;version=38.1
This response body class contains all of the following: NetworkingObjectStatus , InlineGatewayNatRules1
{
    "values": [
        {
            "id": "string",
            "name": "string",
            "description": "string",
            "enabled": false,
            "active": false,
            "type": "string",
            "applicationPortProfile": {
                "name": "string",
                "id": "string"
            },
            "externalAddresses": "string",
            "internalAddresses": "string",
            "dnatExternalPort": "string",
            "logging": false,
            "systemRule": false,
            "snatDestinationAddresses": "string",
            "firewallMatch": "string",
            "priority": 0,
            "version": {
                "version": 0
            },
            "appliedTo": {
                "name": "string",
                "id": "string"
            }
        }
    ]
}