InlineNatRule1

InlineNatRule1
InlineNatRule1
JSON Example
{
    "match_destination_network": "string",
    "translated_network": "string",
    "rule_priority": 0,
    "logging": false,
    "match_service": {
        "resource_type": "string"
    },
    "translated_ports": "string",
    "action": "string",
    "logical_router_id": "string",
    "enabled": false,
    "match_source_network": "string"
}
string
match_destination_network
Optional

IP Address | CIDR | (null implies Any)

string
translated_network
Optional

translated_network

integer As int64 As int64
rule_priority
Optional

Ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.

boolean
logging
Optional

logging

object
match_service
Optional

A NSServiceElement that specifies the matching services of source ports, destination ports, ip protocol version and number, sub protocol version and number, ICMP type and code, etc.

string
translated_ports
Optional

translated_ports

string
action
Required

valid actions: SNAT, DNAT, NO_NAT, REFLEXIVE. All rules in a logical router are either stateless or stateful. Mix is not supported. SNAT and DNAT are stateful, can NOT be supported when the logical router is running at active-active HA mode; REFLEXIVE is stateless. NO_NAT has no translated_fields, only match fields.

Possible values are : SNAT, DNAT, NO_NAT, REFLEXIVE,
string
logical_router_id
Optional

logical_router_id

boolean
enabled
Optional

enabled

string
match_source_network
Optional

IP Address | CIDR | (null implies Any)

Used By