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

com.pulumi.azure.siterecovery.kotlin.outputs.ReplicationRecoveryPlanAzureToAzureSettings.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.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.siterecovery.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property primaryEdgeZone The Edge Zone within the Azure Region where the VM exists. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
 * @property primaryZone The Availability Zone in which the VM is located. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
 * @property recoveryEdgeZone The Edge Zone within the Azure Region where the VM is recovered. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
 * > **Note:** `primary_edge_zone` and `recovery_edge_zone` must be specified together.
 * @property recoveryZone The Availability Zone in which the VM is recovered. Changing this forces a new Site Recovery Replication Recovery Plan to be created.
 * > **Note:** `primary_zone` and `recovery_zone` must be specified together.
 */
public data class ReplicationRecoveryPlanAzureToAzureSettings(
    public val primaryEdgeZone: String? = null,
    public val primaryZone: String? = null,
    public val recoveryEdgeZone: String? = null,
    public val recoveryZone: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.siterecovery.outputs.ReplicationRecoveryPlanAzureToAzureSettings): ReplicationRecoveryPlanAzureToAzureSettings = ReplicationRecoveryPlanAzureToAzureSettings(
            primaryEdgeZone = javaType.primaryEdgeZone().map({ args0 -> args0 }).orElse(null),
            primaryZone = javaType.primaryZone().map({ args0 -> args0 }).orElse(null),
            recoveryEdgeZone = javaType.recoveryEdgeZone().map({ args0 -> args0 }).orElse(null),
            recoveryZone = javaType.recoveryZone().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy