NatNetworkInDeviceRulesResource


List nat rules of a nat ip


Retrieve NAT rules of a NAT IP

GET https://example.com/api/cloud/locations/{location}/devices/{device}/natnetworks/{natnetwork}/ips/{ip}/rules

Roles : [ROLE_PHYS_DC_RETRIEVE_DETAILS, ROLE_VDC_ENUMERATE]

Parameter Type Default Value Description
startwith Integer 0 The first element to be retrieved of the filtered search
by String id Order by
has String If present filter to apply in the search.
limit Integer 25 The number of entities to retrieve
asc Boolean true If the value of the 'by' parameter must be sorted in ascending order (true) or descending order (false)
protocol String If present, filter by protocol
snat Boolean If true, only return SNAT rules; if false, only return DNAT rules

Accept : natrules

Example

Get a nat rule of a nat ip


GET https://example.com/api/cloud/locations/{location}/devices/{device}/natnetworks/{natnetwork}/ips/{ip}/rules/{rule}

Roles : [ROLE_PHYS_DC_RETRIEVE_DETAILS, ROLE_VDC_ENUMERATE]

Accept : natrule

Example