Share via


DataBoxEdgeMetricCounter Class

Definition

The metric counter.

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

Constructors

DataBoxEdgeMetricCounter(String)

Initializes a new instance of DataBoxEdgeMetricCounter.

Properties

AdditionalDimensions

The additional dimensions to be added to metric.

DimensionFilter

The dimension filter.

Instance

The instance from which counter should be collected.

Name

The counter name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataBoxEdgeMetricCounter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataBoxEdgeMetricCounter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataBoxEdgeMetricCounter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataBoxEdgeMetricCounter>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataBoxEdgeMetricCounter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to