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

com.pulumi.azure.eventhub.kotlin.outputs.GetEventhubNamespaceResult.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.eventhub.kotlin.outputs

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

/**
 * A collection of values returned by getEventhubNamespace.
 * @property autoInflateEnabled Is Auto Inflate enabled for the EventHub Namespace?
 * @property capacity The Capacity / Throughput Units for a `Standard` SKU namespace.
 * @property dedicatedClusterId The ID of the EventHub Dedicated Cluster where this Namespace exists.
 * @property defaultPrimaryConnectionString The primary connection string for the authorization
 * rule `RootManageSharedAccessKey`.
 * @property defaultPrimaryConnectionStringAlias The alias of 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 defaultSecondaryConnectionStringAlias The alias of the secondary connection string for the
 * authorization rule `RootManageSharedAccessKey`.
 * @property defaultSecondaryKey The secondary access key for the authorization rule `RootManageSharedAccessKey`.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property kafkaEnabled
 * @property location The Azure location where the EventHub Namespace exists
 * @property maximumThroughputUnits Specifies the maximum number of throughput units when Auto Inflate is Enabled.
 * @property name
 * @property resourceGroupName
 * @property sku Defines which tier to use.
 * @property tags A mapping of tags to assign to the EventHub Namespace.
 * @property zoneRedundant Is this EventHub Namespace deployed across Availability Zones?
 */
public data class GetEventhubNamespaceResult(
    public val autoInflateEnabled: Boolean,
    public val capacity: Int,
    public val dedicatedClusterId: String,
    public val defaultPrimaryConnectionString: String,
    public val defaultPrimaryConnectionStringAlias: String,
    public val defaultPrimaryKey: String,
    public val defaultSecondaryConnectionString: String,
    public val defaultSecondaryConnectionStringAlias: String,
    public val defaultSecondaryKey: String,
    public val id: String,
    public val kafkaEnabled: Boolean,
    public val location: String,
    public val maximumThroughputUnits: Int,
    public val name: String,
    public val resourceGroupName: String,
    public val sku: String,
    public val tags: Map,
    @Deprecated(
        message = """
  The `zone_redundant` property has been deprecated and will be removed in v4.0 of the provider.
  """,
    )
    public val zoneRedundant: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.eventhub.outputs.GetEventhubNamespaceResult): GetEventhubNamespaceResult = GetEventhubNamespaceResult(
            autoInflateEnabled = javaType.autoInflateEnabled(),
            capacity = javaType.capacity(),
            dedicatedClusterId = javaType.dedicatedClusterId(),
            defaultPrimaryConnectionString = javaType.defaultPrimaryConnectionString(),
            defaultPrimaryConnectionStringAlias = javaType.defaultPrimaryConnectionStringAlias(),
            defaultPrimaryKey = javaType.defaultPrimaryKey(),
            defaultSecondaryConnectionString = javaType.defaultSecondaryConnectionString(),
            defaultSecondaryConnectionStringAlias = javaType.defaultSecondaryConnectionStringAlias(),
            defaultSecondaryKey = javaType.defaultSecondaryKey(),
            id = javaType.id(),
            kafkaEnabled = javaType.kafkaEnabled(),
            location = javaType.location(),
            maximumThroughputUnits = javaType.maximumThroughputUnits(),
            name = javaType.name(),
            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