NSX-T Data Center REST API

Create or update a LBPersistenceProfile

If a LBPersistenceProfile with the vpc-lb-persistence-profile-id is not
already present, create a new LBPersistenceProfile. If it already exists,
update the LBPersistenceProfile. 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-persistence-profiles/{vpc-lb-persistence-profile-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LBCookiePersistenceProfile+
LBGenericPersistenceProfile+
LBSourceIpPersistenceProfile+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/orgs/org-1/projects/project-1/vpcs/vpc-1/vpc-lb-persistence-profiles/cookieSharedPersistence { "resource_type": "LBCookiePersistenceProfile", "cookie_name": "NSXLB", "cookie_mode": "INSERT", "cookie_fallback": true, "cookie_garble": true, "persistence_shared": true }

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: