ArmDatadogModelFactory.DatadogMonitorLogRules Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Flag specifying if AAD logs should be sent for the Monitor resource.
Flag specifying if Azure subscription logs should be sent for the Monitor resource.
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.