NSX-T Data Center REST API
Create or update a LBVirtualServer
If a LBVirtualServer with the lb-virtual-server-id is not alreadypresent, create a new LBVirtualServer. If it already exists, update the
LBVirtualServer. This is a full replace.
This API is deprecated for the NSX-T Load Balancer, but not for the NSX-T Distributed Load Balancer.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or 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