com.pulumi.azure.monitoring.kotlin.outputs.DataCollectionRuleDataSourcesExtension.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property extensionJson A JSON String which specifies the extension setting.
* @property extensionName The name of the VM extension.
* @property inputDataSources Specifies a list of data sources this extension needs data from. An item should be a name of a supported data source which produces only one stream. Supported data sources type: `performance_counter`, `windows_event_log`,and `syslog`.
* @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`, `Microsoft-InsightsMetrics`, `Microsoft-Perf`, `Microsoft-Syslog`, `Microsoft-WindowsEvent`.
*/
public data class DataCollectionRuleDataSourcesExtension(
public val extensionJson: String? = null,
public val extensionName: String,
public val inputDataSources: List? = null,
public val name: String,
public val streams: List,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.DataCollectionRuleDataSourcesExtension):
DataCollectionRuleDataSourcesExtension = DataCollectionRuleDataSourcesExtension(
extensionJson = javaType.extensionJson().map({ args0 -> args0 }).orElse(null),
extensionName = javaType.extensionName(),
inputDataSources = javaType.inputDataSources().map({ args0 -> args0 }),
name = javaType.name(),
streams = javaType.streams().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy