Create Nat Rule

Create Nat Rule

Creates a NAT Rule on the Provider Gateway.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/nat/rules
COPY
Path Parameters
string
externalNetworkId
Required

externalNetworkId


Request Body
GatewayNatRule of type(s) application/json
Optional

Show optional properties

{
    "name": "string"
}
{
    "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"
    },
    "policyBasedVpnMode": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string"}' https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/nat/rules