com.pulumi.azure.servicebus.kotlin.inputs.NamespaceIdentityArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.servicebus.kotlin.inputs
import com.pulumi.azure.servicebus.inputs.NamespaceIdentityArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property identityIds Specifies a list of User Assigned Managed Identity IDs to be assigned to this ServiceBus namespace.
* > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
* @property principalId The Principal ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
* @property tenantId The Tenant ID for the Service Principal associated with the Managed Service Identity of this ServiceBus Namespace.
* @property type Specifies the type of Managed Service Identity that should be configured on this ServiceBus Namespace. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
*/
public data class NamespaceIdentityArgs(
public val identityIds: Output>? = null,
public val principalId: Output? = null,
public val tenantId: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.servicebus.inputs.NamespaceIdentityArgs =
com.pulumi.azure.servicebus.inputs.NamespaceIdentityArgs.builder()
.identityIds(identityIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.principalId(principalId?.applyValue({ args0 -> args0 }))
.tenantId(tenantId?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NamespaceIdentityArgs].
*/
@PulumiTagMarker
public class NamespaceIdentityArgsBuilder internal constructor() {
private var identityIds: Output>? = null
private var principalId: Output? = null
private var tenantId: Output? = null
private var type: Output? = null
/**
* @param value Specifies a list of User Assigned Managed Identity IDs to be assigned to this ServiceBus namespace.
* > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
*/
@JvmName("xjpyvmkuokiekchs")
public suspend fun identityIds(`value`: Output>) {
this.identityIds = value
}
@JvmName("hhhqldotknqsoyge")
public suspend fun identityIds(vararg values: Output) {
this.identityIds = Output.all(values.asList())
}
/**
* @param values Specifies a list of User Assigned Managed Identity IDs to be assigned to this ServiceBus namespace.
* > **NOTE:** This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
*/
@JvmName("bxbevahdlblgownf")
public suspend fun identityIds(values: List