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

Read ALBHTTPPolicySet

Read a ALBHTTPPolicySet.
This API is only available when using VMware NSX-T.

Request:

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

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/alb-http-policy-sets/

Successful Response:

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

Example Response:

{ "_create_time": 1598511584700, "_create_user": "admin", "_last_modified_time": 1598511584713, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "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" } } ] }, "id": "test-http_policy-set", "is_internal_policy": false, "marked_for_delete": false, "name": "test-http_policy-set", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-http-policy-sets/test-http_policy-set", "relative_path": "test-http_policy-set", "resource_type": "ALBHTTPPolicySet", "unique_id": "b0da846c-5038-419b-87f9-dffe1f9aa6f8" }

Required Permissions:

read

Feature:

policy_lb

Additional Errors: