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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property diskId The ID of the disk to be replicated.
 * @property logStorageAccountId The ID of the storage account that should be used for logging during replication.
 * @property targetDiskEncryptionSetId The ID of the Disk Encryption Set that should be used for the disks when a failover is done.
 * @property targetDiskType The disk type of the disk to be created when a failover is done. Possible values are `Premium_LRS`, `Standard_LRS` and `StandardSSD_LRS`.
 */
public data class VmwareReplicatedVmManagedDisk(
    public val diskId: String,
    public val logStorageAccountId: String? = null,
    public val targetDiskEncryptionSetId: String? = null,
    public val targetDiskType: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.siterecovery.outputs.VmwareReplicatedVmManagedDisk):
            VmwareReplicatedVmManagedDisk = VmwareReplicatedVmManagedDisk(
            diskId = javaType.diskId(),
            logStorageAccountId = javaType.logStorageAccountId().map({ args0 -> args0 }).orElse(null),
            targetDiskEncryptionSetId = javaType.targetDiskEncryptionSetId().map({ args0 ->
                args0
            }).orElse(null),
            targetDiskType = javaType.targetDiskType(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy