다음을 통해 공유


DataBoxEdgeMetricConfiguration Class

Definition

Metric configuration.

public class DataBoxEdgeMetricConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMetricConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeMetricConfiguration>
public class DataBoxEdgeMetricConfiguration
type DataBoxEdgeMetricConfiguration = class
    interface IJsonModel<DataBoxEdgeMetricConfiguration>
    interface IPersistableModel<DataBoxEdgeMetricConfiguration>
type DataBoxEdgeMetricConfiguration = class
Public Class DataBoxEdgeMetricConfiguration
Implements IJsonModel(Of DataBoxEdgeMetricConfiguration), IPersistableModel(Of DataBoxEdgeMetricConfiguration)
Public Class DataBoxEdgeMetricConfiguration
Inheritance
DataBoxEdgeMetricConfiguration
Implements

Constructors

DataBoxEdgeMetricConfiguration(ResourceIdentifier, IEnumerable<DataBoxEdgeMetricCounterSet>)

Initializes a new instance of DataBoxEdgeMetricConfiguration.

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataBoxEdgeMetricConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DataBoxEdgeMetricConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataBoxEdgeMetricConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataBoxEdgeMetricConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DataBoxEdgeMetricConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to