NSX-T Data Center REST API
Create or update a VPC Subnet ip allocation
Create a VPC Subnet ip allocation if it does not exist based on the IDs, or update existing ip-allocationinformation by replacing the port object already exists.
Request:
Method:
PUT
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ip-pools/{ip-pool-id}/ip-allocations/{ip-allocation-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
IpAddressAllocation+
Example Request:
PUT https://<policy-mgr>/policy/api/v1/orgs/org-1/projects/project-1/vpcs/vpc1/subnets/subnet-1/ip-pools/pool-1/ip-allocations/ipallocation-1 { "allocation_ip": "10.0.0.5" }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
IpAddressAllocation+