Megosztás a következőn keresztül:


LogRules Class

Definition

Set of rules for sending logs for the Monitor resource.

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

Constructors

LogRules()

Initializes a new instance of LogRules.

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LogRules>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LogRules>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LogRules>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LogRules>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LogRules>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to