![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.insights.kotlin.inputs.WindowsEventLogDataSourceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.insights.kotlin.inputs
import com.pulumi.azurenative.insights.inputs.WindowsEventLogDataSourceArgs.builder
import com.pulumi.azurenative.insights.kotlin.enums.KnownWindowsEventLogDataSourceStreams
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of which Windows Event Log events will be collected and how they will be collected.
* Only collected from Windows machines.
* @property name A friendly name for the data source.
* This name should be unique across all data sources (regardless of type) within the data collection rule.
* @property streams 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.
* @property xPathQueries A list of Windows Event Log queries in XPATH format.
*/
public data class WindowsEventLogDataSourceArgs(
public val name: Output? = null,
public val streams: Output>>? = null,
public val xPathQueries: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.WindowsEventLogDataSourceArgs =
com.pulumi.azurenative.insights.inputs.WindowsEventLogDataSourceArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.streams(
streams?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
})
}),
)
.xPathQueries(xPathQueries?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [WindowsEventLogDataSourceArgs].
*/
@PulumiTagMarker
public class WindowsEventLogDataSourceArgsBuilder internal constructor() {
private var name: Output? = null
private var streams: Output>>? = null
private var xPathQueries: Output>? = null
/**
* @param value A friendly name for the data source.
* This name should be unique across all data sources (regardless of type) within the data collection rule.
*/
@JvmName("vjihadsfmjihfixd")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value 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.
*/
@JvmName("idmyclgkxtrupedn")
public suspend fun streams(`value`: Output>>) {
this.streams = value
}
@JvmName("gcstfhvlodkvqeoy")
public suspend fun streams(vararg values: Output>) {
this.streams = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("qqyrubxhvbaaktjd")
public suspend fun streams(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy