MetricConfiguration Class
Metric configuration.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
msrest.serialization.ModelMetricConfiguration
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
|
Required. The Resource ID on which the metrics should be pushed. |
mdm_account
Required
|
The MDM account to which the counters should be pushed. |
metric_name_space
Required
|
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
|
|
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for