com.pulumi.azure.monitoring.kotlin.inputs.DataCollectionRuleDataSourcesWindowsEventLogArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.monitoring.kotlin.inputs
import com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesWindowsEventLogArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property name The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.
* @property streams Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to. Possible values include but not limited to `Microsoft-Event`,and `Microsoft-WindowsEvent`, `Microsoft-RomeDetectionEvent`, and `Microsoft-SecurityEvent`.
* @property xPathQueries Specifies a list of Windows Event Log queries in XPath expression. Please see [this document](https://learn.microsoft.com/en-us/azure/azure-monitor/agents/data-collection-rule-azure-monitor-agent?tabs=cli#filter-events-using-xpath-queries) for more information.
*/
public data class DataCollectionRuleDataSourcesWindowsEventLogArgs(
public val name: Output,
public val streams: Output>,
public val xPathQueries: Output>,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesWindowsEventLogArgs =
com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesWindowsEventLogArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.streams(streams.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.xPathQueries(xPathQueries.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DataCollectionRuleDataSourcesWindowsEventLogArgs].
*/
@PulumiTagMarker
public class DataCollectionRuleDataSourcesWindowsEventLogArgsBuilder internal constructor() {
private var name: Output? = null
private var streams: Output>? = null
private var xPathQueries: Output>? = null
/**
* @param value The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.
*/
@JvmName("mgknvgyvocurpilm")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to. Possible values include but not limited to `Microsoft-Event`,and `Microsoft-WindowsEvent`, `Microsoft-RomeDetectionEvent`, and `Microsoft-SecurityEvent`.
*/
@JvmName("hxxvyxwujtvlcogx")
public suspend fun streams(`value`: Output>) {
this.streams = value
}
@JvmName("eqkjlrpcrqpmdvew")
public suspend fun streams(vararg values: Output) {
this.streams = Output.all(values.asList())
}
/**
* @param values Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to. Possible values include but not limited to `Microsoft-Event`,and `Microsoft-WindowsEvent`, `Microsoft-RomeDetectionEvent`, and `Microsoft-SecurityEvent`.
*/
@JvmName("vkinvlrssirmgnvu")
public suspend fun streams(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy