![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.digitaltwins.kotlin.inputs.DigitalTwinsIdentityArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.digitaltwins.kotlin.inputs
import com.pulumi.azurenative.digitaltwins.inputs.DigitalTwinsIdentityArgs.builder
import com.pulumi.azurenative.digitaltwins.kotlin.enums.DigitalTwinsIdentityType
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The managed identity for the DigitalTwinsInstance.
* @property type The type of Managed Identity used by the DigitalTwinsInstance.
* @property userAssignedIdentities The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
* .
*/
public data class DigitalTwinsIdentityArgs(
public val type: Output>? = null,
public val userAssignedIdentities: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.digitaltwins.inputs.DigitalTwinsIdentityArgs =
com.pulumi.azurenative.digitaltwins.inputs.DigitalTwinsIdentityArgs.builder()
.type(
type?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.userAssignedIdentities(
userAssignedIdentities?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [DigitalTwinsIdentityArgs].
*/
@PulumiTagMarker
public class DigitalTwinsIdentityArgsBuilder internal constructor() {
private var type: Output>? = null
private var userAssignedIdentities: Output>? = null
/**
* @param value The type of Managed Identity used by the DigitalTwinsInstance.
*/
@JvmName("hcltfyqcwonecpgx")
public suspend fun type(`value`: Output>) {
this.type = value
}
/**
* @param value The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
* .
*/
@JvmName("kalhwpmpwrrjltda")
public suspend fun userAssignedIdentities(`value`: Output>) {
this.userAssignedIdentities = value
}
@JvmName("uquxqhnwvqyvsewn")
public suspend fun userAssignedIdentities(vararg values: Output) {
this.userAssignedIdentities = Output.all(values.asList())
}
/**
* @param values The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
* .
*/
@JvmName("rxgyvgknsmwbjyka")
public suspend fun userAssignedIdentities(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy