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

com.pulumi.azure.siterecovery.kotlin.outputs.ReplicationRecoveryPlanRecoveryGroupPreAction.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.14.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 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 ReplicationRecoveryPlanRecoveryGroupPreAction(
    public val fabricLocation: String? = null,
    public val failOverDirections: List,
    public val failOverTypes: List,
    public val manualActionInstruction: String? = null,
    public val name: String,
    public val runbookId: String? = null,
    public val scriptPath: String? = null,
    public val type: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.siterecovery.outputs.ReplicationRecoveryPlanRecoveryGroupPreAction):
            ReplicationRecoveryPlanRecoveryGroupPreAction =
            ReplicationRecoveryPlanRecoveryGroupPreAction(
                fabricLocation = javaType.fabricLocation().map({ args0 -> args0 }).orElse(null),
                failOverDirections = javaType.failOverDirections().map({ args0 -> args0 }),
                failOverTypes = javaType.failOverTypes().map({ args0 -> args0 }),
                manualActionInstruction = javaType.manualActionInstruction().map({ args0 -> args0 }).orElse(null),
                name = javaType.name(),
                runbookId = javaType.runbookId().map({ args0 -> args0 }).orElse(null),
                scriptPath = javaType.scriptPath().map({ args0 -> args0 }).orElse(null),
                type = javaType.type(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy