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

com.pulumi.azure.elasticsan.kotlin.outputs.VolumeGroupEncryption.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.elasticsan.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property currentVersionedKeyExpirationTimestamp The timestamp of the expiration time for the current version of the customer managed key.
 * @property currentVersionedKeyId The ID of the current versioned Key Vault Key in use.
 * @property keyVaultKeyId The Key Vault key URI for Customer Managed Key encryption, which can be either a full URI or a versionless URI.
 * @property lastKeyRotationTimestamp The timestamp of the last rotation of the Key Vault Key.
 * @property userAssignedIdentityId The ID of the User Assigned Identity used by this Elastic SAN Volume Group.
 */
public data class VolumeGroupEncryption(
    public val currentVersionedKeyExpirationTimestamp: String? = null,
    public val currentVersionedKeyId: String? = null,
    public val keyVaultKeyId: String,
    public val lastKeyRotationTimestamp: String? = null,
    public val userAssignedIdentityId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.elasticsan.outputs.VolumeGroupEncryption): VolumeGroupEncryption = VolumeGroupEncryption(
            currentVersionedKeyExpirationTimestamp = javaType.currentVersionedKeyExpirationTimestamp().map({ args0 ->
                args0
            }).orElse(null),
            currentVersionedKeyId = javaType.currentVersionedKeyId().map({ args0 -> args0 }).orElse(null),
            keyVaultKeyId = javaType.keyVaultKeyId(),
            lastKeyRotationTimestamp = javaType.lastKeyRotationTimestamp().map({ args0 -> args0 }).orElse(null),
            userAssignedIdentityId = javaType.userAssignedIdentityId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy