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

com.pulumi.azure.servicebus.kotlin.outputs.GetNamespaceDisasterRecoveryConfigResult.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.outputs

import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getNamespaceDisasterRecoveryConfig.
 * @property aliasAuthorizationRuleId
 * @property defaultPrimaryKey
 * @property defaultSecondaryKey
 * @property id The provider-assigned unique ID for this managed resource.
 * @property name
 * @property namespaceId
 * @property namespaceName
 * @property partnerNamespaceId
 * @property primaryConnectionStringAlias
 * @property resourceGroupName
 * @property secondaryConnectionStringAlias
 */
public data class GetNamespaceDisasterRecoveryConfigResult(
    public val aliasAuthorizationRuleId: String? = null,
    public val defaultPrimaryKey: String,
    public val defaultSecondaryKey: String,
    public val id: String,
    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,
    public val partnerNamespaceId: String,
    public val primaryConnectionStringAlias: String,
    @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,
    public val secondaryConnectionStringAlias: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.servicebus.outputs.GetNamespaceDisasterRecoveryConfigResult):
            GetNamespaceDisasterRecoveryConfigResult = GetNamespaceDisasterRecoveryConfigResult(
            aliasAuthorizationRuleId = javaType.aliasAuthorizationRuleId().map({ args0 -> args0 }).orElse(null),
            defaultPrimaryKey = javaType.defaultPrimaryKey(),
            defaultSecondaryKey = javaType.defaultSecondaryKey(),
            id = javaType.id(),
            name = javaType.name(),
            namespaceId = javaType.namespaceId().map({ args0 -> args0 }).orElse(null),
            namespaceName = javaType.namespaceName().map({ args0 -> args0 }).orElse(null),
            partnerNamespaceId = javaType.partnerNamespaceId(),
            primaryConnectionStringAlias = javaType.primaryConnectionStringAlias(),
            resourceGroupName = javaType.resourceGroupName().map({ args0 -> args0 }).orElse(null),
            secondaryConnectionStringAlias = javaType.secondaryConnectionStringAlias(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy