Policy > Networking > Network Services > Advanced Load Balancing > Alb Pool Groups

Create or update a ALBPoolGroup

If a ALBPoolGroup with the alb-PoolGroup-id is not
already present, create a new ALBPoolGroup. If it already exists,
update the ALBPoolGroup. This is a full replace.
This API is only available when using VMware NSX-T.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/alb-pool-groups/<alb-poolgroup-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBPoolGroup+

Example Request:

{ "cloud_name": "nsxt_cloud_overlay", "display_name": "nsx-poolgroup-1", "enable_http2": false, "fail_action": { "type": "FAIL_ACTION_CLOSE_CONN" }, "implicit_priority_labels": false, "members": [ { "pool_path": "/infra/alb-pools/test-alb-pool-11", "priority_label": "1", "ratio": 1 } ], "min_servers": 0 }

Successful Response:

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

Example Response:

{ "_create_time": 1598509393726, "_create_user": "admin", "_last_modified_time": 1598509393730, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "cloud_name": "nsxt_cloud_overlay", "display_name": "nsx-poolgroup-1", "enable_http2": false, "fail_action": { "type": "FAIL_ACTION_CLOSE_CONN" }, "id": "nsx-poolgroup-1", "implicit_priority_labels": false, "marked_for_delete": false, "members": [ { "pool_path": "/infra/alb-pools/test-alb-pool-11", "priority_label": "1", "ratio": 1 } ], "min_servers": 0, "overridden": false, "parent_path": "/infra", "path": "/infra/alb-pool-groups/nsx-poolgroup-1", "relative_path": "nsx-poolgroup-1", "resource_type": "ALBPoolGroup", "unique_id": "ffcdcd12-56ff-4154-aba1-be5203f84b89" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: