Policy > Networking > Network Services > Load Balancing > Load Balancer Virtual Servers

Create or update a LBVirtualServer

If a LBVirtualServer with the lb-virtual-server-id is not already
present, create a new LBVirtualServer. If it already exists, update the
LBVirtualServer. 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/lb-virtual-servers/<lb-virtual-server-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LBVirtualServer+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/lb-virtual-server/tcpVirtualServer { "resource_type": "LBVirtualServer", "ip_address":"30.1.1.1", "ports": ["1019"], "application_profile_path": "/infra/lb-app-profiles/default-tcp-lb-app-profile" }

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: