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

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

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

/**
 * A collection of values returned by getAuthorizationRule.
 * @property eventhubName
 * @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 Event Hubs Authorization Rule.
 * @property primaryConnectionStringAlias The alias of the Primary Connection String for the Event Hubs Authorization Rule.
 * @property primaryKey The Primary Key for the Event Hubs Authorization Rule.
 * @property resourceGroupName
 * @property secondaryConnectionString The Secondary Connection String for the Event Hubs Authorization Rule.
 * @property secondaryConnectionStringAlias The alias of the Secondary Connection String for the Event Hubs Authorization Rule.
 * @property secondaryKey The Secondary Key for the Event Hubs Authorization Rule.
 * @property send
 */
public data class GetAuthorizationRuleResult(
    public val eventhubName: String,
    public val id: String,
    public val listen: Boolean? = null,
    public val manage: Boolean? = null,
    public val name: String,
    public val namespaceName: String,
    public val primaryConnectionString: String,
    public val primaryConnectionStringAlias: String,
    public val primaryKey: String,
    public val resourceGroupName: String,
    public val secondaryConnectionString: String,
    public val secondaryConnectionStringAlias: String,
    public val secondaryKey: String,
    public val send: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.eventhub.outputs.GetAuthorizationRuleResult):
            GetAuthorizationRuleResult = GetAuthorizationRuleResult(
            eventhubName = javaType.eventhubName(),
            id = javaType.id(),
            listen = javaType.listen().map({ args0 -> args0 }).orElse(null),
            manage = javaType.manage().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            namespaceName = javaType.namespaceName(),
            primaryConnectionString = javaType.primaryConnectionString(),
            primaryConnectionStringAlias = javaType.primaryConnectionStringAlias(),
            primaryKey = javaType.primaryKey(),
            resourceGroupName = javaType.resourceGroupName(),
            secondaryConnectionString = javaType.secondaryConnectionString(),
            secondaryConnectionStringAlias = javaType.secondaryConnectionStringAlias(),
            secondaryKey = javaType.secondaryKey(),
            send = javaType.send().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy