
com.pulumi.azure.siterecovery.kotlin.inputs.ReplicationRecoveryPlanRecoveryGroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.siterecovery.kotlin.inputs
import com.pulumi.azure.siterecovery.inputs.ReplicationRecoveryPlanRecoveryGroupArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 ReplicationRecoveryPlanRecoveryGroupArgs(
public val postActions: Output>? = null,
public val preActions: Output>? = null,
public val replicatedProtectedItems: Output>? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.siterecovery.inputs.ReplicationRecoveryPlanRecoveryGroupArgs =
com.pulumi.azure.siterecovery.inputs.ReplicationRecoveryPlanRecoveryGroupArgs.builder()
.postActions(
postActions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.preActions(
preActions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.replicatedProtectedItems(
replicatedProtectedItems?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ReplicationRecoveryPlanRecoveryGroupArgs].
*/
@PulumiTagMarker
public class ReplicationRecoveryPlanRecoveryGroupArgsBuilder internal constructor() {
private var postActions: Output>? = null
private var preActions: Output>? = null
private var replicatedProtectedItems: Output>? = null
private var type: Output? = null
/**
* @param value one or more `action` block as defined below. which will be executed after the group recovery.
*/
@JvmName("wistuhipdasdlkom")
public suspend fun postActions(`value`: Output>) {
this.postActions = value
}
@JvmName("cwqdvyegtnvsoqmo")
public suspend fun postActions(vararg values: Output) {
this.postActions = Output.all(values.asList())
}
/**
* @param values one or more `action` block as defined below. which will be executed after the group recovery.
*/
@JvmName("xgnlrxvpclxxhfdb")
public suspend fun postActions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy