InlineNatRule1
{
"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"
}
IP Address | CIDR | (null implies Any)
translated_network
Ascending, valid range [0-2147483647]. If multiple rules have the same priority, evaluation sequence is undefined.
logging
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.
translated_ports
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.
logical_router_id
enabled
IP Address | CIDR | (null implies Any)