com.pulumi.azure.eventhub.kotlin.inputs.GetNamespaceAuthorizationRulePlainArgs.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.eventhub.kotlin.inputs
import com.pulumi.azure.eventhub.inputs.GetNamespaceAuthorizationRulePlainArgs.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 getNamespaceAuthorizationRule.
* @property name The name of the EventHub Authorization Rule resource.
* @property namespaceName Specifies the name of the EventHub Namespace.
* @property resourceGroupName The name of the resource group in which the EventHub Namespace exists.
*/
public data class GetNamespaceAuthorizationRulePlainArgs(
public val name: String,
public val namespaceName: String,
public val resourceGroupName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.eventhub.inputs.GetNamespaceAuthorizationRulePlainArgs =
com.pulumi.azure.eventhub.inputs.GetNamespaceAuthorizationRulePlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.namespaceName(namespaceName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetNamespaceAuthorizationRulePlainArgs].
*/
@PulumiTagMarker
public class GetNamespaceAuthorizationRulePlainArgsBuilder internal constructor() {
private var name: String? = null
private var namespaceName: String? = null
private var resourceGroupName: String? = null
/**
* @param value The name of the EventHub Authorization Rule resource.
*/
@JvmName("pksawkmauofnkjtd")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value Specifies the name of the EventHub Namespace.
*/
@JvmName("vbdjlityrobfigym")
public suspend fun namespaceName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.namespaceName = mapped
}
/**
* @param value The name of the resource group in which the EventHub Namespace exists.
*/
@JvmName("ojgejtwvpdxkqili")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetNamespaceAuthorizationRulePlainArgs =
GetNamespaceAuthorizationRulePlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
namespaceName = namespaceName ?: throw PulumiNullFieldException("namespaceName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy