[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Get DNS Forwarder Stats
DescriptionGet statistics of tier-1 DNS forwarder.
- no enforcement point path specified: Statistics will be evaluated on each enforcement point.
- {enforcement_point_path}: Statistics are evaluated only on the given enforcement point.
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/tier-1s/{tier-1-id}/dns-forwarder/statistics
Path Parameters
Path Parameters
string
tier-1-id
Required
Tier-1 id
Query Parameters
Query Parameters
string
enforcement_point_path
Optional
String Path of the enforcement point
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK returns
AggregateDNSForwarderStatistics
of type(s) application/json
{
"intent_path": "string",
"statistics_per_enforcement_point": [
{
"enforcement_point_path": "string",
"resource_type": "NsxTDNSForwarderStatistics"
}
]
}
string
intent_path
Required
String path of the DNS forwarder intent.
statistics_per_enforcement_point
Optional
List of DNS forwarder statistics per enforcement point.
Errors
404
Not Found
Code Samples
Code Samples
PowerCLI Client SDK Example
Invoke-GetTier1DNSForwarderStatistics -tier1Id -enforcementPointPath
cURL Command
curl https://nsxmanager.your.domain/policy/api/v1/infra/tier-1s/{tier-1-id}/dns-forwarder/statistics
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: get-dns-forwarder-stats
x-vmw-nsx-module: PolicyDNSStatistics
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
On This Page
Tier 1s Operations
delete
get
patch