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

Create or update a ALBVirtualService

If a ALBVirtualService with the alb-VirtualService-id is not
already present, create a new ALBVirtualService. If it already exists,
update the ALBVirtualService. 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-virtual-services/<alb-virtualservice-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBVirtualService+

Example Request:

{ "application_profile_path": "/infra/alb-application-profiles/https_ssl_pass_through_enable_src_ip", "close_client_conn_on_config_update": false, "cloud_name": "nsxt_cloud_overlay", "connections_rate_limit": { "action": { "type": "RL_ACTION_DROP_CONN" }, "rate_limiter": { "count": 123, "period": 1 } }, "display_name": "https_vip1", "east_west_placement": false, "enabled": false, "network_profile_path": "/infra/alb-network-profiles/System-TCP-Proxy", "performance_limits": { "max_concurrent_connections": 123 }, "pool_path": "/infra/alb-pools/https_pool_1", "se_group_name": null, "services": [ { "enable_ssl": false, "port": 9000 } ], "type": "VS_TYPE_NORMAL", "vsvip_path": "/infra/alb-vs-vips/vsvip_http_vip1" }

Successful Response:

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

Example Response:

{ "_create_time": 1591327900946, "_create_user": "admin", "_last_modified_time": 1591327900953, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "application_profile_path": "/infra/alb-application-profiles/https_ssl_pass_through_enable_src_ip", "close_client_conn_on_config_update": false, "cloud_name": "nsxt_cloud_overlay", "connections_rate_limit": { "action": { "type": "RL_ACTION_DROP_CONN" }, "rate_limiter": { "count": 123, "period": 1 } }, "display_name": "https_vip1", "east_west_placement": false, "enabled": false, "id": "https_vip1", "marked_for_delete": false, "network_profile_path": "/infra/alb-network-profiles/System-TCP-Proxy", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-virtual-services/https_vip1", "performance_limits": { "max_concurrent_connections": 123 }, "pool_path": "/infra/alb-pools/https_pool_1", "relative_path": "https_vip1", "resource_type": "VirtualService", "se_group_name": null, "services": [ { "enable_ssl": false, "port": 9000 } ], "type": "VS_TYPE_NORMAL", "unique_id": "8c0142f1-76e4-4749-82dc-288a209e10d6", "vsvip_path": "/infra/alb-vs-vips/vsvip_http_vip1" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: