azure-native.recoveryservices.ReplicationRecoveryPlan

Explore with Pulumi AI

Recovery plan details. API Version: 2018-07-10.

Example Usage

Creates a recovery plan with the given details.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var replicationRecoveryPlan = new AzureNative.RecoveryServices.ReplicationRecoveryPlan("replicationRecoveryPlan", new()
    {
        Properties = new AzureNative.RecoveryServices.Inputs.CreateRecoveryPlanInputPropertiesArgs
        {
            FailoverDeploymentModel = "ResourceManager",
            Groups = new[]
            {
                new AzureNative.RecoveryServices.Inputs.RecoveryPlanGroupArgs
                {
                    EndGroupActions = new[] {},
                    GroupType = "Boot",
                    ReplicationProtectedItems = new[]
                    {
                        new AzureNative.RecoveryServices.Inputs.RecoveryPlanProtectedItemArgs
                        {
                            Id = "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
                            VirtualMachineId = "f8491e4f-817a-40dd-a90c-af773978c75b",
                        },
                    },
                    StartGroupActions = new[] {},
                },
            },
            PrimaryFabricId = "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
            RecoveryFabricId = "Microsoft Azure",
        },
        RecoveryPlanName = "RPtest1",
        ResourceGroupName = "resourceGroupPS1",
        ResourceName = "vault1",
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlan;
import com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlanArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var replicationRecoveryPlan = new ReplicationRecoveryPlan("replicationRecoveryPlan", ReplicationRecoveryPlanArgs.builder()        
            .properties(Map.ofEntries(
                Map.entry("failoverDeploymentModel", "ResourceManager"),
                Map.entry("groups", Map.ofEntries(
                    Map.entry("endGroupActions", ),
                    Map.entry("groupType", "Boot"),
                    Map.entry("replicationProtectedItems", Map.ofEntries(
                        Map.entry("id", "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b"),
                        Map.entry("virtualMachineId", "f8491e4f-817a-40dd-a90c-af773978c75b")
                    )),
                    Map.entry("startGroupActions", )
                )),
                Map.entry("primaryFabricId", "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1"),
                Map.entry("recoveryFabricId", "Microsoft Azure")
            ))
            .recoveryPlanName("RPtest1")
            .resourceGroupName("resourceGroupPS1")
            .resourceName("vault1")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

replication_recovery_plan = azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlan",
    properties=azure_native.recoveryservices.RecoveryPlanPropertiesResponseArgs(
        failover_deployment_model="ResourceManager",
        groups=[{
            "endGroupActions": [],
            "groupType": "Boot",
            "replicationProtectedItems": [azure_native.recoveryservices.RecoveryPlanProtectedItemArgs(
                id="/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
                virtual_machine_id="f8491e4f-817a-40dd-a90c-af773978c75b",
            )],
            "startGroupActions": [],
        }],
        primary_fabric_id="/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
        recovery_fabric_id="Microsoft Azure",
    ),
    recovery_plan_name="RPtest1",
    resource_group_name="resourceGroupPS1",
    resource_name_="vault1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const replicationRecoveryPlan = new azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlan", {
    properties: {
        failoverDeploymentModel: "ResourceManager",
        groups: [{
            endGroupActions: [],
            groupType: "Boot",
            replicationProtectedItems: [{
                id: "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
                virtualMachineId: "f8491e4f-817a-40dd-a90c-af773978c75b",
            }],
            startGroupActions: [],
        }],
        primaryFabricId: "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
        recoveryFabricId: "Microsoft Azure",
    },
    recoveryPlanName: "RPtest1",
    resourceGroupName: "resourceGroupPS1",
    resourceName: "vault1",
});
resources:
  replicationRecoveryPlan:
    type: azure-native:recoveryservices:ReplicationRecoveryPlan
    properties:
      properties:
        failoverDeploymentModel: ResourceManager
        groups:
          - endGroupActions: []
            groupType: Boot
            replicationProtectedItems:
              - id: /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b
                virtualMachineId: f8491e4f-817a-40dd-a90c-af773978c75b
            startGroupActions: []
        primaryFabricId: /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1
        recoveryFabricId: Microsoft Azure
      recoveryPlanName: RPtest1
      resourceGroupName: resourceGroupPS1
      resourceName: vault1

Create ReplicationRecoveryPlan Resource

new ReplicationRecoveryPlan(name: string, args: ReplicationRecoveryPlanArgs, opts?: CustomResourceOptions);
@overload
def ReplicationRecoveryPlan(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            properties: Optional[CreateRecoveryPlanInputPropertiesArgs] = None,
                            recovery_plan_name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            resource_name_: Optional[str] = None)
@overload
def ReplicationRecoveryPlan(resource_name: str,
                            args: ReplicationRecoveryPlanArgs,
                            opts: Optional[ResourceOptions] = None)
func NewReplicationRecoveryPlan(ctx *Context, name string, args ReplicationRecoveryPlanArgs, opts ...ResourceOption) (*ReplicationRecoveryPlan, error)
public ReplicationRecoveryPlan(string name, ReplicationRecoveryPlanArgs args, CustomResourceOptions? opts = null)
public ReplicationRecoveryPlan(String name, ReplicationRecoveryPlanArgs args)
public ReplicationRecoveryPlan(String name, ReplicationRecoveryPlanArgs args, CustomResourceOptions options)
type: azure-native:recoveryservices:ReplicationRecoveryPlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ReplicationRecoveryPlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ReplicationRecoveryPlanArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ReplicationRecoveryPlanArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ReplicationRecoveryPlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ReplicationRecoveryPlanArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ReplicationRecoveryPlan Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ReplicationRecoveryPlan resource accepts the following input properties:

Properties Pulumi.AzureNative.RecoveryServices.Inputs.CreateRecoveryPlanInputPropertiesArgs

Recovery plan creation properties.

ResourceGroupName string

The name of the resource group where the recovery services vault is present.

ResourceName string

The name of the recovery services vault.

RecoveryPlanName string

Recovery plan name.

Properties CreateRecoveryPlanInputPropertiesArgs

Recovery plan creation properties.

ResourceGroupName string

The name of the resource group where the recovery services vault is present.

ResourceName string

The name of the recovery services vault.

RecoveryPlanName string

Recovery plan name.

properties CreateRecoveryPlanInputPropertiesArgs

Recovery plan creation properties.

resourceGroupName String

The name of the resource group where the recovery services vault is present.

resourceName String

The name of the recovery services vault.

recoveryPlanName String

Recovery plan name.

properties CreateRecoveryPlanInputPropertiesArgs

Recovery plan creation properties.

resourceGroupName string

The name of the resource group where the recovery services vault is present.

resourceName string

The name of the recovery services vault.

recoveryPlanName string

Recovery plan name.

properties CreateRecoveryPlanInputPropertiesArgs

Recovery plan creation properties.

resource_group_name str

The name of the resource group where the recovery services vault is present.

resource_name str

The name of the recovery services vault.

recovery_plan_name str

Recovery plan name.

properties Property Map

Recovery plan creation properties.

resourceGroupName String

The name of the resource group where the recovery services vault is present.

resourceName String

The name of the recovery services vault.

recoveryPlanName String

Recovery plan name.

Outputs

All input properties are implicitly available as output properties. Additionally, the ReplicationRecoveryPlan resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource Name

Type string

Resource Type

Location string

Resource Location

Id string

The provider-assigned unique ID for this managed resource.

Name string

Resource Name

Type string

Resource Type

Location string

Resource Location

id String

The provider-assigned unique ID for this managed resource.

name String

Resource Name

type String

Resource Type

location String

Resource Location

id string

The provider-assigned unique ID for this managed resource.

name string

Resource Name

type string

Resource Type

location string

Resource Location

id str

The provider-assigned unique ID for this managed resource.

name str

Resource Name

type str

Resource Type

location str

Resource Location

id String

The provider-assigned unique ID for this managed resource.

name String

Resource Name

type String

Resource Type

location String

Resource Location

Supporting Types

CreateRecoveryPlanInputProperties

Groups []RecoveryPlanGroup

The recovery plan groups.

PrimaryFabricId string

The primary fabric Id.

RecoveryFabricId string

The recovery fabric Id.

FailoverDeploymentModel string | FailoverDeploymentModel

The failover deployment model.

ProviderSpecificInput []RecoveryPlanA2AInput

The provider specific input.

groups List<RecoveryPlanGroup>

The recovery plan groups.

primaryFabricId String

The primary fabric Id.

recoveryFabricId String

The recovery fabric Id.

failoverDeploymentModel String | FailoverDeploymentModel

The failover deployment model.

providerSpecificInput List<RecoveryPlanA2AInput>

The provider specific input.

groups RecoveryPlanGroup[]

The recovery plan groups.

primaryFabricId string

The primary fabric Id.

recoveryFabricId string

The recovery fabric Id.

failoverDeploymentModel string | FailoverDeploymentModel

The failover deployment model.

providerSpecificInput RecoveryPlanA2AInput[]

The provider specific input.

groups Sequence[RecoveryPlanGroup]

The recovery plan groups.

primary_fabric_id str

The primary fabric Id.

recovery_fabric_id str

The recovery fabric Id.

failover_deployment_model str | FailoverDeploymentModel

The failover deployment model.

provider_specific_input Sequence[RecoveryPlanA2AInput]

The provider specific input.

groups List<Property Map>

The recovery plan groups.

primaryFabricId String

The primary fabric Id.

recoveryFabricId String

The recovery fabric Id.

failoverDeploymentModel String | "NotApplicable" | "Classic" | "ResourceManager"

The failover deployment model.

providerSpecificInput List<Property Map>

The provider specific input.

CurrentScenarioDetailsResponse

JobId string

ARM Id of the job being executed.

ScenarioName string

Scenario name.

StartTime string

Start time of the workflow.

JobId string

ARM Id of the job being executed.

ScenarioName string

Scenario name.

StartTime string

Start time of the workflow.

jobId String

ARM Id of the job being executed.

scenarioName String

Scenario name.

startTime String

Start time of the workflow.

jobId string

ARM Id of the job being executed.

scenarioName string

Scenario name.

startTime string

Start time of the workflow.

job_id str

ARM Id of the job being executed.

scenario_name str

Scenario name.

start_time str

Start time of the workflow.

jobId String

ARM Id of the job being executed.

scenarioName String

Scenario name.

startTime String

Start time of the workflow.

FailoverDeploymentModel

NotApplicable
NotApplicable
Classic
Classic
ResourceManager
ResourceManager
FailoverDeploymentModelNotApplicable
NotApplicable
FailoverDeploymentModelClassic
Classic
FailoverDeploymentModelResourceManager
ResourceManager
NotApplicable
NotApplicable
Classic
Classic
ResourceManager
ResourceManager
NotApplicable
NotApplicable
Classic
Classic
ResourceManager
ResourceManager
NOT_APPLICABLE
NotApplicable
CLASSIC
Classic
RESOURCE_MANAGER
ResourceManager
"NotApplicable"
NotApplicable
"Classic"
Classic
"ResourceManager"
ResourceManager

PossibleOperationsDirections

PrimaryToRecovery
PrimaryToRecovery
RecoveryToPrimary
RecoveryToPrimary
PossibleOperationsDirectionsPrimaryToRecovery
PrimaryToRecovery
PossibleOperationsDirectionsRecoveryToPrimary
RecoveryToPrimary
PrimaryToRecovery
PrimaryToRecovery
RecoveryToPrimary
RecoveryToPrimary
PrimaryToRecovery
PrimaryToRecovery
RecoveryToPrimary
RecoveryToPrimary
PRIMARY_TO_RECOVERY
PrimaryToRecovery
RECOVERY_TO_PRIMARY
RecoveryToPrimary
"PrimaryToRecovery"
PrimaryToRecovery
"RecoveryToPrimary"
RecoveryToPrimary

RecoveryPlanA2ADetailsResponse

PrimaryZone string

The primary zone.

RecoveryZone string

The recovery zone.

PrimaryZone string

The primary zone.

RecoveryZone string

The recovery zone.

primaryZone String

The primary zone.

recoveryZone String

The recovery zone.

primaryZone string

The primary zone.

recoveryZone string

The recovery zone.

primary_zone str

The primary zone.

recovery_zone str

The recovery zone.

primaryZone String

The primary zone.

recoveryZone String

The recovery zone.

RecoveryPlanA2AInput

PrimaryZone string

The primary zone.

RecoveryZone string

The recovery zone.

PrimaryZone string

The primary zone.

RecoveryZone string

The recovery zone.

primaryZone String

The primary zone.

recoveryZone String

The recovery zone.

primaryZone string

The primary zone.

recoveryZone string

The recovery zone.

primary_zone str

The primary zone.

recovery_zone str

The recovery zone.

primaryZone String

The primary zone.

recoveryZone String

The recovery zone.

RecoveryPlanAction

ActionName string

The action name.

FailoverDirections List<Union<string, Pulumi.AzureNative.RecoveryServices.PossibleOperationsDirections>>

The list of failover directions.

FailoverTypes List<Union<string, Pulumi.AzureNative.RecoveryServices.ReplicationProtectedItemOperation>>

The list of failover types.

ActionName string

The action name.

FailoverDirections []string

The list of failover directions.

FailoverTypes []string

The list of failover types.

actionName String

The action name.

failoverDirections List<Either<String,PossibleOperationsDirections>>

The list of failover directions.

failoverTypes List<Either<String,ReplicationProtectedItemOperation>>

The list of failover types.

actionName string

The action name.

failoverDirections (string | PossibleOperationsDirections)[]

The list of failover directions.

failoverTypes (string | ReplicationProtectedItemOperation)[]

The list of failover types.

action_name str

The action name.

failover_directions Sequence[Union[str, PossibleOperationsDirections]]

The list of failover directions.

failover_types Sequence[Union[str, ReplicationProtectedItemOperation]]

The list of failover types.

actionName String

The action name.

failoverDirections List<String | "PrimaryToRecovery" | "RecoveryToPrimary">

The list of failover directions.

failoverTypes List<String | "ReverseReplicate" | "Commit" | "PlannedFailover" | "UnplannedFailover" | "DisableProtection" | "TestFailover" | "TestFailoverCleanup" | "Failback" | "FinalizeFailback" | "ChangePit" | "RepairReplication" | "SwitchProtection" | "CompleteMigration">

The list of failover types.

RecoveryPlanActionResponse

ActionName string

The action name.

CustomDetails RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse

The custom details.

FailoverDirections []string

The list of failover directions.

FailoverTypes []string

The list of failover types.

actionName String

The action name.

customDetails RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse

The custom details.

failoverDirections List<String>

The list of failover directions.

failoverTypes List<String>

The list of failover types.

actionName string

The action name.

customDetails RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse

The custom details.

failoverDirections string[]

The list of failover directions.

failoverTypes string[]

The list of failover types.

action_name str

The action name.

custom_details RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse

The custom details.

failover_directions Sequence[str]

The list of failover directions.

failover_types Sequence[str]

The list of failover types.

actionName String

The action name.

customDetails Property Map | Property Map | Property Map

The custom details.

failoverDirections List<String>

The list of failover directions.

failoverTypes List<String>

The list of failover types.

RecoveryPlanAutomationRunbookActionDetailsResponse

FabricLocation string

The fabric location.

RunbookId string

The runbook ARM Id.

Timeout string

The runbook timeout.

FabricLocation string

The fabric location.

RunbookId string

The runbook ARM Id.

Timeout string

The runbook timeout.

fabricLocation String

The fabric location.

runbookId String

The runbook ARM Id.

timeout String

The runbook timeout.

fabricLocation string

The fabric location.

runbookId string

The runbook ARM Id.

timeout string

The runbook timeout.

fabric_location str

The fabric location.

runbook_id str

The runbook ARM Id.

timeout str

The runbook timeout.

fabricLocation String

The fabric location.

runbookId String

The runbook ARM Id.

timeout String

The runbook timeout.

RecoveryPlanGroup

groupType String | "Shutdown" | "Boot" | "Failover"

The group type.

endGroupActions List<Property Map>

The end group actions.

replicationProtectedItems List<Property Map>

The list of protected items.

startGroupActions List<Property Map>

The start group actions.

RecoveryPlanGroupResponse

groupType String

The group type.

endGroupActions List<Property Map>

The end group actions.

replicationProtectedItems List<Property Map>

The list of protected items.

startGroupActions List<Property Map>

The start group actions.

RecoveryPlanGroupType

Shutdown
Shutdown
Boot
Boot
Failover
Failover
RecoveryPlanGroupTypeShutdown
Shutdown
RecoveryPlanGroupTypeBoot
Boot
RecoveryPlanGroupTypeFailover
Failover
Shutdown
Shutdown
Boot
Boot
Failover
Failover
Shutdown
Shutdown
Boot
Boot
Failover
Failover
SHUTDOWN
Shutdown
BOOT
Boot
FAILOVER
Failover
"Shutdown"
Shutdown
"Boot"
Boot
"Failover"
Failover

RecoveryPlanManualActionDetailsResponse

Description string

The manual action description.

Description string

The manual action description.

description String

The manual action description.

description string

The manual action description.

description str

The manual action description.

description String

The manual action description.

RecoveryPlanPropertiesResponse

ProviderSpecificDetails List<Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanA2ADetailsResponse>

The provider id and provider specific details.

AllowedOperations List<string>

The list of allowed operations.

CurrentScenario Pulumi.AzureNative.RecoveryServices.Inputs.CurrentScenarioDetailsResponse

The current scenario details.

CurrentScenarioStatus string

The recovery plan status.

CurrentScenarioStatusDescription string

The recovery plan status description.

FailoverDeploymentModel string

The failover deployment model.

FriendlyName string

The friendly name.

Groups List<Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanGroupResponse>

The recovery plan groups.

LastPlannedFailoverTime string

The start time of the last planned failover.

LastTestFailoverTime string

The start time of the last test failover.

LastUnplannedFailoverTime string

The start time of the last unplanned failover.

PrimaryFabricFriendlyName string

The primary fabric friendly name.

PrimaryFabricId string

The primary fabric Id.

RecoveryFabricFriendlyName string

The recovery fabric friendly name.

RecoveryFabricId string

The recovery fabric Id.

ReplicationProviders List<string>

The list of replication providers.

ProviderSpecificDetails []RecoveryPlanA2ADetailsResponse

The provider id and provider specific details.

AllowedOperations []string

The list of allowed operations.

CurrentScenario CurrentScenarioDetailsResponse

The current scenario details.

CurrentScenarioStatus string

The recovery plan status.

CurrentScenarioStatusDescription string

The recovery plan status description.

FailoverDeploymentModel string

The failover deployment model.

FriendlyName string

The friendly name.

Groups []RecoveryPlanGroupResponse

The recovery plan groups.

LastPlannedFailoverTime string

The start time of the last planned failover.

LastTestFailoverTime string

The start time of the last test failover.

LastUnplannedFailoverTime string

The start time of the last unplanned failover.

PrimaryFabricFriendlyName string

The primary fabric friendly name.

PrimaryFabricId string

The primary fabric Id.

RecoveryFabricFriendlyName string

The recovery fabric friendly name.

RecoveryFabricId string

The recovery fabric Id.

ReplicationProviders []string

The list of replication providers.

providerSpecificDetails List<RecoveryPlanA2ADetailsResponse>

The provider id and provider specific details.

allowedOperations List<String>

The list of allowed operations.

currentScenario CurrentScenarioDetailsResponse

The current scenario details.

currentScenarioStatus String

The recovery plan status.

currentScenarioStatusDescription String

The recovery plan status description.

failoverDeploymentModel String

The failover deployment model.

friendlyName String

The friendly name.

groups List<RecoveryPlanGroupResponse>

The recovery plan groups.

lastPlannedFailoverTime String

The start time of the last planned failover.

lastTestFailoverTime String

The start time of the last test failover.

lastUnplannedFailoverTime String

The start time of the last unplanned failover.

primaryFabricFriendlyName String

The primary fabric friendly name.

primaryFabricId String

The primary fabric Id.

recoveryFabricFriendlyName String

The recovery fabric friendly name.

recoveryFabricId String

The recovery fabric Id.

replicationProviders List<String>

The list of replication providers.

providerSpecificDetails RecoveryPlanA2ADetailsResponse[]

The provider id and provider specific details.

allowedOperations string[]

The list of allowed operations.

currentScenario CurrentScenarioDetailsResponse

The current scenario details.

currentScenarioStatus string

The recovery plan status.

currentScenarioStatusDescription string

The recovery plan status description.

failoverDeploymentModel string

The failover deployment model.

friendlyName string

The friendly name.

groups RecoveryPlanGroupResponse[]

The recovery plan groups.

lastPlannedFailoverTime string

The start time of the last planned failover.

lastTestFailoverTime string

The start time of the last test failover.

lastUnplannedFailoverTime string

The start time of the last unplanned failover.

primaryFabricFriendlyName string

The primary fabric friendly name.

primaryFabricId string

The primary fabric Id.

recoveryFabricFriendlyName string

The recovery fabric friendly name.

recoveryFabricId string

The recovery fabric Id.

replicationProviders string[]

The list of replication providers.

provider_specific_details Sequence[RecoveryPlanA2ADetailsResponse]

The provider id and provider specific details.

allowed_operations Sequence[str]

The list of allowed operations.

current_scenario CurrentScenarioDetailsResponse

The current scenario details.

current_scenario_status str

The recovery plan status.

current_scenario_status_description str

The recovery plan status description.

failover_deployment_model str

The failover deployment model.

friendly_name str

The friendly name.

groups Sequence[RecoveryPlanGroupResponse]

The recovery plan groups.

last_planned_failover_time str

The start time of the last planned failover.

last_test_failover_time str

The start time of the last test failover.

last_unplanned_failover_time str

The start time of the last unplanned failover.

primary_fabric_friendly_name str

The primary fabric friendly name.

primary_fabric_id str

The primary fabric Id.

recovery_fabric_friendly_name str

The recovery fabric friendly name.

recovery_fabric_id str

The recovery fabric Id.

replication_providers Sequence[str]

The list of replication providers.

providerSpecificDetails List<Property Map>

The provider id and provider specific details.

allowedOperations List<String>

The list of allowed operations.

currentScenario Property Map

The current scenario details.

currentScenarioStatus String

The recovery plan status.

currentScenarioStatusDescription String

The recovery plan status description.

failoverDeploymentModel String

The failover deployment model.

friendlyName String

The friendly name.

groups List<Property Map>

The recovery plan groups.

lastPlannedFailoverTime String

The start time of the last planned failover.

lastTestFailoverTime String

The start time of the last test failover.

lastUnplannedFailoverTime String

The start time of the last unplanned failover.

primaryFabricFriendlyName String

The primary fabric friendly name.

primaryFabricId String

The primary fabric Id.

recoveryFabricFriendlyName String

The recovery fabric friendly name.

recoveryFabricId String

The recovery fabric Id.

replicationProviders List<String>

The list of replication providers.

RecoveryPlanProtectedItem

Id string

The ARM Id of the recovery plan protected item.

VirtualMachineId string

The virtual machine Id.

Id string

The ARM Id of the recovery plan protected item.

VirtualMachineId string

The virtual machine Id.

id String

The ARM Id of the recovery plan protected item.

virtualMachineId String

The virtual machine Id.

id string

The ARM Id of the recovery plan protected item.

virtualMachineId string

The virtual machine Id.

id str

The ARM Id of the recovery plan protected item.

virtual_machine_id str

The virtual machine Id.

id String

The ARM Id of the recovery plan protected item.

virtualMachineId String

The virtual machine Id.

RecoveryPlanProtectedItemResponse

Id string

The ARM Id of the recovery plan protected item.

VirtualMachineId string

The virtual machine Id.

Id string

The ARM Id of the recovery plan protected item.

VirtualMachineId string

The virtual machine Id.

id String

The ARM Id of the recovery plan protected item.

virtualMachineId String

The virtual machine Id.

id string

The ARM Id of the recovery plan protected item.

virtualMachineId string

The virtual machine Id.

id str

The ARM Id of the recovery plan protected item.

virtual_machine_id str

The virtual machine Id.

id String

The ARM Id of the recovery plan protected item.

virtualMachineId String

The virtual machine Id.

RecoveryPlanScriptActionDetailsResponse

FabricLocation string

The fabric location.

Path string

The script path.

Timeout string

The script timeout.

FabricLocation string

The fabric location.

Path string

The script path.

Timeout string

The script timeout.

fabricLocation String

The fabric location.

path String

The script path.

timeout String

The script timeout.

fabricLocation string

The fabric location.

path string

The script path.

timeout string

The script timeout.

fabric_location str

The fabric location.

path str

The script path.

timeout str

The script timeout.

fabricLocation String

The fabric location.

path String

The script path.

timeout String

The script timeout.

ReplicationProtectedItemOperation

ReverseReplicate
ReverseReplicate
Commit
Commit
PlannedFailover
PlannedFailover
UnplannedFailover
UnplannedFailover
DisableProtection
DisableProtection
TestFailover
TestFailover
TestFailoverCleanup
TestFailoverCleanup
Failback
Failback
FinalizeFailback
FinalizeFailback
ChangePit
ChangePit
RepairReplication
RepairReplication
SwitchProtection
SwitchProtection
CompleteMigration
CompleteMigration
ReplicationProtectedItemOperationReverseReplicate
ReverseReplicate
ReplicationProtectedItemOperationCommit
Commit
ReplicationProtectedItemOperationPlannedFailover
PlannedFailover
ReplicationProtectedItemOperationUnplannedFailover
UnplannedFailover
ReplicationProtectedItemOperationDisableProtection
DisableProtection
ReplicationProtectedItemOperationTestFailover
TestFailover
ReplicationProtectedItemOperationTestFailoverCleanup
TestFailoverCleanup
ReplicationProtectedItemOperationFailback
Failback
ReplicationProtectedItemOperationFinalizeFailback
FinalizeFailback
ReplicationProtectedItemOperationChangePit
ChangePit
ReplicationProtectedItemOperationRepairReplication
RepairReplication
ReplicationProtectedItemOperationSwitchProtection
SwitchProtection
ReplicationProtectedItemOperationCompleteMigration
CompleteMigration
ReverseReplicate
ReverseReplicate
Commit
Commit
PlannedFailover
PlannedFailover
UnplannedFailover
UnplannedFailover
DisableProtection
DisableProtection
TestFailover
TestFailover
TestFailoverCleanup
TestFailoverCleanup
Failback
Failback
FinalizeFailback
FinalizeFailback
ChangePit
ChangePit
RepairReplication
RepairReplication
SwitchProtection
SwitchProtection
CompleteMigration
CompleteMigration
ReverseReplicate
ReverseReplicate
Commit
Commit
PlannedFailover
PlannedFailover
UnplannedFailover
UnplannedFailover
DisableProtection
DisableProtection
TestFailover
TestFailover
TestFailoverCleanup
TestFailoverCleanup
Failback
Failback
FinalizeFailback
FinalizeFailback
ChangePit
ChangePit
RepairReplication
RepairReplication
SwitchProtection
SwitchProtection
CompleteMigration
CompleteMigration
REVERSE_REPLICATE
ReverseReplicate
COMMIT
Commit
PLANNED_FAILOVER
PlannedFailover
UNPLANNED_FAILOVER
UnplannedFailover
DISABLE_PROTECTION
DisableProtection
TEST_FAILOVER
TestFailover
TEST_FAILOVER_CLEANUP
TestFailoverCleanup
FAILBACK
Failback
FINALIZE_FAILBACK
FinalizeFailback
CHANGE_PIT
ChangePit
REPAIR_REPLICATION
RepairReplication
SWITCH_PROTECTION
SwitchProtection
COMPLETE_MIGRATION
CompleteMigration
"ReverseReplicate"
ReverseReplicate
"Commit"
Commit
"PlannedFailover"
PlannedFailover
"UnplannedFailover"
UnplannedFailover
"DisableProtection"
DisableProtection
"TestFailover"
TestFailover
"TestFailoverCleanup"
TestFailoverCleanup
"Failback"
Failback
"FinalizeFailback"
FinalizeFailback
"ChangePit"
ChangePit
"RepairReplication"
RepairReplication
"SwitchProtection"
SwitchProtection
"CompleteMigration"
CompleteMigration

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:recoveryservices:ReplicationRecoveryPlan RPtest1 /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationRecoveryPlans/RPtest1 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0