![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.iotoperationsmq.kotlin.inputs.AuthorizationBasicRuleArgs.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.iotoperationsmq.kotlin.inputs
import com.pulumi.azurenative.iotoperationsmq.inputs.AuthorizationBasicRuleArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* BasicRules of AuthorizationConfig Polar rules are not supported
* @property brokerResources This subfield defines the broker resources that the Basic Rule is applied on.
* @property principals This subfield defines the identities that represent the clients.
*/
public data class AuthorizationBasicRuleArgs(
public val brokerResources: Output>,
public val principals: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.iotoperationsmq.inputs.AuthorizationBasicRuleArgs =
com.pulumi.azurenative.iotoperationsmq.inputs.AuthorizationBasicRuleArgs.builder()
.brokerResources(
brokerResources.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.principals(principals.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AuthorizationBasicRuleArgs].
*/
@PulumiTagMarker
public class AuthorizationBasicRuleArgsBuilder internal constructor() {
private var brokerResources: Output>? = null
private var principals: Output? = null
/**
* @param value This subfield defines the broker resources that the Basic Rule is applied on.
*/
@JvmName("tjlbarocfkmbmmel")
public suspend fun brokerResources(`value`: Output>) {
this.brokerResources = value
}
@JvmName("usjyrmdqhdqfivwu")
public suspend fun brokerResources(vararg values: Output) {
this.brokerResources = Output.all(values.asList())
}
/**
* @param values This subfield defines the broker resources that the Basic Rule is applied on.
*/
@JvmName("egkaclgoyoddjaue")
public suspend fun brokerResources(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy