# Data Object - PerformanceManagerCounterLevelMapping(vim.PerformanceManager.CounterLevelMapping)

Parameter to
  UpdateCounterLevelMapping
Extends
  DynamicData
Since
  vSphere API 5.0

## Data Object Description

PerformanceManagerCounterLevelMapping class captures the counter and level mapping. Any counter has two aspects: aggregate value or the per-device value. For example, cpu.usage.average on a host is an aggregate counter and cpu.usage.average on pcpus in a host is a per-device counters. There is a need to be able to specify different levels for the two versions. Currently, all per-device stats are collected at level greater than or equal to 3.

In order to be able to configure the level of collections for aggregate and per-device counters we have two optional level fields. PerformanceManagerCounterLevelMapping is used to update the levels for a counter.

Properties

Name | Type | Description
--- | --- | ---
aggregateLevel* | xsd:int | Level for the aggregate counter. If not set then the value is not changed when updateCounterLevelMapping is called.
counterId | xsd:int | The counter Id
perDeviceLevel* | xsd:int | Level for the per device counter. If not set then the value is not changed when updateCounterLevelMapping is called.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="PerformanceManagerCounterLevelMapping"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="counterId" type="xsd:int"/> <element name="aggregateLevel" type="xsd:int" minOccurs="0"/> <element name="perDeviceLevel" type="xsd:int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>