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:

{ "application_persistence_profile_path": "/infra/alb-application-persistence-profiles/persistent_profile_https_ssl_pass_through_enable_src_ip", "cloud_name": "nsxt_cloud_overlay", "display_name": "https_pool_1", "health_monitor_paths": [ "/infra/alb-health-monitors/https_monitor_1" ], "lb_algorithm": "LB_ALGORITHM_LEAST_CONNECTIONS", "max_concurrent_connections_per_server": 100, "resource_type": "ALBPool", "servers": [ { "enabled": true, "hostname": "member1", "ip": { "addr": "192.168.100.10", "type": "V4" }, "port": 443, "ratio": 1 } ], "tier1_path": "/infra/tier-1s/London_Tier1Gateway1" }

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, "cloud_name": "nsxt_cloud_overlay", "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, "tier1_path": "/infra/tier-1s/London_Tier1Gateway1", "unique_id": "f5b60cd9-186f-43ce-b2ef-969219484b1b", "use_service_port": true }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: