NSX-T Data Center REST API

Create or update a load balancer

If a load balancer with the vpc-lb-id doesn't exist, create a new Load
Balancer. If it has already existed, update the load balancer.
This is a full replacement.

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-lbs/{vpc-lb-id}
Request Headers:
n/a
Query Parameters:
LbOperationRequestParameters+
Request Body:
LBService+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/orgs/org-1/projects/project-1/vpcs/vpc-1/vpc-lbs/lb-1 { "resource_type": "LBService", "enabled": true, "size":"SMALL" }

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: