ArmDatadogModelFactory.DatadogMonitorLogRules Method

Definition

public static Azure.ResourceManager.Datadog.Models.DatadogMonitorLogRules DatadogMonitorLogRules(bool? isAadLogsSent = default, bool? isSubscriptionLogsSent = default, bool? isResourceLogsSent = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Datadog.Models.DatadogMonitorFilteringTag> filteringTags = default);
static member DatadogMonitorLogRules : Nullable<bool> * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.Datadog.Models.DatadogMonitorFilteringTag> -> Azure.ResourceManager.Datadog.Models.DatadogMonitorLogRules
Public Shared Function DatadogMonitorLogRules (Optional isAadLogsSent As Nullable(Of Boolean) = Nothing, Optional isSubscriptionLogsSent As Nullable(Of Boolean) = Nothing, Optional isResourceLogsSent As Nullable(Of Boolean) = Nothing, Optional filteringTags As IEnumerable(Of DatadogMonitorFilteringTag) = Nothing) As DatadogMonitorLogRules

Parameters

isAadLogsSent
Nullable<Boolean>

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

isSubscriptionLogsSent
Nullable<Boolean>

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

isResourceLogsSent
Nullable<Boolean>

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

filteringTags
IEnumerable<DatadogMonitorFilteringTag>

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.

Returns

A new DatadogMonitorLogRules instance for mocking.

Applies to