ArmDataBoxEdgeModelFactory.DataBoxEdgeMetricConfiguration Method

Definition

public static Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMetricConfiguration DataBoxEdgeMetricConfiguration(Azure.Core.ResourceIdentifier resourceId = default, string mdmAccount = default, string metricNameSpace = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMetricCounterSet> counterSets = default);
static member DataBoxEdgeMetricConfiguration : Azure.Core.ResourceIdentifier * string * string * seq<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMetricCounterSet> -> Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMetricConfiguration
Public Shared Function DataBoxEdgeMetricConfiguration (Optional resourceId As ResourceIdentifier = Nothing, Optional mdmAccount As String = Nothing, Optional metricNameSpace As String = Nothing, Optional counterSets As IEnumerable(Of DataBoxEdgeMetricCounterSet) = Nothing) As DataBoxEdgeMetricConfiguration

Parameters

resourceId
ResourceIdentifier

The Resource ID on which the metrics should be pushed.

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.

counterSets
IEnumerable<DataBoxEdgeMetricCounterSet>

Host name for the IoT hub associated to the device.

Returns

A new DataBoxEdgeMetricConfiguration instance for mocking.

Applies to