Management Plane API > Networking > Services > Loadbalancer

Update a load balancer persistence profile

Update a load balancer persistence profile.

Request:

Method:
PUT
URI Path(s):
/api/v1/loadbalancer/persistence-profiles/<persistence-profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
LbCookiePersistenceProfile+
LbGenericPersistenceProfile+
LbSourceIpPersistenceProfile+

Example Request:

PUT https://<nsx-mgr>/api/v1/loadbalancer/persistence-profiles/4a19c81d-2622-4c9a-b79a-39587b172e7b { "resource_type" : "LbCookiePersistenceProfile", "id" : "4a19c81d-2622-4c9a-b79a-39587b172e7b", "display_name" : "lb-persistence-profile1", "persistence_shared" : false, "cookie_mode" : "INSERT", "cookie_garble" : false, "cookie_fallback" : true, "cookie_name" : "LoadBalancer", "_create_time" : 1515742393690, "_last_modified_user" : "admin", "_last_modified_time" : 1515742393690, "_system_owned" : false, "_create_user" : "admin", "_protection" : "NOT_PROTECTED", "_revision" : 0 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LbCookiePersistenceProfile+
LbGenericPersistenceProfile+
LbSourceIpPersistenceProfile+

Example Response:

{ "resource_type" : "LbCookiePersistenceProfile", "id" : "4a19c81d-2622-4c9a-b79a-39587b172e7b", "display_name" : "lb-persistence-profile1", "persistence_shared" : false, "cookie_mode" : "INSERT", "cookie_garble" : false, "cookie_fallback" : true, "cookie_name" : "LoadBalancer", "_create_time" : 1515742393690, "_last_modified_user" : "admin", "_last_modified_time" : 1515742928426, "_system_owned" : false, "_create_user" : "admin", "_protection" : "NOT_PROTECTED", "_revision" : 1 }

Required Permissions:

crud

Feature:

lb_persistence_profiles

Additional Errors: