MetricConfiguration Class

Metric configuration.

All required parameters must be populated in order to send to Azure.

Inheritance
msrest.serialization.Model
MetricConfiguration

Constructor

MetricConfiguration(*, resource_id: str, counter_sets: List[MetricCounterSet], mdm_account: str | None = None, metric_name_space: str | None = None, **kwargs)

Parameters

Name Description
resource_id
Required
str

Required. The Resource ID on which the metrics should be pushed.

mdm_account
Required
str

The MDM account to which the counters should be pushed.

metric_name_space
Required
str

The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified.

counter_sets
Required

Required. Host name for the IoT hub associated to the device.

Keyword-Only Parameters

Name Description
resource_id
Required
counter_sets
Required
mdm_account
Required
metric_name_space
Required