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

{ "active_standby_se_tag": "ACTIVE_STANDBY_SE_1", "close_client_conn_on_config_update": false, "east_west_placement": false, "enabled": true, "name": "testVirtualService", "pool_path": "/infra/alb-pools/testPool1", "services": [ { "enable_ssl": false, "port": 80, "port_range_end": 80 } ], "traffic_enabled": true, "type": "VS_TYPE_NORMAL", "vsvip_path": "/infra/alb-vs-vips/testVsVip" }

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: