com.pulumi.azure.siterecovery.kotlin.inputs.ReplicationRecoveryPlanBootRecoveryGroupArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.siterecovery.kotlin.inputs
import com.pulumi.azure.siterecovery.inputs.ReplicationRecoveryPlanBootRecoveryGroupArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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`.
*/
public data class ReplicationRecoveryPlanBootRecoveryGroupArgs(
public val postActions: Output>? =
null,
public val preActions: Output>? =
null,
public val replicatedProtectedItems: Output>? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.siterecovery.inputs.ReplicationRecoveryPlanBootRecoveryGroupArgs =
com.pulumi.azure.siterecovery.inputs.ReplicationRecoveryPlanBootRecoveryGroupArgs.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
})
}),
).build()
}
/**
* Builder for [ReplicationRecoveryPlanBootRecoveryGroupArgs].
*/
@PulumiTagMarker
public class ReplicationRecoveryPlanBootRecoveryGroupArgsBuilder internal constructor() {
private var postActions: Output>? =
null
private var preActions: Output>? =
null
private var replicatedProtectedItems: Output>? = null
/**
* @param value one or more `action` block as defined below. which will be executed after the group recovery.
*/
@JvmName("jikdatvwkvsrming")
public suspend
fun postActions(`value`: Output>) {
this.postActions = value
}
@JvmName("qmdijjxqkswqhoaf")
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("dtdtaxufwvqosbhb")
public suspend
fun postActions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy