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
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"
}
]
}
On This Page
Tier 0s Operations
PUT
Create Or Replace Tier0 Locale Services
PUT
Create Policy Service Instance
PUT
Create Service Interface
DELETE
Delete Policy Service Instance
DELETE
Delete Service Interface
DELETE
Delete Tier0 Locale Services
DELETE
Delete Tier0 Locale Services Flood Protection Profile Binding
DELETE
Delete Tier0 Locale Services Session Timer Profile Binding
GET
Get Policy Service Instance Statistics
GET
Get Tier0 Locale Services Flood Protection Profile Binding
GET
Get Tier0 Locale Services Session Timer Profile Binding
GET
List Service Interfaces
GET
List Tier0 Locale Services
PATCH
Patch Policy Service Instance
PATCH
Patch Service Interface
PATCH
Patch Tier0 Locale Services
PATCH
Patch Tier0 Locale Services Flood Protection Profile Binding Map
PATCH
Patch Tier0 Local Services Session Timer Profile Binding Map
GET
Read All Policy Service Instances For Tier0
GET
Read Policy Service Instance
GET
Read Service Interface
GET
Read Tier0 Locale Services
POST
Renew Authentication Tokens For Policy Service Instance Reauth
PUT
Update Tier0 Locale Services Flood Protection Profile Binding
PUT
Update Tier0 Locale Services Session Timer Profile Binding
GET
View Tier0 Locale Services Gateway Firewall