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

com.pulumi.azure.servicebus.kotlin.outputs.GetNamespaceResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 * A collection of values returned by getNamespace.
 * @property capacity The capacity of the ServiceBus Namespace.
 * @property defaultPrimaryConnectionString The primary connection string for the authorization
 * rule `RootManageSharedAccessKey`.
 * @property defaultPrimaryKey The primary access key for the authorization rule `RootManageSharedAccessKey`.
 * @property defaultSecondaryConnectionString The secondary connection string for the
 * authorization rule `RootManageSharedAccessKey`.
 * @property defaultSecondaryKey The secondary access key for the authorization rule `RootManageSharedAccessKey`.
 * @property endpoint The URL to access the ServiceBus Namespace.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location The location of the Resource Group in which the ServiceBus Namespace exists.
 * @property name
 * @property premiumMessagingPartitions The messaging partitions of the ServiceBus Namespace.
 * @property resourceGroupName
 * @property sku The Tier used for the ServiceBus Namespace.
 * @property tags A mapping of tags assigned to the resource.
 * @property zoneRedundant Whether or not this ServiceBus Namespace is zone redundant.
 */
public data class GetNamespaceResult(
    public val capacity: Int,
    public val defaultPrimaryConnectionString: String,
    public val defaultPrimaryKey: String,
    public val defaultSecondaryConnectionString: String,
    public val defaultSecondaryKey: String,
    public val endpoint: String,
    public val id: String,
    public val location: String,
    public val name: String,
    public val premiumMessagingPartitions: Int,
    public val resourceGroupName: String,
    public val sku: String,
    public val tags: Map,
    public val zoneRedundant: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.servicebus.outputs.GetNamespaceResult):
            GetNamespaceResult = GetNamespaceResult(
            capacity = javaType.capacity(),
            defaultPrimaryConnectionString = javaType.defaultPrimaryConnectionString(),
            defaultPrimaryKey = javaType.defaultPrimaryKey(),
            defaultSecondaryConnectionString = javaType.defaultSecondaryConnectionString(),
            defaultSecondaryKey = javaType.defaultSecondaryKey(),
            endpoint = javaType.endpoint(),
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name(),
            premiumMessagingPartitions = javaType.premiumMessagingPartitions(),
            resourceGroupName = javaType.resourceGroupName(),
            sku = javaType.sku(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            zoneRedundant = javaType.zoneRedundant(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy