Policy > Networking > Network Services > Load Balancing > Load Balancer Profiles > Load Balancer Persistence Profiles

Create or update a LBPersistenceProfile

If a LBPersistenceProfile with the lb-persistence-profile-id is not
already present, create a new LBPersistenceProfile. If it already exists,
update the LBPersistenceProfile. This is a full replace.
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-persistence-profiles/<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/infra/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: