![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.monitoring.kotlin.inputs.DataCollectionRuleDataFlowArgs.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.DataCollectionRuleDataFlowArgs.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 builtInTransform The built-in transform to transform stream data.
* @property destinations Specifies a list of destination names. A `azure_monitor_metrics` data source only allows for stream of kind `Microsoft-InsightsMetrics`.
* @property outputStream The output stream of the transform. Only required if the data flow changes data to a different stream.
* @property streams Specifies a list of streams. Possible values include but not limited to `Microsoft-Event`, `Microsoft-InsightsMetrics`, `Microsoft-Perf`, `Microsoft-Syslog`, `Microsoft-WindowsEvent`, and `Microsoft-PrometheusMetrics`.
* @property transformKql The KQL query to transform stream data.
*/
public data class DataCollectionRuleDataFlowArgs(
public val builtInTransform: Output? = null,
public val destinations: Output>,
public val outputStream: Output? = null,
public val streams: Output>,
public val transformKql: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataFlowArgs =
com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataFlowArgs.builder()
.builtInTransform(builtInTransform?.applyValue({ args0 -> args0 }))
.destinations(destinations.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.outputStream(outputStream?.applyValue({ args0 -> args0 }))
.streams(streams.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.transformKql(transformKql?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataCollectionRuleDataFlowArgs].
*/
@PulumiTagMarker
public class DataCollectionRuleDataFlowArgsBuilder internal constructor() {
private var builtInTransform: Output? = null
private var destinations: Output>? = null
private var outputStream: Output? = null
private var streams: Output>? = null
private var transformKql: Output? = null
/**
* @param value The built-in transform to transform stream data.
*/
@JvmName("juyhginxhktnyyfo")
public suspend fun builtInTransform(`value`: Output) {
this.builtInTransform = value
}
/**
* @param value Specifies a list of destination names. A `azure_monitor_metrics` data source only allows for stream of kind `Microsoft-InsightsMetrics`.
*/
@JvmName("xduyduavoptahewj")
public suspend fun destinations(`value`: Output>) {
this.destinations = value
}
@JvmName("ojvocjqoxrjkmuxb")
public suspend fun destinations(vararg values: Output) {
this.destinations = Output.all(values.asList())
}
/**
* @param values Specifies a list of destination names. A `azure_monitor_metrics` data source only allows for stream of kind `Microsoft-InsightsMetrics`.
*/
@JvmName("aktgrrxkarjihhtk")
public suspend fun destinations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy