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

List ALBL4PolicySet for infra

Paginated list of all ALBL4PolicySet for infra.
This API is only available when using VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/alb-l4-policy-sets
Request Headers:
n/a
Query Parameters:
PolicyListRequestParameters+
Request Body:
n/a

Example Request:

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

Successful Response:

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

Example Response:

{ "result_count": 1, "results": [ { "_create_time": 1598511306760, "_create_user": "admin", "_last_modified_time": 1598511307207, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "display_name": "test-l4policy", "id": "test-l4policy", "is_internal_policy": true, "l4_connection_policy": { "rules": [ { "action": { "select_pool": { "action_type": "L4_RULE_ACTION_SELECT_POOL", "pool_path": "/infra/alb-pools/test-alb-pool-1" } }, "enable": true, "index": 0, "match": { "client_ip": { "addrs": [ { "addr": "1.2.3.4", "type": "V4" } ], "match_criteria": "IS_IN", "prefixes": [ { "ip_addr": { "addr": "2.3.4.5", "type": "V4" }, "mask": 0 } ], "ranges": [ { "begin": { "addr": "1.1.1.1", "type": "V4" }, "end": { "addr": "10.10.10.10", "type": "V4" } } ] }, "port": { "match_criteria": "IS_IN", "port_ranges": [ { "end": 1, "start": 10 } ], "ports": [ 1 ] }, "protocol": { "match_criteria": "IS_NOT_IN", "protocol": "PROTOCOL_TCP" } }, "name": "rule1" } ] }, "marked_for_delete": false, "name": "test-l4policy", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-l4-policy-sets/test-l4policy", "relative_path": "test-l4policy", "resource_type": "ALBL4PolicySet", "unique_id": "2418df6e-63ae-47e8-938a-63f848bd4bc9" } ], "sort_ascending": true, "sort_by": "display_name" }

Required Permissions:

read

Feature:

policy_lb

Additional Errors: