![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.iotoperations.kotlin.inputs.PrincipalDefinitionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.iotoperations.kotlin.inputs
import com.pulumi.azurenative.iotoperations.inputs.PrincipalDefinitionArgs.builder
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.collections.Map
import kotlin.jvm.JvmName
/**
* PrincipalDefinition properties of Rule
* @property attributes A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
* @property clientIds A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.
* @property usernames A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.
*/
public data class PrincipalDefinitionArgs(
public val attributes: Output>>? = null,
public val clientIds: Output>? = null,
public val usernames: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.iotoperations.inputs.PrincipalDefinitionArgs =
com.pulumi.azurenative.iotoperations.inputs.PrincipalDefinitionArgs.builder()
.attributes(
attributes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.map({ args0 ->
args0.key.to(args0.value)
}).toMap()
})
}),
)
.clientIds(clientIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.usernames(usernames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [PrincipalDefinitionArgs].
*/
@PulumiTagMarker
public class PrincipalDefinitionArgsBuilder internal constructor() {
private var attributes: Output>>? = null
private var clientIds: Output>? = null
private var usernames: Output>? = null
/**
* @param value A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.
*/
@JvmName("dtjnkduficqgoxng")
public suspend fun attributes(`value`: Output>>) {
this.attributes = value
}
@JvmName("rjmmpdghdhktippv")
public suspend fun attributes(vararg values: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy