ArmDatadogModelFactory.DatadogMonitorAgentRules Method

Definition

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

Parameters

isAgentMonitoringEnabled
Nullable<Boolean>

Flag specifying if agent monitoring should be enabled for the Monitor resource.

filteringTags
IEnumerable<DatadogMonitorFilteringTag>

List of filtering tags to be used for capturing metrics. 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 DatadogMonitorAgentRules instance for mocking.

Applies to