共用方式為


MetricConfiguration Constructors

Definition

Overloads

MetricConfiguration()

Initializes a new instance of the MetricConfiguration class.

MetricConfiguration(String, IList<MetricCounterSet>, String, String)

Initializes a new instance of the MetricConfiguration class.

MetricConfiguration()

Initializes a new instance of the MetricConfiguration class.

public MetricConfiguration ();
Public Sub New ()

Applies to

MetricConfiguration(String, IList<MetricCounterSet>, String, String)

Initializes a new instance of the MetricConfiguration class.

public MetricConfiguration (string resourceId, System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.MetricCounterSet> counterSets, string mdmAccount = default, string metricNameSpace = default);
new Microsoft.Azure.Management.DataBoxEdge.Models.MetricConfiguration : string * System.Collections.Generic.IList<Microsoft.Azure.Management.DataBoxEdge.Models.MetricCounterSet> * string * string -> Microsoft.Azure.Management.DataBoxEdge.Models.MetricConfiguration
Public Sub New (resourceId As String, counterSets As IList(Of MetricCounterSet), Optional mdmAccount As String = Nothing, Optional metricNameSpace As String = Nothing)

Parameters

resourceId
String

The Resource ID on which the metrics should be pushed.

counterSets
IList<MetricCounterSet>

Host name for the IoT hub associated to the device.

mdmAccount
String

The MDM account to which the counters should be pushed.

metricNameSpace
String

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

Applies to