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

com.pulumi.azure.siterecovery.kotlin.outputs.GetReplicationRecoveryPlanResult.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
import kotlin.collections.List

/**
 * A collection of values returned by getReplicationRecoveryPlan.
 * @property azureToAzureSettings
 * @property failoverDeploymentModel
 * @property id The provider-assigned unique ID for this managed resource.
 * @property name Name of the Action.
 * @property recoveryGroups `recovery_group` block defined as below.
 * @property recoveryVaultId
 * @property sourceRecoveryFabricId The ID of source fabric to be recovered from.
 * @property targetRecoveryFabricId The ID of target fabric to recover.
 */
public data class GetReplicationRecoveryPlanResult(
    public val azureToAzureSettings: List,
    public val failoverDeploymentModel: String,
    public val id: String,
    public val name: String,
    public val recoveryGroups: List,
    public val recoveryVaultId: String,
    public val sourceRecoveryFabricId: String,
    public val targetRecoveryFabricId: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.siterecovery.outputs.GetReplicationRecoveryPlanResult):
            GetReplicationRecoveryPlanResult = GetReplicationRecoveryPlanResult(
            azureToAzureSettings = javaType.azureToAzureSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.siterecovery.kotlin.outputs.GetReplicationRecoveryPlanAzureToAzureSetting.Companion.toKotlin(args0)
                })
            }),
            failoverDeploymentModel = javaType.failoverDeploymentModel(),
            id = javaType.id(),
            name = javaType.name(),
            recoveryGroups = javaType.recoveryGroups().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.siterecovery.kotlin.outputs.GetReplicationRecoveryPlanRecoveryGroup.Companion.toKotlin(args0)
                })
            }),
            recoveryVaultId = javaType.recoveryVaultId(),
            sourceRecoveryFabricId = javaType.sourceRecoveryFabricId(),
            targetRecoveryFabricId = javaType.targetRecoveryFabricId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy