com.pulumi.azure.servicebus.kotlin.inputs.GetQueuePlainArgs.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.GetQueuePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getQueue.
* @property name The name of this Service Bus Queue.
* @property namespaceId The ID of the ServiceBus Namespace where the Service Bus Queue exists.
* @property namespaceName The name of the ServiceBus Namespace.
* @property resourceGroupName The name of the Resource Group where the Service Bus Queue exists.
* > **Note:** `namespace_name` and `resource_group_name` has been deprecated and will be removed in version 4.0 of the provider in favour of `namespace_id`.
*/
public data class GetQueuePlainArgs(
public val name: String,
public val namespaceId: String? = null,
@Deprecated(
message = """
`namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the
AzureRM Provider.
""",
)
public val namespaceName: String? = null,
@Deprecated(
message = """
`resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of
the AzureRM Provider.
""",
)
public val resourceGroupName: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.servicebus.inputs.GetQueuePlainArgs =
com.pulumi.azure.servicebus.inputs.GetQueuePlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.namespaceId(namespaceId?.let({ args0 -> args0 }))
.namespaceName(namespaceName?.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetQueuePlainArgs].
*/
@PulumiTagMarker
public class GetQueuePlainArgsBuilder internal constructor() {
private var name: String? = null
private var namespaceId: String? = null
private var namespaceName: String? = null
private var resourceGroupName: String? = null
/**
* @param value The name of this Service Bus Queue.
*/
@JvmName("sluwlkjjfoelpvsb")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The ID of the ServiceBus Namespace where the Service Bus Queue exists.
*/
@JvmName("bdivmhnytmtyiyxc")
public suspend fun namespaceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.namespaceId = mapped
}
/**
* @param value The name of the ServiceBus Namespace.
*/
@Deprecated(
message = """
`namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the
AzureRM Provider.
""",
)
@JvmName("owcymeairlurhuoq")
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 where the Service Bus Queue exists.
* > **Note:** `namespace_name` and `resource_group_name` has been deprecated and will be removed in version 4.0 of the provider in favour of `namespace_id`.
*/
@Deprecated(
message = """
`resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of
the AzureRM Provider.
""",
)
@JvmName("gkhldirnymhcjkra")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
internal fun build(): GetQueuePlainArgs = GetQueuePlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
namespaceId = namespaceId,
namespaceName = namespaceName,
resourceGroupName = resourceGroupName,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy