All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.servicebus.kotlin.inputs.GetNamespaceDisasterRecoveryConfigPlainArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.servicebus.kotlin.inputs

import com.pulumi.azure.servicebus.inputs.GetNamespaceDisasterRecoveryConfigPlainArgs.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 getNamespaceDisasterRecoveryConfig.
 * @property aliasAuthorizationRuleId
 * @property name
 * @property namespaceId
 * @property namespaceName
 * @property resourceGroupName
 */
public data class GetNamespaceDisasterRecoveryConfigPlainArgs(
    public val aliasAuthorizationRuleId: String? = null,
    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.GetNamespaceDisasterRecoveryConfigPlainArgs =
        com.pulumi.azure.servicebus.inputs.GetNamespaceDisasterRecoveryConfigPlainArgs.builder()
            .aliasAuthorizationRuleId(aliasAuthorizationRuleId?.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 }))
            .namespaceId(namespaceId?.let({ args0 -> args0 }))
            .namespaceName(namespaceName?.let({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetNamespaceDisasterRecoveryConfigPlainArgs].
 */
@PulumiTagMarker
public class GetNamespaceDisasterRecoveryConfigPlainArgsBuilder internal constructor() {
    private var aliasAuthorizationRuleId: String? = null

    private var name: String? = null

    private var namespaceId: String? = null

    private var namespaceName: String? = null

    private var resourceGroupName: String? = null

    /**
     * @param value
     */
    @JvmName("cyklsypedymgjekc")
    public suspend fun aliasAuthorizationRuleId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.aliasAuthorizationRuleId = mapped
    }

    /**
     * @param value
     */
    @JvmName("yxhkdsfevytcwqmj")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    /**
     * @param value
     */
    @JvmName("uqntrinifvriiojv")
    public suspend fun namespaceId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.namespaceId = mapped
    }

    /**
     * @param value
     */
    @Deprecated(
        message = """
  `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the
      AzureRM Provider.
  """,
    )
    @JvmName("ynxictwemqkceanq")
    public suspend fun namespaceName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.namespaceName = mapped
    }

    /**
     * @param value
     */
    @Deprecated(
        message = """
  `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of
      the AzureRM Provider.
  """,
    )
    @JvmName("kxkqiudnqtfdaxbe")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.resourceGroupName = mapped
    }

    internal fun build(): GetNamespaceDisasterRecoveryConfigPlainArgs =
        GetNamespaceDisasterRecoveryConfigPlainArgs(
            aliasAuthorizationRuleId = aliasAuthorizationRuleId,
            name = name ?: throw PulumiNullFieldException("name"),
            namespaceId = namespaceId,
            namespaceName = namespaceName,
            resourceGroupName = resourceGroupName,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy