com.pulumi.azure.netapp.kotlin.inputs.AccountIdentityArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.netapp.kotlin.inputs
import com.pulumi.azure.netapp.inputs.AccountIdentityArgs.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 The identity id of the user assigned identity to use when type is `UserAssigned`
* @property principalId
* @property tenantId
* @property type The identity type, which can be `SystemAssigned` or `UserAssigned`. Only one type at a time is supported by Azure NetApp Files.
*/
public data class AccountIdentityArgs(
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.netapp.inputs.AccountIdentityArgs =
com.pulumi.azure.netapp.inputs.AccountIdentityArgs.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 [AccountIdentityArgs].
*/
@PulumiTagMarker
public class AccountIdentityArgsBuilder internal constructor() {
private var identityIds: Output>? = null
private var principalId: Output? = null
private var tenantId: Output? = null
private var type: Output? = null
/**
* @param value The identity id of the user assigned identity to use when type is `UserAssigned`
*/
@JvmName("jqrarnadcpcelfum")
public suspend fun identityIds(`value`: Output>) {
this.identityIds = value
}
@JvmName("lqfalkesmtvtmmfe")
public suspend fun identityIds(vararg values: Output) {
this.identityIds = Output.all(values.asList())
}
/**
* @param values The identity id of the user assigned identity to use when type is `UserAssigned`
*/
@JvmName("ucwoqsiwengjnfrc")
public suspend fun identityIds(values: List