
com.pulumi.azurenative.containerinstance.kotlin.inputs.ContainerGroupIdentityArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.containerinstance.kotlin.inputs
import com.pulumi.azurenative.containerinstance.inputs.ContainerGroupIdentityArgs.builder
import com.pulumi.azurenative.containerinstance.kotlin.enums.ResourceIdentityType
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
/**
* Identity for the container group.
* @property type The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
* @property userAssignedIdentities The list of user identities associated with the container group.
*/
public data class ContainerGroupIdentityArgs(
public val type: Output? = null,
public val userAssignedIdentities: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.containerinstance.inputs.ContainerGroupIdentityArgs = com.pulumi.azurenative.containerinstance.inputs.ContainerGroupIdentityArgs.builder()
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.userAssignedIdentities(
userAssignedIdentities?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [ContainerGroupIdentityArgs].
*/
@PulumiTagMarker
public class ContainerGroupIdentityArgsBuilder internal constructor() {
private var type: Output? = null
private var userAssignedIdentities: Output>? = null
/**
* @param value The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group.
*/
@JvmName("dnadokjvnakyvxkm")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The list of user identities associated with the container group.
*/
@JvmName("qndlbdmwhjopvvrf")
public suspend fun userAssignedIdentities(`value`: Output>) {
this.userAssignedIdentities = value
}
@JvmName("qpfmlknxghovaqlf")
public suspend fun userAssignedIdentities(vararg values: Output) {
this.userAssignedIdentities = Output.all(values.asList())
}
/**
* @param values The list of user identities associated with the container group.
*/
@JvmName("sfsulknnwvxcrwac")
public suspend fun userAssignedIdentities(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy