NatNetworksInDeviceResource


List nat networks in a device


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

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
limit Integer 25 The number of entities to retrieve
has String If present, filter by CIDR, NAME
by String Order by : {@link NatNetworkDAO.ORDER_BY}
asc boolean true If the value of the 'by' parameter must be sorted in ascending order (true) or descending order (false)
canpurchase Boolean If true, only returns NAT networks with available NAT IPs

Accept : natnetworks

Example

Get a nat network in a device


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

Roles : [ROLE_PHYS_DC_RETRIEVE_DETAILS, ROLE_VDC_ENUMERATE]

Accept : natnetwork

Example