com.pulumi.azure.mysql.kotlin.inputs.FlexibleServerIdentityArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.mysql.kotlin.inputs
import com.pulumi.azure.mysql.inputs.FlexibleServerIdentityArgs.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 Assigned Managed Identity IDs to be assigned to this MySQL Flexible Server.
* @property type Specifies the type of Managed Service Identity that should be configured on this MySQL Flexible Server. The only possible value is `UserAssigned`.
*/
public data class FlexibleServerIdentityArgs(
public val identityIds: Output>,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.mysql.inputs.FlexibleServerIdentityArgs =
com.pulumi.azure.mysql.inputs.FlexibleServerIdentityArgs.builder()
.identityIds(identityIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FlexibleServerIdentityArgs].
*/
@PulumiTagMarker
public class FlexibleServerIdentityArgsBuilder internal constructor() {
private var identityIds: Output>? = null
private var type: Output? = null
/**
* @param value A list of User Assigned Managed Identity IDs to be assigned to this MySQL Flexible Server.
*/
@JvmName("mjccbsrnsnxiilwl")
public suspend fun identityIds(`value`: Output>) {
this.identityIds = value
}
@JvmName("kcpfiwfdrvdipehu")
public suspend fun identityIds(vararg values: Output) {
this.identityIds = Output.all(values.asList())
}
/**
* @param values A list of User Assigned Managed Identity IDs to be assigned to this MySQL Flexible Server.
*/
@JvmName("daglehxohhpwdlci")
public suspend fun identityIds(values: List