com.pulumi.azure.webpubsub.kotlin.inputs.HubEventHandlerAuthArgs.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.webpubsub.kotlin.inputs
import com.pulumi.azure.webpubsub.inputs.HubEventHandlerAuthArgs.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 managedIdentityId Specify the identity ID of the target resource.
* > **NOTE:** `managed_identity_id` is required if the auth block is defined
*/
public data class HubEventHandlerAuthArgs(
public val managedIdentityId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.webpubsub.inputs.HubEventHandlerAuthArgs =
com.pulumi.azure.webpubsub.inputs.HubEventHandlerAuthArgs.builder()
.managedIdentityId(managedIdentityId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [HubEventHandlerAuthArgs].
*/
@PulumiTagMarker
public class HubEventHandlerAuthArgsBuilder internal constructor() {
private var managedIdentityId: Output? = null
/**
* @param value Specify the identity ID of the target resource.
* > **NOTE:** `managed_identity_id` is required if the auth block is defined
*/
@JvmName("jlpmrwxqcyqnhnww")
public suspend fun managedIdentityId(`value`: Output) {
this.managedIdentityId = value
}
/**
* @param value Specify the identity ID of the target resource.
* > **NOTE:** `managed_identity_id` is required if the auth block is defined
*/
@JvmName("yudvkhsyyoipjfrr")
public suspend fun managedIdentityId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.managedIdentityId = mapped
}
internal fun build(): HubEventHandlerAuthArgs = HubEventHandlerAuthArgs(
managedIdentityId = managedIdentityId ?: throw PulumiNullFieldException("managedIdentityId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy