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

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

/**
 *
 * @property clientId Specifies the Client ID of the application that created the client-scoped subscription. Changing this forces a new resource to be created.
 * > **NOTE:** Client ID can be null or empty, but it must match the client ID set on the JMS client application. From the Azure Service Bus perspective, a null client ID and an empty client id have the same behavior. If the client ID is set to null or empty, it is only accessible to client applications whose client ID is also set to null or empty.
 * @property isClientScopedSubscriptionDurable Whether the client scoped subscription is durable. This property can only be controlled from the application side.
 * @property isClientScopedSubscriptionShareable Whether the client scoped subscription is shareable. Defaults to `true` Changing this forces a new resource to be created.
 */
public data class SubscriptionClientScopedSubscription(
    public val clientId: String? = null,
    public val isClientScopedSubscriptionDurable: Boolean? = null,
    public val isClientScopedSubscriptionShareable: Boolean? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.eventhub.outputs.SubscriptionClientScopedSubscription):
            SubscriptionClientScopedSubscription = SubscriptionClientScopedSubscription(
            clientId = javaType.clientId().map({ args0 -> args0 }).orElse(null),
            isClientScopedSubscriptionDurable = javaType.isClientScopedSubscriptionDurable().map({ args0 ->
                args0
            }).orElse(null),
            isClientScopedSubscriptionShareable = javaType.isClientScopedSubscriptionShareable().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy