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

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

/**
 *
 * @property postActions one or more `action` block. which will be executed after the group recovery.
 * @property preActions one or more `action` block. which will be executed before the group recovery.
 * @property replicatedProtectedItems one or more id of protected VM.
 * @property type Type of the action detail.
 */
public data class GetReplicationRecoveryPlanRecoveryGroup(
    public val postActions: List>,
    public val preActions: List>,
    public val replicatedProtectedItems: List,
    public val type: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.siterecovery.outputs.GetReplicationRecoveryPlanRecoveryGroup):
            GetReplicationRecoveryPlanRecoveryGroup = GetReplicationRecoveryPlanRecoveryGroup(
            postActions = javaType.postActions().map({ args0 ->
                args0.map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.siterecovery.kotlin.outputs.GetReplicationRecoveryPlanRecoveryGroupPostAction.Companion.toKotlin(args0)
                    })
                })
            }),
            preActions = javaType.preActions().map({ args0 ->
                args0.map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.siterecovery.kotlin.outputs.GetReplicationRecoveryPlanRecoveryGroupPreAction.Companion.toKotlin(args0)
                    })
                })
            }),
            replicatedProtectedItems = javaType.replicatedProtectedItems().map({ args0 -> args0 }),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy