Returns the object IDs for the next available (unused) blocks or networks within a configuration or block.
Output / Response
Returns consecutive matching IPv4 range object IDs. If the next available ranges do not exist and you have set the autoCreate property to true, new IPv4 ranges will be created and their object IDs will be returned.
API call:
APIEntity[] getNextAvailableIPRanges ( long
parentId, long size, String
type, int count, String
properties )
Parameter | Description |
---|---|
parentId | The object ID of the parent object under which the next available range resides (Configuration or Block). |
size | The size of the range, expressed as a power of 2. |
type | The type of the range object to be fetched. Currently only IPv4 network is supported. |
count | The number of networks to be found. Note: If the number of networks
count is greater than 1:
|
properties | The string containing the following properties and values:
Note: If a value is not provided for the following parameters:
reuseExisting and autoCreate, the default values will be as follows:
reuseExisting = false and autoCreate =
true.
|