
com.pulumi.azure.monitoring.kotlin.outputs.DataCollectionRuleDataSourcesWindowsEventLog.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.monitoring.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 DataCollectionRuleDataSourcesWindowsEventLog(
public val name: String,
public val streams: List,
public val xPathQueries: List,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.DataCollectionRuleDataSourcesWindowsEventLog):
DataCollectionRuleDataSourcesWindowsEventLog = DataCollectionRuleDataSourcesWindowsEventLog(
name = javaType.name(),
streams = javaType.streams().map({ args0 -> args0 }),
xPathQueries = javaType.xPathQueries().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy