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

com.pulumi.azure.cognitive.kotlin.outputs.AccountCustomerManagedKey.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.cognitive.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property identityClientId The Client ID of the User Assigned Identity that has access to the key. This property only needs to be specified when there're multiple identities attached to the Cognitive Account.
 * @property keyVaultKeyId The ID of the Key Vault Key which should be used to Encrypt the data in this Cognitive Account.
 */
public data class AccountCustomerManagedKey(
    public val identityClientId: String? = null,
    public val keyVaultKeyId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.cognitive.outputs.AccountCustomerManagedKey):
            AccountCustomerManagedKey = AccountCustomerManagedKey(
            identityClientId = javaType.identityClientId().map({ args0 -> args0 }).orElse(null),
            keyVaultKeyId = javaType.keyVaultKeyId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy