NSX-T Data Center REST API
Create or update a LBVirtualServer
If a LBVirtualServer with the vpc-lb-virtual-server-id is not alreadypresent, create a new LBVirtualServer. If it already exists, update the
LBVirtualServer. This is a full replace.
NSX Load Balancer availability in terms of use-cases and editions is
specified in NSX Feature and Edition Guide. Please review before consuming
those APIs.
This API is only available when using VMware NSX.
Request:
Method:
PATCH
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/vpc-lb-virtual-servers/{vpc-lb-virtual-server-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LBVirtualServer+
Example Request:
PATCH https://<policy-mgr>/policy/api/v1/orgs/org-1/projects/project-1/vpcs/vpc-1/vpc-lb-virtual-server/tcpVirtualServer { "resource_type": "LBVirtualServer", "ip_address":"30.1.1.1", "ports": ["1019"], "application_profile_path": "/orgs/org-1/projects/project-1/vpcs/vpc-1/vpc-lb-app-profiles/tcp-vpc-lb-app-profile" }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a