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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property keyVaultKeyId The ID of the Key Vault Key, supplying a version-less key ID will enable auto-rotation of this key. Exactly one of `key_vault_key_id` and `managed_hsm_key_id` may be specified.
 * @property managedHsmKeyId The ID of the managed HSM Key. Exactly one of `key_vault_key_id` and `managed_hsm_key_id` may be specified.
 * @property userAssignedIdentityId The ID of a user assigned identity.
 * > **NOTE:** `customer_managed_key` can only be set when the `account_kind` is set to `StorageV2` or `account_tier` set to `Premium`, and the identity type is `UserAssigned`.
 */
public data class AccountCustomerManagedKey(
    public val keyVaultKeyId: String? = null,
    public val managedHsmKeyId: String? = null,
    public val userAssignedIdentityId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.AccountCustomerManagedKey):
            AccountCustomerManagedKey = AccountCustomerManagedKey(
            keyVaultKeyId = javaType.keyVaultKeyId().map({ args0 -> args0 }).orElse(null),
            managedHsmKeyId = javaType.managedHsmKeyId().map({ args0 -> args0 }).orElse(null),
            userAssignedIdentityId = javaType.userAssignedIdentityId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy