Get Tier1DNS Forwarder Statistics

Get Tier1DNS Forwarder Statistics

Get 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
URI
GET
https://nsxmanager.your.domain/policy/api/v1/infra/tier-1s/{tier-1-id}/dns-forwarder/statistics
COPY
Path Parameters
string
tier-1-id
Required

Tier-1 id

Query Parameters
string
enforcement_point_path
Optional

String Path of the enforcement point


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns AggregateDNSForwarderStatistics of type(s) application/json
{
    "intent_path": "string",
    "statistics_per_enforcement_point": [
        {
            "enforcement_point_path": "string",
            "resource_type": "string"
        }
    ]
}
string
intent_path
Required

String path of the DNS forwarder intent.

statistics_per_enforcement_point
Optional

List of DNS forwarder statistics per enforcement point.


400
Returns BadRequest of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

403
Returns Forbidden of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

404

Not Found

Operation doesn't return any data structure

412
Returns PreconditionFailed of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

500
Returns InternalServerError of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

503
Returns ServiceUnavailable of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}