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

com.pulumi.azure.eventhub.kotlin.outputs.NamespaceCustomerManagedKey.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.21.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 identityId The ID of the User Assigned Identity that has access to the key.
 * @property infrastructureEncryptionEnabled Used to specify whether enable Infrastructure Encryption (Double Encryption). Changing this forces a new resource to be created.
 * @property keyVaultKeyId The ID of the Key Vault Key which should be used to Encrypt the data in this ServiceBus Namespace.
 */
public data class NamespaceCustomerManagedKey(
    public val identityId: String,
    public val infrastructureEncryptionEnabled: Boolean? = null,
    public val keyVaultKeyId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.eventhub.outputs.NamespaceCustomerManagedKey):
            NamespaceCustomerManagedKey = NamespaceCustomerManagedKey(
            identityId = javaType.identityId(),
            infrastructureEncryptionEnabled = javaType.infrastructureEncryptionEnabled().map({ args0 ->
                args0
            }).orElse(null),
            keyVaultKeyId = javaType.keyVaultKeyId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy