![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.eventhub.kotlin.inputs.EventSubscriptionDeliveryIdentityArgs.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.inputs
import com.pulumi.azure.eventhub.inputs.EventSubscriptionDeliveryIdentityArgs.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.jvm.JvmName
/**
*
* @property type Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is `SystemAssigned`, `UserAssigned`.
* @property userAssignedIdentity The user identity associated with the resource.
*/
public data class EventSubscriptionDeliveryIdentityArgs(
public val type: Output,
public val userAssignedIdentity: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.eventhub.inputs.EventSubscriptionDeliveryIdentityArgs =
com.pulumi.azure.eventhub.inputs.EventSubscriptionDeliveryIdentityArgs.builder()
.type(type.applyValue({ args0 -> args0 }))
.userAssignedIdentity(userAssignedIdentity?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EventSubscriptionDeliveryIdentityArgs].
*/
@PulumiTagMarker
public class EventSubscriptionDeliveryIdentityArgsBuilder internal constructor() {
private var type: Output? = null
private var userAssignedIdentity: Output? = null
/**
* @param value Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is `SystemAssigned`, `UserAssigned`.
*/
@JvmName("uiairguttaruxtlk")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The user identity associated with the resource.
*/
@JvmName("tvthrjipudkvdanw")
public suspend fun userAssignedIdentity(`value`: Output) {
this.userAssignedIdentity = value
}
/**
* @param value Specifies the type of Managed Service Identity that is used for event delivery. Allowed value is `SystemAssigned`, `UserAssigned`.
*/
@JvmName("vpgshqqujdpvugra")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value The user identity associated with the resource.
*/
@JvmName("xnrlfywbduiumeiq")
public suspend fun userAssignedIdentity(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.userAssignedIdentity = mapped
}
internal fun build(): EventSubscriptionDeliveryIdentityArgs =
EventSubscriptionDeliveryIdentityArgs(
type = type ?: throw PulumiNullFieldException("type"),
userAssignedIdentity = userAssignedIdentity,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy