com.pulumi.azure.servicebus.kotlin.inputs.GetQueueAuthorizationRulePlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.servicebus.kotlin.inputs
import com.pulumi.azure.servicebus.inputs.GetQueueAuthorizationRulePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getQueueAuthorizationRule.
* @property name The name of this ServiceBus Queue Authorisation Rule.
* @property namespaceName The name of the ServiceBus Namespace.
* @property queueId
* @property queueName The name of the ServiceBus Queue.
* @property resourceGroupName The name of the Resource Group where the ServiceBus Queue Authorisation Rule exists.
*/
public data class GetQueueAuthorizationRulePlainArgs(
public val name: String,
public val namespaceName: String? = null,
public val queueId: String? = null,
public val queueName: String? = null,
public val resourceGroupName: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.servicebus.inputs.GetQueueAuthorizationRulePlainArgs =
com.pulumi.azure.servicebus.inputs.GetQueueAuthorizationRulePlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.namespaceName(namespaceName?.let({ args0 -> args0 }))
.queueId(queueId?.let({ args0 -> args0 }))
.queueName(queueName?.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetQueueAuthorizationRulePlainArgs].
*/
@PulumiTagMarker
public class GetQueueAuthorizationRulePlainArgsBuilder internal constructor() {
private var name: String? = null
private var namespaceName: String? = null
private var queueId: String? = null
private var queueName: String? = null
private var resourceGroupName: String? = null
/**
* @param value The name of this ServiceBus Queue Authorisation Rule.
*/
@JvmName("dhmefdqjvawcrifr")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The name of the ServiceBus Namespace.
*/
@JvmName("xwqwxcjcfebrolyc")
public suspend fun namespaceName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.namespaceName = mapped
}
/**
* @param value
*/
@JvmName("wywnnrghenxhlkhk")
public suspend fun queueId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.queueId = mapped
}
/**
* @param value The name of the ServiceBus Queue.
*/
@JvmName("lcspyvumbhhwvtvw")
public suspend fun queueName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.queueName = mapped
}
/**
* @param value The name of the Resource Group where the ServiceBus Queue Authorisation Rule exists.
*/
@JvmName("pqoxuhvtummxdnkh")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetQueueAuthorizationRulePlainArgs = GetQueueAuthorizationRulePlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
namespaceName = namespaceName,
queueId = queueId,
queueName = queueName,
resourceGroupName = resourceGroupName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy