NSX-T Data Center REST API
List NAT rules of the logical router (Deprecated)
Returns paginated list of all user defined NAT rules of the specificlogical router. If a rule_type is provided, only the given type of
rules will be returned. If no rule_type is specified, the rule_type
will be defaulted to NATv4, i.e. only the NATv4 rules will be listed.
Request:
Method:
GET
URI Path(s):
/api/v1/logical-routers/<logical-router-id>/nat/rules
Request Headers:
n/a
Query Parameters:
NatRuleTypeParameter+
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/logical-routers/1977d30c-eee2-11e4-874d-0050569c7004/nat/rules?rule_type=ALLSuccessful Response:
Response Code:
200 OK
Response Headers:
Location
Content-type: application/json
Content-type: application/json
Response Body:
NatRuleListResult+