com.pulumi.azure.elasticsan.kotlin.inputs.VolumeGroupEncryptionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.elasticsan.kotlin.inputs
import com.pulumi.azure.elasticsan.inputs.VolumeGroupEncryptionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @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 VolumeGroupEncryptionArgs(
public val currentVersionedKeyExpirationTimestamp: Output? = null,
public val currentVersionedKeyId: Output? = null,
public val keyVaultKeyId: Output,
public val lastKeyRotationTimestamp: Output? = null,
public val userAssignedIdentityId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.elasticsan.inputs.VolumeGroupEncryptionArgs =
com.pulumi.azure.elasticsan.inputs.VolumeGroupEncryptionArgs.builder()
.currentVersionedKeyExpirationTimestamp(
currentVersionedKeyExpirationTimestamp?.applyValue({ args0 ->
args0
}),
)
.currentVersionedKeyId(currentVersionedKeyId?.applyValue({ args0 -> args0 }))
.keyVaultKeyId(keyVaultKeyId.applyValue({ args0 -> args0 }))
.lastKeyRotationTimestamp(lastKeyRotationTimestamp?.applyValue({ args0 -> args0 }))
.userAssignedIdentityId(userAssignedIdentityId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [VolumeGroupEncryptionArgs].
*/
@PulumiTagMarker
public class VolumeGroupEncryptionArgsBuilder internal constructor() {
private var currentVersionedKeyExpirationTimestamp: Output? = null
private var currentVersionedKeyId: Output? = null
private var keyVaultKeyId: Output? = null
private var lastKeyRotationTimestamp: Output? = null
private var userAssignedIdentityId: Output? = null
/**
* @param value The timestamp of the expiration time for the current version of the customer managed key.
*/
@JvmName("dsfptncyocakkcjy")
public suspend fun currentVersionedKeyExpirationTimestamp(`value`: Output) {
this.currentVersionedKeyExpirationTimestamp = value
}
/**
* @param value The ID of the current versioned Key Vault Key in use.
*/
@JvmName("dmqfpxfryydrwqlm")
public suspend fun currentVersionedKeyId(`value`: Output) {
this.currentVersionedKeyId = value
}
/**
* @param value The Key Vault key URI for Customer Managed Key encryption, which can be either a full URI or a versionless URI.
*/
@JvmName("qptuxwpqgnkpcnhl")
public suspend fun keyVaultKeyId(`value`: Output) {
this.keyVaultKeyId = value
}
/**
* @param value The timestamp of the last rotation of the Key Vault Key.
*/
@JvmName("hrojjamdpsjwtrta")
public suspend fun lastKeyRotationTimestamp(`value`: Output) {
this.lastKeyRotationTimestamp = value
}
/**
* @param value The ID of the User Assigned Identity used by this Elastic SAN Volume Group.
*/
@JvmName("yffmandfwhscxdcw")
public suspend fun userAssignedIdentityId(`value`: Output) {
this.userAssignedIdentityId = value
}
/**
* @param value The timestamp of the expiration time for the current version of the customer managed key.
*/
@JvmName("teickamywkujyqvp")
public suspend fun currentVersionedKeyExpirationTimestamp(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.currentVersionedKeyExpirationTimestamp = mapped
}
/**
* @param value The ID of the current versioned Key Vault Key in use.
*/
@JvmName("mmrfgnetsssokivu")
public suspend fun currentVersionedKeyId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.currentVersionedKeyId = mapped
}
/**
* @param value The Key Vault key URI for Customer Managed Key encryption, which can be either a full URI or a versionless URI.
*/
@JvmName("wriprovvcoestdrg")
public suspend fun keyVaultKeyId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.keyVaultKeyId = mapped
}
/**
* @param value The timestamp of the last rotation of the Key Vault Key.
*/
@JvmName("qtmdokkdwwrdhsvm")
public suspend fun lastKeyRotationTimestamp(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lastKeyRotationTimestamp = mapped
}
/**
* @param value The ID of the User Assigned Identity used by this Elastic SAN Volume Group.
*/
@JvmName("elwblirldaaihkup")
public suspend fun userAssignedIdentityId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.userAssignedIdentityId = mapped
}
internal fun build(): VolumeGroupEncryptionArgs = VolumeGroupEncryptionArgs(
currentVersionedKeyExpirationTimestamp = currentVersionedKeyExpirationTimestamp,
currentVersionedKeyId = currentVersionedKeyId,
keyVaultKeyId = keyVaultKeyId ?: throw PulumiNullFieldException("keyVaultKeyId"),
lastKeyRotationTimestamp = lastKeyRotationTimestamp,
userAssignedIdentityId = userAssignedIdentityId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy