com.pulumi.azure.siterecovery.kotlin.inputs.ReplicatedVMManagedDiskTargetDiskEncryptionKeyEncryptionKeyArgs.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.siterecovery.kotlin.inputs
import com.pulumi.azure.siterecovery.inputs.ReplicatedVMManagedDiskTargetDiskEncryptionKeyEncryptionKeyArgs.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 keyUrl The URL to the Key Vault Key used as the Key Encryption Key that the Managed Disk will be associated with. This can be found as `id` on the `azure.keyvault.Key` resource. Changing this forces a new resource to be created.
* @property vaultId The ID of the Key Vault. This can be found as `id` on the `azure.keyvault.KeyVault` resource. Changing this forces a new resource to be created.
*/
public data class ReplicatedVMManagedDiskTargetDiskEncryptionKeyEncryptionKeyArgs(
public val keyUrl: Output,
public val vaultId: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.siterecovery.inputs.ReplicatedVMManagedDiskTargetDiskEncryptionKeyEncryptionKeyArgs =
com.pulumi.azure.siterecovery.inputs.ReplicatedVMManagedDiskTargetDiskEncryptionKeyEncryptionKeyArgs.builder()
.keyUrl(keyUrl.applyValue({ args0 -> args0 }))
.vaultId(vaultId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ReplicatedVMManagedDiskTargetDiskEncryptionKeyEncryptionKeyArgs].
*/
@PulumiTagMarker
public class ReplicatedVMManagedDiskTargetDiskEncryptionKeyEncryptionKeyArgsBuilder internal
constructor() {
private var keyUrl: Output? = null
private var vaultId: Output? = null
/**
* @param value The URL to the Key Vault Key used as the Key Encryption Key that the Managed Disk will be associated with. This can be found as `id` on the `azure.keyvault.Key` resource. Changing this forces a new resource to be created.
*/
@JvmName("kafqiupgshjpinga")
public suspend fun keyUrl(`value`: Output) {
this.keyUrl = value
}
/**
* @param value The ID of the Key Vault. This can be found as `id` on the `azure.keyvault.KeyVault` resource. Changing this forces a new resource to be created.
*/
@JvmName("tjputdjvnhgcmqew")
public suspend fun vaultId(`value`: Output) {
this.vaultId = value
}
/**
* @param value The URL to the Key Vault Key used as the Key Encryption Key that the Managed Disk will be associated with. This can be found as `id` on the `azure.keyvault.Key` resource. Changing this forces a new resource to be created.
*/
@JvmName("ehjiiccgvnomjmlr")
public suspend fun keyUrl(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.keyUrl = mapped
}
/**
* @param value The ID of the Key Vault. This can be found as `id` on the `azure.keyvault.KeyVault` resource. Changing this forces a new resource to be created.
*/
@JvmName("clhptgxgdqydyped")
public suspend fun vaultId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.vaultId = mapped
}
internal fun build(): ReplicatedVMManagedDiskTargetDiskEncryptionKeyEncryptionKeyArgs =
ReplicatedVMManagedDiskTargetDiskEncryptionKeyEncryptionKeyArgs(
keyUrl = keyUrl ?: throw PulumiNullFieldException("keyUrl"),
vaultId = vaultId ?: throw PulumiNullFieldException("vaultId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy