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

Read ALBDnsPolicy

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

Request:

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

Example Request:

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

Successful Response:

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

Example Response:

{ "_create_time": 1599203171602, "_create_user": "admin", "_last_modified_time": 1599203171608, "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0, "_system_owned": false, "display_name": "test-dns-policy", "id": "test-dns-policy", "marked_for_delete": false, "overridden": false, "parent_path": "/infra", "path": "/infra/alb-dns-policies/test-dns-policy", "relative_path": "test-dns-policy", "resource_type": "ALBDnsPolicy", "rule": [ { "action": { "allow": { "allow": true, "reset_conn": true } }, "enable": true, "index": 1, "match": { "client_ip_address": { "client_ip": { "addrs": [ { "addr": "2.2.2.2", "type": "V4" } ], "match_criteria": "IS_IN" }, "use_edns_client_subnet_ip": true } }, "name": "Rule 1" } ], "unique_id": "4cd0277c-acc4-49a8-9454-58b98011374c" }

Required Permissions:

read

Feature:

policy_lb

Additional Errors: