Policy > Networking > Network Services > Advanced Load Balancing > Alb Application Persistence Profiles

Create or update a ALBApplicationPersistenceProfile

If a ALBApplicationPersistenceProfile with the alb-ApplicationPersistenceProfile-id is not
already present, create a new ALBApplicationPersistenceProfile. If it already exists,
update the ALBApplicationPersistenceProfile. This is a full replace.
This API is only available when using VMware NSX-T.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/alb-application-persistence-profiles/<alb-applicationpersistenceprofile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBApplicationPersistenceProfile+

Example Request:

{ "ip_persistence_profile": { "ip_mask": 10, "ip_persistent_timeout": 5 }, "is_federated": false, "name": "test-persistence-profile", "persistence_type": "PERSISTENCE_TYPE_CLIENT_IP_ADDRESS", "server_hm_down_recovery": "HM_DOWN_PICK_NEW_SERVER" }

Successful Response:

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

Example Response:

{ "_create_time": 1598505666215, "_create_user": "admin", "_last_modified_time": 1598505666230, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "display_name": "test-persistence-profile", "id": "test-persistence-profile", "ip_persistence_profile": { "ip_mask": 10, "ip_persistent_timeout": 5 }, "is_federated": false, "marked_for_delete": false, "name": "test-persistence-profile", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-application-persistence-profiles/test-persistence-profile", "persistence_type": "PERSISTENCE_TYPE_CLIENT_IP_ADDRESS", "relative_path": "test-persistence-profile", "resource_type": "ALBApplicationPersistenceProfile", "server_hm_down_recovery": "HM_DOWN_PICK_NEW_SERVER", "unique_id": "3ccfe483-9aea-422b-9f21-ab328353202c" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: