Condividi tramite


NewRelicObservabilityMetricRules Class

Definition

Set of rules for sending metrics for the Monitor resource.

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

Constructors

NewRelicObservabilityMetricRules()

Initializes a new instance of NewRelicObservabilityMetricRules.

Properties

FilteringTags

List of filtering tags to be used for capturing metrics.

SendMetrics

Flag specifying if metrics should be sent for the Monitor resource.

UserEmail

User Email.

Explicit Interface Implementations

IJsonModel<NewRelicObservabilityMetricRules>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NewRelicObservabilityMetricRules>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NewRelicObservabilityMetricRules>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NewRelicObservabilityMetricRules>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NewRelicObservabilityMetricRules>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to