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

List LBPersistenceProfiles for infra

Paginated list of all LBPersistenceProfiles for infra.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/lb-persistence-profiles
Request Headers:
n/a
Query Parameters:
PolicyListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/lb-persistence-profiles

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 3, "results": [ { "resource_type": "LBCookiePersistenceProfile", "id": "cookieSharedPersistence", "display_name": "/infra/lb-persistence-profiles/cookieSharedPersistence", "path": "/infra/lb-persistence-profiles/cookieSharedPersistence", "parent_path": "/infra/lb-persistence-profiles/cookieSharedPersistence", "relative_path": "cookieSharedPersistence", "cookie_name": "NSXLB", "cookie_mode": "INSERT", "cookie_fallback": true, "cookie_garble": true, "persistence_shared": true, "_create_user": "admin", "_create_time": 1516320262166, "_last_modified_user": "admin", "_last_modified_time": 1516320262166, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "resource_type": "LBCookiePersistenceProfile", "id": "default-cookie-lb-persistence-profile", "display_name": "/infra/lb-persistence-profiles/default-cookie-lb-persistence-profile", "path": "/infra/lb-persistence-profiles/default-cookie-lb-persistence-profile", "parent_path": "/infra/lb-persistence-profiles/default-cookie-lb-persistence-profile", "relative_path": "default-cookie-lb-persistence-profile", "cookie_name": "NSXLB", "cookie_mode": "INSERT", "cookie_fallback": true, "cookie_garble": true, "persistence_shared": false, "_create_user": "admin", "_create_time": 1516320253128, "_last_modified_user": "admin", "_last_modified_time": 1516320253128, "_system_owned": true, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "resource_type": "LBSourceIpPersistenceProfile", "id": "default-source-ip-lb-persistence-profile", "display_name": "/infra/lb-persistence-profiles/default-source-ip-lb-persistence-profile", "path": "/infra/lb-persistence-profiles/default-source-ip-lb-persistence-profile", "parent_path": "/infra/lb-persistence-profiles/default-source-ip-lb-persistence-profile", "relative_path": "default-source-ip-lb-persistence-profile", "purge": "FULL", "timeout": 300, "persistence_shared": false, "_create_user": "admin", "_create_time": 1516320265151, "_last_modified_user": "admin", "_last_modified_time": 1516320265151, "_system_owned": true, "_protection": "NOT_PROTECTED", "_revision": 0 } ] }

Required Permissions:

read

Feature:

policy_lb

Additional Errors: