Policy > Networking > Network Services > Load Balancing > Load Balancer Pools

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 available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
PATCH
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:

PATCH https://<policy-mgr>/policy/api/v1/infra/lb-pools/myPool { "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:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: