共用方式為


LogRules Class

Definition

Set of rules for sending logs for the Monitor resource.

public class LogRules
type LogRules = class
Public Class LogRules
Inheritance
LogRules

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 SendResourceLogs 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.

SendResourceLogs

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

SendSubscriptionLogs

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

Applies to