Policy > Networking > Network Services > Advanced Load Balancing > Alb HTTP Policy Sets

Create or update a ALBhttppolicyset

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

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/alb-http-policy-sets/<alb-httppolicyset-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBHTTPPolicySet+

Example Request:

{ "display_name": "test-http_policy-set", "http_request_policy": { "rules": [ { "enable": true, "index": 0, "name": "rule-1", "redirect_action": { "keep_query": true, "path": { "tokens": [ { "end_index": 1, "start_index": 1, "str_value": "string", "type": "URI_TOKEN_TYPE_STRING" } ], "type": "URI_PARAM_TYPE_TOKENIZED" }, "port": 80, "protocol": "HTTP", "status_code": "HTTP_REDIRECT_STATUS_CODE_302" } } ] } }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: