Policy > Networking > IP Management > IP Address Pools > IP Pools

Create or Replace IpAddressPool

Create a new IpAddressPool with given ID if it does not exist.
If IpAddressPool with given ID already exists, it will update existing instance.
This is a full replace.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/ip-pools/<ip-pool-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IpAddressPool+

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/ip-pools/IpPool-Tenant-1 { "display_name": "IPBlock-Tenant-1", "description": "IPBlock-Tenant-1 Description", "_revision": 0 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IpAddressPool+

Example Response:

{ "resource_type": "IpAddressPool", "id": "IpPool-Tenant-1", "display_name": "IpPool-Tenant-1", "path": "/infra/ip-pools/IpPool-Tenant-1", "parent_path": "/infra", "relative_path": "IpPool-Tenant-1", "_create_user": "admin", "_create_time": 1516387911610, "_last_modified_user": "admin", "_last_modified_time": 1516387911610, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_ipam

Additional Errors: