com.pulumi.azure.servicebus.kotlin.inputs.GetTopicAuthorizationRulePlainArgs.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.GetTopicAuthorizationRulePlainArgs.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 getTopicAuthorizationRule.
* @property name The name of the ServiceBus Topic Authorization Rule resource.
* @property namespaceName The name of the ServiceBus Namespace.
* @property queueName
* @property resourceGroupName The name of the resource group in which the ServiceBus Namespace exists.
* @property topicId
* @property topicName The name of the ServiceBus Topic.
*/
public data class GetTopicAuthorizationRulePlainArgs(
public val name: String,
public val namespaceName: String? = null,
public val queueName: String? = null,
public val resourceGroupName: String? = null,
public val topicId: String? = null,
public val topicName: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.servicebus.inputs.GetTopicAuthorizationRulePlainArgs =
com.pulumi.azure.servicebus.inputs.GetTopicAuthorizationRulePlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.namespaceName(namespaceName?.let({ args0 -> args0 }))
.queueName(queueName?.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName?.let({ args0 -> args0 }))
.topicId(topicId?.let({ args0 -> args0 }))
.topicName(topicName?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetTopicAuthorizationRulePlainArgs].
*/
@PulumiTagMarker
public class GetTopicAuthorizationRulePlainArgsBuilder internal constructor() {
private var name: String? = null
private var namespaceName: String? = null
private var queueName: String? = null
private var resourceGroupName: String? = null
private var topicId: String? = null
private var topicName: String? = null
/**
* @param value The name of the ServiceBus Topic Authorization Rule resource.
*/
@JvmName("gyjbqgimdpfcnyco")
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("wrkhvpdqptmajhhy")
public suspend fun namespaceName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.namespaceName = mapped
}
/**
* @param value
*/
@JvmName("frwxrdrguuqqeadx")
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 in which the ServiceBus Namespace exists.
*/
@JvmName("fatxbuxarentglau")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value
*/
@JvmName("eqcceonstmnoaxro")
public suspend fun topicId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.topicId = mapped
}
/**
* @param value The name of the ServiceBus Topic.
*/
@JvmName("jeguqjslvxfjwuap")
public suspend fun topicName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.topicName = mapped
}
internal fun build(): GetTopicAuthorizationRulePlainArgs = GetTopicAuthorizationRulePlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
namespaceName = namespaceName,
queueName = queueName,
resourceGroupName = resourceGroupName,
topicId = topicId,
topicName = topicName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy