共用方式為


MetricConfiguration interface

Metric configuration.

Properties

counterSets

Host name for the IoT hub associated to the device.

mdmAccount

The MDM account to which the counters should be pushed.

metricNameSpace

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

resourceId

The Resource ID on which the metrics should be pushed.

Property Details

counterSets

Host name for the IoT hub associated to the device.

counterSets: MetricCounterSet[]

Property Value

mdmAccount

The MDM account to which the counters should be pushed.

mdmAccount?: string

Property Value

string

metricNameSpace

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

metricNameSpace?: string

Property Value

string

resourceId

The Resource ID on which the metrics should be pushed.

resourceId: string

Property Value

string