com.pulumi.azure.chaosstudio.kotlin.inputs.ExperimentIdentityArgs.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.chaosstudio.kotlin.inputs
import com.pulumi.azure.chaosstudio.inputs.ExperimentIdentityArgs.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 A list of User Managed Identity IDs which should be assigned to the Policy Definition.
* > **NOTE:** This is required when `type` is set to `UserAssigned`.
* @property principalId The Principal ID associated with this Managed Service Identity.
* @property tenantId The Tenant ID associated with this Managed Service Identity.
* @property type The Type of Managed Identity which should be added to this Policy Definition. Possible values are `SystemAssigned` and `UserAssigned`.
*/
public data class ExperimentIdentityArgs(
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.chaosstudio.inputs.ExperimentIdentityArgs =
com.pulumi.azure.chaosstudio.inputs.ExperimentIdentityArgs.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 [ExperimentIdentityArgs].
*/
@PulumiTagMarker
public class ExperimentIdentityArgsBuilder internal constructor() {
private var identityIds: Output>? = null
private var principalId: Output? = null
private var tenantId: Output? = null
private var type: Output? = null
/**
* @param value A list of User Managed Identity IDs which should be assigned to the Policy Definition.
* > **NOTE:** This is required when `type` is set to `UserAssigned`.
*/
@JvmName("wpukqqlptbvrasyn")
public suspend fun identityIds(`value`: Output>) {
this.identityIds = value
}
@JvmName("brgqgmeqkulolxdj")
public suspend fun identityIds(vararg values: Output) {
this.identityIds = Output.all(values.asList())
}
/**
* @param values A list of User Managed Identity IDs which should be assigned to the Policy Definition.
* > **NOTE:** This is required when `type` is set to `UserAssigned`.
*/
@JvmName("veggjmhgfflyfayx")
public suspend fun identityIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy