NSX-T Data Center REST API
Create or update a LBPool
If a LBPool with the lb-pool-id is not already present,create a new LBPool. If it already exists, update the
LBPool. This is a full replace.
This API is deprecated for the NSX-T Load Balancer, but not for the NSX-T Distributed Load Balancer.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.
Request:
Method:
              PUT
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/lb-pools/<lb-pool-id>
                  
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    LBPool+
  Example Request:
PUT https://<policy-mgr>/policy/api/v1/infra/lb-pools/testPool1 { "active_monitor_paths":[ "/infra/lb-monitor-profiles/default-http-lb-monitor"], "snat_translation": { "type": "LBSnatAutoMap" }, "member_group":{ "group_path":"/infra/domains/testDom/groups/testGroup", "port":80 } }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    LBPool+
  