Policy > Networking > Network Services > Advanced Load Balancing > Alb Security Policies

Read ALBSecurityPolicy

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

Request:

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

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/alb-security-policies/

Successful Response:

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

Example Response:

{ "_create_time": 1598510344333, "_create_user": "admin", "_last_modified_time": 1598510344340, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "display_name": "test-security_policy-1", "dns_attacks": { "attacks": [ { "attack_vector": "DNS_NXDOMAIN", "enabled": true, "max_mitigation_age": 0, "mitigation_action": { "deny": true }, "threshold": 0 } ], "oper_mode": "DETECTION" }, "dns_policy_index": 0, "id": "test-security_policy-1", "marked_for_delete": false, "name": "test-security_policy-1", "network_security_policy_index": 0, "oper_mode": "DETECTION", "overridden": false, "parent_path": "/infra", "path": "/infra/alb-security-policies/test-security_policy-1", "relative_path": "test-security_policy-1", "resource_type": "ALBSecurityPolicy", "unique_id": "2ecd58e5-5632-4a56-8b9f-993837258ace" }

Required Permissions:

read

Feature:

policy_lb

Additional Errors: