[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

Get DNS Forwarder Status

Description

Get current status of tier-0 DNS forwarder.

  • no enforcement point path specified: Status will be evaluated on each enforcement point.
  • {enforcement_point_path}: Status will be evaluated only on the given enforcement point.

Request

Request

URL

URL


get
https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/dns-forwarder/status
Copy

Path Parameters

Path Parameters

string
tier-0-id Required

Tier-0 id


Query Parameters

Query Parameters

string
enforcement_point_path Optional

String Path of the enforcement point


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns AggregateDNSForwarderStatus of type(s) application/json
{
	"intent_path": "string",
	"status_per_enforcement_point": [
		{
			"enforcement_point_path": "string",
			"resource_type": "NsxTDNSForwarderStatus"
		}
	]
}
string
intent_path Required

String path of the DNS forwarder intent.


status_per_enforcement_point Optional

List of DNS forwarder status per enforcement point.

Errors

Errors

400

Bad Request


403

Forbidden


404

Not Found


412

Precondition Failed


500

Internal Server Error


503

Service Unavailable

Code Samples

Code Samples

PowerCLI Client SDK Example

Invoke-GetTier0DNSForwarderStatus -tier0Id -enforcementPointPath

cURL Command

curl https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/dns-forwarder/status
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: get-dns-forwarder-status
x-vmw-nsx-module: PolicyDNSStatistics


Feedback

Was this page helpful?