Management Plane API > Networking > Services > Loadbalancer

Retrieve a paginated list of load balancer persistence profiles

Retrieve a paginated list of load balancer persistence profiles.

Request:

Method:
GET
URI Path(s):
/api/v1/loadbalancer/persistence-profiles
Request Headers:
n/a
Query Parameters:
LbPersistenceProfileListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/loadbalancer/persistence-profiles

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LbPersistenceProfileListResult+

Example Response:

{ "result_count" : 3, "results" : [ { "resource_type" : "LbCookiePersistenceProfile", "id" : "4a19c81d-2622-4c9a-b79a-39587b172e7b", "display_name" : "lb-persistence-profile1", "persistence_shared" : false, "cookie_mode" : "INSERT", "cookie_garble" : true, "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 }, { "resource_type" : "LbCookiePersistenceProfile", "id" : "d7556195-bd1e-5d3a-97f6-82accb2e19ac", "display_name" : "nsx-default-cookie-persistence-profile", "persistence_shared" : false, "cookie_mode" : "INSERT", "cookie_garble" : true, "cookie_fallback" : true, "cookie_name" : "NSXLB", "_create_time" : 1515651381460, "_last_modified_user" : "system", "_last_modified_time" : 1515651381460, "_system_owned" : true, "_create_user" : "system", "_protection" : "NOT_PROTECTED", "_revision" : 0 }, { "resource_type" : "LbSourceIpPersistenceProfile", "id" : "2a176906-fc94-584a-b1a7-20333434f6eb", "display_name" : "nsx-default-source-ip-persistence-profile", "persistence_shared" : false, "purge" : "FULL", "timeout" : 300, "ha_persistence_mirroring_enabled" : false, "_create_time" : 1515651381495, "_last_modified_user" : "system", "_last_modified_time" : 1515651381495, "_system_owned" : true, "_create_user" : "system", "_protection" : "NOT_PROTECTED", "_revision" : 0 } ] }

Required Permissions:

read

Feature:

lb_persistence_profiles

Additional Errors: