
com.pulumi.azure.siterecovery.kotlin.outputs.ReplicationRecoveryPlanRecoveryGroup.kt Maven / Gradle / Ivy
@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 as defined below. which will be executed after the group recovery.
* @property preActions one or more `action` block as defined below. which will be executed before the group recovery.
* @property replicatedProtectedItems One or more protected VM IDs. It must not be specified when `type` is `Shutdown`.
* @property type The Recovery Plan Group Type. Possible values are `Boot`, `Failover` and `Shutdown`.
*/
public data class ReplicationRecoveryPlanRecoveryGroup(
public val postActions: List? = null,
public val preActions: List? = null,
public val replicatedProtectedItems: List? = null,
public val type: String,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.siterecovery.outputs.ReplicationRecoveryPlanRecoveryGroup):
ReplicationRecoveryPlanRecoveryGroup = ReplicationRecoveryPlanRecoveryGroup(
postActions = javaType.postActions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.siterecovery.kotlin.outputs.ReplicationRecoveryPlanRecoveryGroupPostAction.Companion.toKotlin(args0)
})
}),
preActions = javaType.preActions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.siterecovery.kotlin.outputs.ReplicationRecoveryPlanRecoveryGroupPreAction.Companion.toKotlin(args0)
})
}),
replicatedProtectedItems = javaType.replicatedProtectedItems().map({ args0 -> args0 }),
type = javaType.type(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy