Policy > Networking > Network Services > Advanced Load Balancing > Alb Priority Labels

Create or update a ALBPriorityLabels

If a ALBPriorityLabels with the alb-PriorityLabels-id is not
already present, create a new ALBPriorityLabels. If it already exists,
update the ALBPriorityLabels. 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-priority-labels/<alb-prioritylabels-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBPriorityLabels+

Example Request:

{ "description": "This is priority labels", "equivalent_labels": [ { "labels": [ "test" ] } ], "name": "test-Prioritylabels" }

Successful Response:

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

Example Response:

{ "_create_time": 1598509881271, "_create_user": "admin", "_last_modified_time": 1598509881275, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "description": "This is priority labels", "display_name": "test-Prioritylabels-1", "equivalent_labels": [ { "labels": [ "test" ] } ], "id": "test-Prioritylabels-1", "marked_for_delete": false, "name": "test-Prioritylabels-1", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-priority-labels/test-Prioritylabels-1", "relative_path": "test-Prioritylabels-1", "resource_type": "ALBPriorityLabels", "unique_id": "efd3c171-8ecd-430d-ae8d-c07c1922bbb7" }

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: