Performance Manager Query Perf Counter By Level

Performance Manager Query Perf Counter By Level

Retrieves the set of counters that are available at a specified collection level.

The collection level determines the statistics that get stored in VirtualCenter. See PerfInterval for more information about VirtualCenter Server historical statistics collection.

Required privileges: System.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/PerformanceManager/{moId}/QueryPerfCounterByLevel
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
QueryPerfCounterByLevelRequestType of type(s) application/json
Required
{
    "level": 0
}
integer As int32 As int32
level
Required

A number between 1 and 4 that specifies the collection level.

Authentication
This operation uses the following authentication methods.
Responses
200

An array of PerfCounterInfo objects that define the set of counters having the specified level number available for the entity.

Returns Array of PerfCounterInfo of type(s) application/json
[
    {
        "_typeName": "string",
        "key": 0,
        "nameInfo": {
            "key": "string"
        },
        "groupInfo": {
            "key": "string"
        },
        "unitInfo": {
            "key": "string"
        },
        "rollupType": "string",
        "statsType": "string",
        "level": 0,
        "perDeviceLevel": 0,
        "associatedCounterId": [
            0
        ]
    }
]