LogRulesArgs

data class LogRulesArgs(val filteringTags: Output<List<FilteringTagArgs>>? = null, val sendAadLogs: Output<Boolean>? = null, val sendActivityLogs: Output<Boolean>? = null, val sendSubscriptionLogs: Output<Boolean>? = null) : ConvertibleToJava<LogRulesArgs>

Set of rules for sending logs for the Monitor resource.

Constructors

Link copied to clipboard
constructor(filteringTags: Output<List<FilteringTagArgs>>? = null, sendAadLogs: Output<Boolean>? = null, sendActivityLogs: Output<Boolean>? = null, sendSubscriptionLogs: Output<Boolean>? = null)

Properties

Link copied to clipboard
val filteringTags: Output<List<FilteringTagArgs>>? = null

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.

Link copied to clipboard
val sendAadLogs: Output<Boolean>? = null

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

Link copied to clipboard
val sendActivityLogs: Output<Boolean>? = null

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

Link copied to clipboard
val sendSubscriptionLogs: Output<Boolean>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): LogRulesArgs