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

com.pulumi.azure.servicebus.kotlin.outputs.GetTopicAuthorizationRuleResult.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.servicebus.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getTopicAuthorizationRule.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property listen
 * @property manage
 * @property name
 * @property namespaceName
 * @property primaryConnectionString The Primary Connection String for the ServiceBus Topic authorization Rule.
 * @property primaryConnectionStringAlias The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired.
 * @property primaryKey The Primary Key for the ServiceBus Topic authorization Rule.
 * @property queueName
 * @property resourceGroupName
 * @property secondaryConnectionString The Secondary Connection String for the ServiceBus Topic authorization Rule.
 * @property secondaryConnectionStringAlias The alias Secondary Connection String for the ServiceBus Namespace
 * @property secondaryKey The Secondary Key for the ServiceBus Topic authorization Rule.
 * @property send
 * @property topicId
 * @property topicName
 */
public data class GetTopicAuthorizationRuleResult(
    public val id: String,
    public val listen: Boolean,
    public val manage: Boolean,
    public val name: String,
    public val namespaceName: String? = null,
    public val primaryConnectionString: String,
    public val primaryConnectionStringAlias: String,
    public val primaryKey: String,
    public val queueName: String? = null,
    public val resourceGroupName: String? = null,
    public val secondaryConnectionString: String,
    public val secondaryConnectionStringAlias: String,
    public val secondaryKey: String,
    public val send: Boolean,
    public val topicId: String? = null,
    public val topicName: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.servicebus.outputs.GetTopicAuthorizationRuleResult): GetTopicAuthorizationRuleResult = GetTopicAuthorizationRuleResult(
            id = javaType.id(),
            listen = javaType.listen(),
            manage = javaType.manage(),
            name = javaType.name(),
            namespaceName = javaType.namespaceName().map({ args0 -> args0 }).orElse(null),
            primaryConnectionString = javaType.primaryConnectionString(),
            primaryConnectionStringAlias = javaType.primaryConnectionStringAlias(),
            primaryKey = javaType.primaryKey(),
            queueName = javaType.queueName().map({ args0 -> args0 }).orElse(null),
            resourceGroupName = javaType.resourceGroupName().map({ args0 -> args0 }).orElse(null),
            secondaryConnectionString = javaType.secondaryConnectionString(),
            secondaryConnectionStringAlias = javaType.secondaryConnectionStringAlias(),
            secondaryKey = javaType.secondaryKey(),
            send = javaType.send(),
            topicId = javaType.topicId().map({ args0 -> args0 }).orElse(null),
            topicName = javaType.topicName().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy