NSX-T Data Center REST API
Create or Replace IpAddressBlock
Create a new IpAddressBlock with given ID if it does not exist.If IpAddressBlock 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-blocks/<ip-block-id>
                  
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    IpAddressBlock+
  Example Request:
PUT https://<policy-mgr>/policy/api/v1/infra/ip-blocks/Finance-block { "display_name": "Finance-block", "description": "Finance-block", "cidr": "192.168.0.0/16", "_revision": 0 }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    IpAddressBlock+