Performance Manager Query Perf Counter

Performance Manager Query Perf Counter

Retrieves counter information for the specified list of counter IDs.

Required privileges: System.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/PerformanceManager/{moId}/QueryPerfCounter
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
QueryPerfCounterRequestType of type(s) application/json
Required
{
    "counterId": [
        0
    ]
}
array of integer
counterId
Required

An array of one or more counterIds representing performance counters for which information is being retrieved.

Authentication
This operation uses the following authentication methods.
Responses
200

An array consisting of performance counter information for the specified counterIds.

Returns Array of PerfCounterInfo of type(s) application/json
[
    {
        "_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
        ]
    }
]