Performance Manager Query Perf Counter
Retrieves counter information for the specified list of counter IDs.
Required privileges: System.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case PerformanceManager/{moId}.
The vSphere release schema. The current specification covers vSphere 9.1.0.0 APIs.
Show optional properties
{
"counterId": [
{}
]
}
{
"counterId": [
0
]
}
An array of one or more counterIds representing performance counters for which information is being retrieved.
An array consisting of performance counter information for the specified counterIds.
[
{
"_typeName": "string",
"key": 0,
"nameInfo": {
"_typeName": "string",
"label": "string",
"summary": "string",
"key": "string"
},
"groupInfo": {
"_typeName": "string",
"label": "string",
"summary": "string",
"key": "string"
},
"unitInfo": {
"_typeName": "string",
"label": "string",
"summary": "string",
"key": "string"
},
"rollupType": "string",
"statsType": "string",
"level": 0,
"perDeviceLevel": 0,
"associatedCounterId": [
0
]
}
]
This data object type contains metadata for a performance counter.
See PerformanceManager for definitions of available counters.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"counterId":["integer"]}' https://{api_host}/sdk/vim25/{release}/PerformanceManager/{moId}/QueryPerfCounter