Parameters
| Parameter | Description |
|---|---|
| Comment | The exact comment of the network to search by. |
| Comment Regular Expression | An unanchored regular expression to match network comments against. |
| Contains Address | An IPv4 address to find the smallest network that contains it. |
| Max Results | The maximum number of records to return. Valid range is 1 - 1000 records. |
| Network | The exact network address to search for, in IPv4 Address/CIDR format.For example: 10.1.0.0/16. |
| Network Regular Expression | An unanchored regular expression to match network addresses against. |
| Network View | The name of the network view to search in. |
| Return All Pages | Automatically fetch all resources, page by page. |
| Return Fields | A comma-separated list of fields to return. When not specified, only the basic fields of the object are returned. |
Example Output
[
{
"_ref": "network/ZG5zLm5ldHdvcmsxOTIuMC4yLjAvMjQvMA:192.0.2.0/24/default",
"comment": "Mock LAN",
"disable": false,
"extattrs": {
"Building": {
"value": "BLDG-01"
},
"Description": {
"value": "Mock Data"
},
"Site": {
"value": "ExampleSite"
},
"VLAN": {
"value": "100"
}
},
"network": "192.0.2.0/24",
"network_view": "default"
}
]