com.pulumi.azure.appservice.kotlin.inputs.SlotIdentityArgs.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.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.SlotIdentityArgs.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 managed identity ids to be assigned. Required if `type` is `UserAssigned`.
* @property principalId The Principal ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
* @property tenantId The Tenant ID for the Service Principal associated with the Managed Service Identity of this App Service slot.
* @property type Specifies the identity type of the App Service. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you), `UserAssigned` where you can specify the Service Principal IDs in the `identity_ids` field, and `SystemAssigned, UserAssigned` which assigns both a system managed identity as well as the specified user assigned identities.
* > **NOTE:** When `type` is set to `SystemAssigned`, The assigned `principal_id` and `tenant_id` can be retrieved after the App Service has been created. More details are available below.
*/
public data class SlotIdentityArgs(
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.appservice.inputs.SlotIdentityArgs =
com.pulumi.azure.appservice.inputs.SlotIdentityArgs.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 [SlotIdentityArgs].
*/
@PulumiTagMarker
public class SlotIdentityArgsBuilder 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 managed identity ids to be assigned. Required if `type` is `UserAssigned`.
*/
@JvmName("jbasfhvepxrxrlrw")
public suspend fun identityIds(`value`: Output>) {
this.identityIds = value
}
@JvmName("jxsirvjhagjwmdjw")
public suspend fun identityIds(vararg values: Output) {
this.identityIds = Output.all(values.asList())
}
/**
* @param values Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`.
*/
@JvmName("ngldjurhpjgqfwor")
public suspend fun identityIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy