com.pulumi.azurenative.eventhub.kotlin.inputs.IdentityArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.eventhub.kotlin.inputs
import com.pulumi.azurenative.eventhub.inputs.IdentityArgs.builder
import com.pulumi.azurenative.eventhub.kotlin.enums.ManagedServiceIdentityType
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
/**
* Properties to configure Identity for Bring your Own Keys
* @property type Type of managed service identity.
* @property userAssignedIdentities Properties for User Assigned Identities
*/
public data class IdentityArgs(
public val type: Output? = null,
public val userAssignedIdentities: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.eventhub.inputs.IdentityArgs =
com.pulumi.azurenative.eventhub.inputs.IdentityArgs.builder()
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.userAssignedIdentities(
userAssignedIdentities?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [IdentityArgs].
*/
@PulumiTagMarker
public class IdentityArgsBuilder internal constructor() {
private var type: Output? = null
private var userAssignedIdentities: Output>? = null
/**
* @param value Type of managed service identity.
*/
@JvmName("wyrpyvujjxexdkrp")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Properties for User Assigned Identities
*/
@JvmName("ycsmxmwxxbwfhsfv")
public suspend fun userAssignedIdentities(`value`: Output>) {
this.userAssignedIdentities = value
}
@JvmName("tbuighbfiiqffnxx")
public suspend fun userAssignedIdentities(vararg values: Output) {
this.userAssignedIdentities = Output.all(values.asList())
}
/**
* @param values Properties for User Assigned Identities
*/
@JvmName("jvacfyanldffxdop")
public suspend fun userAssignedIdentities(values: List