Get Policy Service Instance Statistics

Get Policy Service Instance Statistics

Get statistics for all data NICs on all runtimes associated with this PolicyServiceInstance.

Request
URI
GET
https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/service-instances/{service-instance-id}/statistics
COPY
Path Parameters
string
tier-0-id
Required

Tier-0 id

string
locale-service-id
Required

Locale service id

string
service-instance-id
Required

Service instance 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 PolicyServiceInstanceStatistics of type(s) application/json
This response body class contains all of the following: Resource , InlinePolicyServiceInstanceStatistics1
{
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "_self": {
        "action": "string",
        "href": "string",
        "rel": "string"
    },
    "enforcement_point_path": "string",
    "instance_runtime_statistics": [
        {
            "interface_statistics": [
                {
                    "rx_bytes": {
                        "dropped": 0,
                        "multicast_broadcast": 0,
                        "total": 0
                    },
                    "rx_packets": {
                        "dropped": 0,
                        "multicast_broadcast": 0,
                        "total": 0
                    },
                    "tx_bytes": {
                        "dropped": 0,
                        "multicast_broadcast": 0,
                        "total": 0
                    },
                    "tx_packets": {
                        "dropped": 0,
                        "multicast_broadcast": 0,
                        "total": 0
                    },
                    "dropped_by_security_packets": {
                        "bpdu_filter_dropped": 0,
                        "dhcp_client_dropped_ipv4": 0,
                        "dhcp_client_dropped_ipv6": 0,
                        "dhcp_server_dropped_ipv4": 0,
                        "dhcp_server_dropped_ipv6": 0,
                        "spoof_guard_dropped": [
                            {
                                "counter": 0,
                                "packet_type": "string"
                            }
                        ]
                    },
                    "mac_learning": {
                        "mac_not_learned_packets_allowed": 0,
                        "mac_not_learned_packets_dropped": 0,
                        "macs_learned": 0
                    },
                    "interface_index": 0,
                    "last_update_timestamp": 0
                }
            ],
            "primary_runtime_stats": false,
            "runtime_id": "string",
            "runtime_name": "string"
        }
    ],
    "service_instance_id": "string"
}

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
Returns NotFound 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"
        }
    ]
}

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"
        }
    ]
}