com.pulumi.azure.nginx.kotlin.inputs.DeploymentIdentityArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.nginx.kotlin.inputs
import com.pulumi.azure.nginx.inputs.DeploymentIdentityArgs.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.
* > **NOTE:** This is required when `type` is set to `UserAssigned`.
* @property principalId
* @property tenantId
* @property type Specifies the identity type of the NGINX Deployment. Possible values are `SystemAssigned`, `UserAssigned` or `SystemAssigned, UserAssigned`.
*/
public data class DeploymentIdentityArgs(
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.nginx.inputs.DeploymentIdentityArgs =
com.pulumi.azure.nginx.inputs.DeploymentIdentityArgs.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 [DeploymentIdentityArgs].
*/
@PulumiTagMarker
public class DeploymentIdentityArgsBuilder 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.
* > **NOTE:** This is required when `type` is set to `UserAssigned`.
*/
@JvmName("ujgauafufictuvod")
public suspend fun identityIds(`value`: Output>) {
this.identityIds = value
}
@JvmName("edtrxuagmgkuyswe")
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.
* > **NOTE:** This is required when `type` is set to `UserAssigned`.
*/
@JvmName("nqmxnmwdmmomxlgq")
public suspend fun identityIds(values: List