com.pulumi.azure.monitoring.kotlin.inputs.DataCollectionRuleDataSourcesExtensionArgs.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.DataCollectionRuleDataSourcesExtensionArgs.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 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 DataCollectionRuleDataSourcesExtensionArgs(
public val extensionJson: Output? = null,
public val extensionName: Output,
public val inputDataSources: Output>? = null,
public val name: Output,
public val streams: Output>,
) : ConvertibleToJava {
override fun toJava():
com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesExtensionArgs =
com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesExtensionArgs.builder()
.extensionJson(extensionJson?.applyValue({ args0 -> args0 }))
.extensionName(extensionName.applyValue({ args0 -> args0 }))
.inputDataSources(inputDataSources?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.name(name.applyValue({ args0 -> args0 }))
.streams(streams.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DataCollectionRuleDataSourcesExtensionArgs].
*/
@PulumiTagMarker
public class DataCollectionRuleDataSourcesExtensionArgsBuilder internal constructor() {
private var extensionJson: Output? = null
private var extensionName: Output? = null
private var inputDataSources: Output>? = null
private var name: Output? = null
private var streams: Output>? = null
/**
* @param value A JSON String which specifies the extension setting.
*/
@JvmName("hedtsgkamiroknpa")
public suspend fun extensionJson(`value`: Output) {
this.extensionJson = value
}
/**
* @param value The name of the VM extension.
*/
@JvmName("vvqjgvqdutatluim")
public suspend fun extensionName(`value`: Output) {
this.extensionName = value
}
/**
* @param value 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`.
*/
@JvmName("ynsmtoiblugulsfi")
public suspend fun inputDataSources(`value`: Output>) {
this.inputDataSources = value
}
@JvmName("btkhkccwsdvhgypp")
public suspend fun inputDataSources(vararg values: Output) {
this.inputDataSources = Output.all(values.asList())
}
/**
* @param values 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`.
*/
@JvmName("trhqipipwqkmtpeh")
public suspend fun inputDataSources(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy