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"
}
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
Availability
Added in 38.1
On This Page
Provider Gateway Nat Rules Operations
GET
Get Nat Rules
POST
Create Nat Rule
GET
Get Nat Rule
PUT
Update Nat Rule
DELETE
Delete Nat Rule
GET
Get Nat Logs