![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.eventgrid.kotlin.inputs.WebHookEventSubscriptionDestinationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.eventgrid.kotlin.inputs
import com.pulumi.azurenative.eventgrid.inputs.WebHookEventSubscriptionDestinationArgs.builder
import com.pulumi.core.Either
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.collections.List
import kotlin.jvm.JvmName
/**
* Information about the webhook destination for an event subscription.
* @property azureActiveDirectoryApplicationIdOrUri The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
* @property azureActiveDirectoryTenantId The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
* @property deliveryAttributeMappings Delivery attribute details.
* @property endpointType Type of the endpoint for the event subscription destination.
* Expected value is 'WebHook'.
* @property endpointUrl The URL that represents the endpoint of the destination of an event subscription.
* @property maxEventsPerBatch Maximum number of events per batch.
* @property preferredBatchSizeInKilobytes Preferred batch size in Kilobytes.
*/
public data class WebHookEventSubscriptionDestinationArgs(
public val azureActiveDirectoryApplicationIdOrUri: Output? = null,
public val azureActiveDirectoryTenantId: Output? = null,
public val deliveryAttributeMappings: Output>>? =
null,
public val endpointType: Output,
public val endpointUrl: Output? = null,
public val maxEventsPerBatch: Output? = null,
public val preferredBatchSizeInKilobytes: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.eventgrid.inputs.WebHookEventSubscriptionDestinationArgs =
com.pulumi.azurenative.eventgrid.inputs.WebHookEventSubscriptionDestinationArgs.builder()
.azureActiveDirectoryApplicationIdOrUri(
azureActiveDirectoryApplicationIdOrUri?.applyValue({ args0 ->
args0
}),
)
.azureActiveDirectoryTenantId(azureActiveDirectoryTenantId?.applyValue({ args0 -> args0 }))
.deliveryAttributeMappings(
deliveryAttributeMappings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform({ args0 -> args0.let({ args0 -> args0.toJava() }) }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
})
}),
)
.endpointType(endpointType.applyValue({ args0 -> args0 }))
.endpointUrl(endpointUrl?.applyValue({ args0 -> args0 }))
.maxEventsPerBatch(maxEventsPerBatch?.applyValue({ args0 -> args0 }))
.preferredBatchSizeInKilobytes(
preferredBatchSizeInKilobytes?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [WebHookEventSubscriptionDestinationArgs].
*/
@PulumiTagMarker
public class WebHookEventSubscriptionDestinationArgsBuilder internal constructor() {
private var azureActiveDirectoryApplicationIdOrUri: Output? = null
private var azureActiveDirectoryTenantId: Output? = null
private var deliveryAttributeMappings:
Output>>? =
null
private var endpointType: Output? = null
private var endpointUrl: Output? = null
private var maxEventsPerBatch: Output? = null
private var preferredBatchSizeInKilobytes: Output? = null
/**
* @param value The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.
*/
@JvmName("jcaxhavmchtxyugh")
public suspend fun azureActiveDirectoryApplicationIdOrUri(`value`: Output) {
this.azureActiveDirectoryApplicationIdOrUri = value
}
/**
* @param value The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.
*/
@JvmName("ltvforkndqjvrqpx")
public suspend fun azureActiveDirectoryTenantId(`value`: Output) {
this.azureActiveDirectoryTenantId = value
}
/**
* @param value Delivery attribute details.
*/
@JvmName("gmpmtdwarwvvqnrv")
public suspend fun deliveryAttributeMappings(`value`: Output>>) {
this.deliveryAttributeMappings = value
}
@JvmName("ibglbbaxeooppqim")
public suspend fun deliveryAttributeMappings(vararg values: Output>) {
this.deliveryAttributeMappings = Output.all(values.asList())
}
/**
* @param values Delivery attribute details.
*/
@JvmName("qunkegguybkfbyoe")
public suspend fun deliveryAttributeMappings(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy