com.pulumi.azure.eventhub.kotlin.outputs.EventSubscriptionAzureFunctionEndpoint.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.eventhub.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @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 EventSubscriptionAzureFunctionEndpoint(
public val functionId: String,
public val maxEventsPerBatch: Int? = null,
public val preferredBatchSizeInKilobytes: Int? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.eventhub.outputs.EventSubscriptionAzureFunctionEndpoint):
EventSubscriptionAzureFunctionEndpoint = EventSubscriptionAzureFunctionEndpoint(
functionId = javaType.functionId(),
maxEventsPerBatch = javaType.maxEventsPerBatch().map({ args0 -> args0 }).orElse(null),
preferredBatchSizeInKilobytes = javaType.preferredBatchSizeInKilobytes().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy