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

Create a new IP Subnet

Creates a new IpAddressPoolSubnet with the specified ID if it does not
already exist. If a IpAddressPoolSubnet of the given ID already exists,
IpAddressPoolSubnet will be updated. This is a full replace.

Request:

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

Example Request:

PUT https://<policy-mgr>/policy/api/v1/infra/ip-pools/IpPool-Tenant-1/ip-subnets/Subnet-1 { "display_name": "Subnet-1", "description": "Subnet-1 Description", "resource_type": "IpAddressPoolBlockSubnet", "size": "16", "ip_block_path":"/infra/ip-blocks/Finance-block" }

Successful Response:

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

Example Response:

{ "resource_type": "IpAddressPoolBlockSubnet", "id": "Subnet-1", "display_name": "Subnet-1", "path": "/infra/ip-pools/IpPool-Tenant-1/ip-subnets/Subnet-1", "parent_path": "/infra/ip-pools/IpPool-Tenant-1", "relative_path": "Subnet-1", "size": "16", "ip_block_path":"/infra/ip-blocks/Finance-block" "_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: