NewRelicObservabilityLogRules Class

Definition

Set of rules for sending logs for the Monitor resource.

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

Constructors

NewRelicObservabilityLogRules()

Initializes a new instance of NewRelicObservabilityLogRules.

Properties

FilteringTags

List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.

SendAadLogs

Flag specifying if AAD logs should be sent for the Monitor resource.

SendActivityLogs

Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.

SendSubscriptionLogs

Flag specifying if subscription logs should be sent for the Monitor resource.

Explicit Interface Implementations

IJsonModel<NewRelicObservabilityLogRules>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NewRelicObservabilityLogRules>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NewRelicObservabilityLogRules>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NewRelicObservabilityLogRules>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NewRelicObservabilityLogRules>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to