Get Service Instance Stats
Get statistics for all data NICs on all runtimes associated with this PolicyServiceInstance.
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/service-instances/{service-instance-id}/statistics
Parameters
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
Query Parameters
string
enforcement_point_path
Optional
String Path of the enforcement point
Response
Response
Response BodyResponse Body
200 OK returns
PolicyServiceInstanceStatistics
{
"_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": [
{
"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"
}
]
},
"interface_index": 0,
"last_update_timestamp": 0,
"mac_learning": {
"mac_not_learned_packets_allowed": 0,
"mac_not_learned_packets_dropped": 0,
"macs_learned": 0
},
"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
}
}
],
"primary_runtime_stats": false,
"runtime_id": "string",
"runtime_name": "string"
}
],
"service_instance_id": "string"
}
array of
ResourceLink
_links
Optional
The server will populate this field when returing the resource. Ignored on PUT and POST.
string
_schema
Optional
Schema for this resource
string
enforcement_point_path
Optional
Enforcement point path, forward slashes must be escaped using %2F.
array of
InstanceRuntimeStatistic
instance_runtime_statistics
Optional
Statistics for the data NICs for all the runtimes associated with this service instance.
string
service_instance_id
Optional
PolicyServiceInsatnce path
cURL Command
curl https://nsxmanager.your.domain/policy/api/v1/infra/tier-0s/{tier-0-id}/locale-services/{locale-service-id}/service-instances/{service-instance-id}/statistics
Errors
500
The server encountered an unexpected condition which prevented it from fulfilling the request.
503
The server is currently unavailable (because it is overloaded or down for maintenance).
On This Page
Locale Services Operations
delete
delete
delete
patch
patch
patch