
com.pulumi.azurenative.streamanalytics.kotlin.inputs.TransformationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.streamanalytics.kotlin.inputs
import com.pulumi.azurenative.streamanalytics.inputs.TransformationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job.
* @property name Resource name
* @property query Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests.
* @property streamingUnits Specifies the number of streaming units that the streaming job uses.
* @property validStreamingUnits Specifies the valid streaming units a streaming job can scale to.
*/
public data class TransformationArgs(
public val name: Output? = null,
public val query: Output? = null,
public val streamingUnits: Output? = null,
public val validStreamingUnits: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.streamanalytics.inputs.TransformationArgs =
com.pulumi.azurenative.streamanalytics.inputs.TransformationArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.query(query?.applyValue({ args0 -> args0 }))
.streamingUnits(streamingUnits?.applyValue({ args0 -> args0 }))
.validStreamingUnits(
validStreamingUnits?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [TransformationArgs].
*/
@PulumiTagMarker
public class TransformationArgsBuilder internal constructor() {
private var name: Output? = null
private var query: Output? = null
private var streamingUnits: Output? = null
private var validStreamingUnits: Output>? = null
/**
* @param value Resource name
*/
@JvmName("ognlacekdmyiglos")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests.
*/
@JvmName("aivjsxlvylkwmtxu")
public suspend fun query(`value`: Output) {
this.query = value
}
/**
* @param value Specifies the number of streaming units that the streaming job uses.
*/
@JvmName("fnofcwwashhtpnik")
public suspend fun streamingUnits(`value`: Output) {
this.streamingUnits = value
}
/**
* @param value Specifies the valid streaming units a streaming job can scale to.
*/
@JvmName("mtjermoloumktjcs")
public suspend fun validStreamingUnits(`value`: Output>) {
this.validStreamingUnits = value
}
@JvmName("rgccmpjoojpeekmp")
public suspend fun validStreamingUnits(vararg values: Output) {
this.validStreamingUnits = Output.all(values.asList())
}
/**
* @param values Specifies the valid streaming units a streaming job can scale to.
*/
@JvmName("heiedaiklnhowhav")
public suspend fun validStreamingUnits(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy