Policy > Networking > Network Services > Advanced Load Balancing > Alb Pools

Create or update a ALBPool

If a ALBPool with the alb-Pool-id is not
already present, create a new ALBPool. If it already exists,
update the ALBPool. 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-pools/<alb-pool-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBPool+

Example Request:

{ "health_monitor_paths": [ "/infra/alb-health-monitors/httpMonitor" ], "lb_algorithm": "LB_ALGORITHM_LEAST_CONNECTIONS", "name": "testPool1", "servers": [ { "enabled": true, "ip": { "addr": "", "type": "V4" }, "prst_hdr_val": "", "ratio": 1, "resolve_server_by_dns": false, "rewrite_host_header": false, "static": false, "verify_network": false } ] }

Successful Response:

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

Example Response:

{ "_create_time": 1591052768272, "_create_user": "admin", "_last_modified_time": 1591052768338, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "capacity_estimation": false, "connection_ramp_duration": 10, "default_server_port": 80, "delete_server_on_dns_refresh": true, "display_name": "testPool1", "east_west": false, "enable": true, "enable_http2": false, "fewest_tasks_feedback_delay": 10, "graceful_disable_timeout": 1, "gslb_sp_enabled": false, "health_monitor_paths": [ "/infra/alb-health-monitors/httpMonitor" ], "host_check_enabled": false, "id": "testPool1", "ignore_server_port": false, "inline_health_monitor": true, "lb_algorithm": "LB_ALGORITHM_LEAST_CONNECTIONS", "lb_algorithm_core_nonaffinity": 2, "lb_algorithm_hash": "LB_ALGORITHM_CONSISTENT_HASH_SOURCE_IP_ADDRESS", "lookup_server_by_name": false, "marked_for_delete": false, "name": "testPool1", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-pools/testPool1", "relative_path": "testPool1", "request_queue_depth": 128, "request_queue_enabled": false, "resource_type": "Pool", "rewrite_host_header_to_server_name": false, "rewrite_host_header_to_sni": false, "server_auto_scale": false, "servers": [ { "enabled": true, "ip": { "addr": "", "type": "V4" }, "prst_hdr_val": "", "ratio": 1, "resolve_server_by_dns": false, "rewrite_host_header": false, "static": false, "verify_network": false } ], "sni_enabled": true, "unique_id": "f5b60cd9-186f-43ce-b2ef-969219484b1b", "use_service_port": true }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: