com.pulumi.azure.siterecovery.kotlin.inputs.ReplicationRecoveryPlanShutdownRecoveryGroupPreActionArgs.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.ReplicationRecoveryPlanShutdownRecoveryGroupPreActionArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property fabricLocation
* @property failOverDirections
* @property failOverTypes
* @property manualActionInstruction
* @property name The name of the Replication Plan. The name can contain only letters, numbers, and hyphens. It should start with a letter and end with a letter or a number. Can be a maximum of 63 characters. Changing this forces a new resource to be created.
* @property runbookId
* @property scriptPath
* @property type
*/
public data class ReplicationRecoveryPlanShutdownRecoveryGroupPreActionArgs(
public val fabricLocation: Output? = null,
public val failOverDirections: Output>,
public val failOverTypes: Output>,
public val manualActionInstruction: Output? = null,
public val name: Output,
public val runbookId: Output? = null,
public val scriptPath: Output? = null,
public val type: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.siterecovery.inputs.ReplicationRecoveryPlanShutdownRecoveryGroupPreActionArgs =
com.pulumi.azure.siterecovery.inputs.ReplicationRecoveryPlanShutdownRecoveryGroupPreActionArgs.builder()
.fabricLocation(fabricLocation?.applyValue({ args0 -> args0 }))
.failOverDirections(failOverDirections.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.failOverTypes(failOverTypes.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.manualActionInstruction(manualActionInstruction?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.runbookId(runbookId?.applyValue({ args0 -> args0 }))
.scriptPath(scriptPath?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ReplicationRecoveryPlanShutdownRecoveryGroupPreActionArgs].
*/
@PulumiTagMarker
public class ReplicationRecoveryPlanShutdownRecoveryGroupPreActionArgsBuilder internal constructor() {
private var fabricLocation: Output? = null
private var failOverDirections: Output>? = null
private var failOverTypes: Output>? = null
private var manualActionInstruction: Output? = null
private var name: Output? = null
private var runbookId: Output? = null
private var scriptPath: Output? = null
private var type: Output? = null
/**
* @param value
*/
@JvmName("dlpskldprmjvfhqh")
public suspend fun fabricLocation(`value`: Output) {
this.fabricLocation = value
}
/**
* @param value
*/
@JvmName("tqxfsohgvsncgtqo")
public suspend fun failOverDirections(`value`: Output>) {
this.failOverDirections = value
}
@JvmName("bgwboamaxecqrwlf")
public suspend fun failOverDirections(vararg values: Output) {
this.failOverDirections = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("clunxrnsdwnceeuo")
public suspend fun failOverDirections(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy