com.pulumi.azure.servicebus.kotlin.outputs.GetNamespaceAuthorizationRuleResult.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.outputs
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getNamespaceAuthorizationRule.
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property namespaceId
* @property namespaceName
* @property primaryConnectionString The primary connection string for the authorization rule.
* @property primaryConnectionStringAlias The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired.
* @property primaryKey The primary access key for the authorization rule.
* @property resourceGroupName
* @property secondaryConnectionString The secondary connection string for the authorization rule.
* @property secondaryConnectionStringAlias The alias Secondary Connection String for the ServiceBus Namespace
* @property secondaryKey The secondary access key for the authorization rule.
*/
public data class GetNamespaceAuthorizationRuleResult(
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 primaryConnectionString: String,
public val primaryConnectionStringAlias: String,
public val primaryKey: 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 secondaryConnectionString: String,
public val secondaryConnectionStringAlias: String,
public val secondaryKey: String,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.servicebus.outputs.GetNamespaceAuthorizationRuleResult):
GetNamespaceAuthorizationRuleResult = GetNamespaceAuthorizationRuleResult(
id = javaType.id(),
name = javaType.name(),
namespaceId = javaType.namespaceId().map({ args0 -> args0 }).orElse(null),
namespaceName = javaType.namespaceName().map({ args0 -> args0 }).orElse(null),
primaryConnectionString = javaType.primaryConnectionString(),
primaryConnectionStringAlias = javaType.primaryConnectionStringAlias(),
primaryKey = javaType.primaryKey(),
resourceGroupName = javaType.resourceGroupName().map({ args0 -> args0 }).orElse(null),
secondaryConnectionString = javaType.secondaryConnectionString(),
secondaryConnectionStringAlias = javaType.secondaryConnectionStringAlias(),
secondaryKey = javaType.secondaryKey(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy