![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.eventgrid.kotlin.inputs.SystemTopicEventSubscriptionAzureFunctionEndpointArgs.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.eventgrid.kotlin.inputs
import com.pulumi.azure.eventgrid.inputs.SystemTopicEventSubscriptionAzureFunctionEndpointArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property functionId Specifies the ID of the Function where the Event Subscription will receive events. This must be the functions ID in format {function_app.id}/functions/{name}.
* @property maxEventsPerBatch Maximum number of events per batch.
* @property preferredBatchSizeInKilobytes Preferred batch size in Kilobytes.
*/
public data class SystemTopicEventSubscriptionAzureFunctionEndpointArgs(
public val functionId: Output,
public val maxEventsPerBatch: Output? = null,
public val preferredBatchSizeInKilobytes: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.eventgrid.inputs.SystemTopicEventSubscriptionAzureFunctionEndpointArgs =
com.pulumi.azure.eventgrid.inputs.SystemTopicEventSubscriptionAzureFunctionEndpointArgs.builder()
.functionId(functionId.applyValue({ args0 -> args0 }))
.maxEventsPerBatch(maxEventsPerBatch?.applyValue({ args0 -> args0 }))
.preferredBatchSizeInKilobytes(
preferredBatchSizeInKilobytes?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [SystemTopicEventSubscriptionAzureFunctionEndpointArgs].
*/
@PulumiTagMarker
public class SystemTopicEventSubscriptionAzureFunctionEndpointArgsBuilder internal constructor() {
private var functionId: Output? = null
private var maxEventsPerBatch: Output? = null
private var preferredBatchSizeInKilobytes: Output? = null
/**
* @param value Specifies the ID of the Function where the Event Subscription will receive events. This must be the functions ID in format {function_app.id}/functions/{name}.
*/
@JvmName("subpxkndshaewqah")
public suspend fun functionId(`value`: Output) {
this.functionId = value
}
/**
* @param value Maximum number of events per batch.
*/
@JvmName("pkolnqudcdrqbkjv")
public suspend fun maxEventsPerBatch(`value`: Output) {
this.maxEventsPerBatch = value
}
/**
* @param value Preferred batch size in Kilobytes.
*/
@JvmName("xcmdcfjkhqeuptfl")
public suspend fun preferredBatchSizeInKilobytes(`value`: Output) {
this.preferredBatchSizeInKilobytes = value
}
/**
* @param value Specifies the ID of the Function where the Event Subscription will receive events. This must be the functions ID in format {function_app.id}/functions/{name}.
*/
@JvmName("tdqhwjgqamerfwnv")
public suspend fun functionId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.functionId = mapped
}
/**
* @param value Maximum number of events per batch.
*/
@JvmName("lngxjomsrskoqhaw")
public suspend fun maxEventsPerBatch(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maxEventsPerBatch = mapped
}
/**
* @param value Preferred batch size in Kilobytes.
*/
@JvmName("aqvsigtfbqdrnrgj")
public suspend fun preferredBatchSizeInKilobytes(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.preferredBatchSizeInKilobytes = mapped
}
internal fun build(): SystemTopicEventSubscriptionAzureFunctionEndpointArgs =
SystemTopicEventSubscriptionAzureFunctionEndpointArgs(
functionId = functionId ?: throw PulumiNullFieldException("functionId"),
maxEventsPerBatch = maxEventsPerBatch,
preferredBatchSizeInKilobytes = preferredBatchSizeInKilobytes,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy