1. Packages
  2. Azure Native
  3. API Docs
  4. recoveryservices
  5. ReplicationRecoveryPlan
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.recoveryservices.ReplicationRecoveryPlan

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    Recovery plan details. Azure REST API version: 2023-04-01. Prior API version in Azure Native 1.x: 2018-07-10.

    Other available API versions: 2023-06-01, 2023-08-01, 2024-01-01.

    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 = AzureNative.RecoveryServices.FailoverDeploymentModel.ResourceManager,
                Groups = new[]
                {
                    new AzureNative.RecoveryServices.Inputs.RecoveryPlanGroupArgs
                    {
                        EndGroupActions = new() { },
                        GroupType = AzureNative.RecoveryServices.RecoveryPlanGroupType.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",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/recoveryservices/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := recoveryservices.NewReplicationRecoveryPlan(ctx, "replicationRecoveryPlan", &recoveryservices.ReplicationRecoveryPlanArgs{
    			Properties: &recoveryservices.CreateRecoveryPlanInputPropertiesArgs{
    				FailoverDeploymentModel: pulumi.String(recoveryservices.FailoverDeploymentModelResourceManager),
    				Groups: []recoveryservices.RecoveryPlanGroupArgs{
    					{
    						EndGroupActions: recoveryservices.RecoveryPlanActionArray{},
    						GroupType:       pulumi.String(recoveryservices.RecoveryPlanGroupTypeBoot),
    						ReplicationProtectedItems: recoveryservices.RecoveryPlanProtectedItemArray{
    							{
    								Id:               pulumi.String("/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: pulumi.String("f8491e4f-817a-40dd-a90c-af773978c75b"),
    							},
    						},
    						StartGroupActions: recoveryservices.RecoveryPlanActionArray{},
    					},
    				},
    				PrimaryFabricId:  pulumi.String("/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1"),
    				RecoveryFabricId: pulumi.String("Microsoft Azure"),
    			},
    			RecoveryPlanName:  pulumi.String("RPtest1"),
    			ResourceGroupName: pulumi.String("resourceGroupPS1"),
    			ResourceName:      pulumi.String("vault1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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 com.pulumi.azurenative.recoveryservices.inputs.CreateRecoveryPlanInputPropertiesArgs;
    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(CreateRecoveryPlanInputPropertiesArgs.builder()
                    .failoverDeploymentModel("ResourceManager")
                    .groups(RecoveryPlanGroupArgs.builder()
                        .endGroupActions()
                        .groupType("Boot")
                        .replicationProtectedItems(RecoveryPlanProtectedItemArgs.builder()
                            .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")
                            .build())
                        .startGroupActions()
                        .build())
                    .primaryFabricId("/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1")
                    .recoveryFabricId("Microsoft Azure")
                    .build())
                .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.CreateRecoveryPlanInputPropertiesArgs(
            failover_deployment_model=azure_native.recoveryservices.FailoverDeploymentModel.RESOURCE_MANAGER,
            groups=[azure_native.recoveryservices.RecoveryPlanGroupArgs(
                end_group_actions=[],
                group_type=azure_native.recoveryservices.RecoveryPlanGroupType.BOOT,
                replication_protected_items=[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",
                )],
                start_group_actions=[],
            )],
            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: azure_native.recoveryservices.FailoverDeploymentModel.ResourceManager,
            groups: [{
                endGroupActions: [],
                groupType: azure_native.recoveryservices.RecoveryPlanGroupType.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

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ReplicationRecoveryPlan(name: string, args: ReplicationRecoveryPlanArgs, opts?: CustomResourceOptions);
    @overload
    def ReplicationRecoveryPlan(resource_name: str,
                                args: ReplicationRecoveryPlanArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ReplicationRecoveryPlan(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                properties: Optional[CreateRecoveryPlanInputPropertiesArgs] = None,
                                resource_group_name: Optional[str] = None,
                                resource_name_: Optional[str] = None,
                                recovery_plan_name: Optional[str] = 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.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var replicationRecoveryPlanResource = new AzureNative.RecoveryServices.ReplicationRecoveryPlan("replicationRecoveryPlanResource", new()
    {
        Properties = new AzureNative.RecoveryServices.Inputs.CreateRecoveryPlanInputPropertiesArgs
        {
            Groups = new[]
            {
                new AzureNative.RecoveryServices.Inputs.RecoveryPlanGroupArgs
                {
                    GroupType = "string",
                    EndGroupActions = new[]
                    {
                        new AzureNative.RecoveryServices.Inputs.RecoveryPlanActionArgs
                        {
                            ActionName = "string",
                            CustomDetails = new AzureNative.RecoveryServices.Inputs.RecoveryPlanAutomationRunbookActionDetailsArgs
                            {
                                FabricLocation = "string",
                                InstanceType = "AutomationRunbookActionDetails",
                                RunbookId = "string",
                                Timeout = "string",
                            },
                            FailoverDirections = new[]
                            {
                                "string",
                            },
                            FailoverTypes = new[]
                            {
                                "string",
                            },
                        },
                    },
                    ReplicationProtectedItems = new[]
                    {
                        new AzureNative.RecoveryServices.Inputs.RecoveryPlanProtectedItemArgs
                        {
                            Id = "string",
                            VirtualMachineId = "string",
                        },
                    },
                    StartGroupActions = new[]
                    {
                        new AzureNative.RecoveryServices.Inputs.RecoveryPlanActionArgs
                        {
                            ActionName = "string",
                            CustomDetails = new AzureNative.RecoveryServices.Inputs.RecoveryPlanAutomationRunbookActionDetailsArgs
                            {
                                FabricLocation = "string",
                                InstanceType = "AutomationRunbookActionDetails",
                                RunbookId = "string",
                                Timeout = "string",
                            },
                            FailoverDirections = new[]
                            {
                                "string",
                            },
                            FailoverTypes = new[]
                            {
                                "string",
                            },
                        },
                    },
                },
            },
            PrimaryFabricId = "string",
            RecoveryFabricId = "string",
            FailoverDeploymentModel = "string",
            ProviderSpecificInput = new[]
            {
                new AzureNative.RecoveryServices.Inputs.RecoveryPlanA2AInputArgs
                {
                    InstanceType = "A2A",
                    PrimaryExtendedLocation = new AzureNative.RecoveryServices.Inputs.ExtendedLocationArgs
                    {
                        Name = "string",
                        Type = "string",
                    },
                    PrimaryZone = "string",
                    RecoveryExtendedLocation = new AzureNative.RecoveryServices.Inputs.ExtendedLocationArgs
                    {
                        Name = "string",
                        Type = "string",
                    },
                    RecoveryZone = "string",
                },
            },
        },
        ResourceGroupName = "string",
        ResourceName = "string",
        RecoveryPlanName = "string",
    });
    
    example, err := recoveryservices.NewReplicationRecoveryPlan(ctx, "replicationRecoveryPlanResource", &recoveryservices.ReplicationRecoveryPlanArgs{
    Properties: &recoveryservices.CreateRecoveryPlanInputPropertiesArgs{
    Groups: []recoveryservices.RecoveryPlanGroupArgs{
    {
    GroupType: pulumi.String("string"),
    EndGroupActions: []recoveryservices.RecoveryPlanActionArgs{
    {
    ActionName: pulumi.String("string"),
    CustomDetails: {
    FabricLocation: "string",
    InstanceType: "AutomationRunbookActionDetails",
    RunbookId: "string",
    Timeout: "string",
    },
    FailoverDirections: pulumi.StringArray{
    pulumi.String("string"),
    },
    FailoverTypes: pulumi.StringArray{
    pulumi.String("string"),
    },
    },
    },
    ReplicationProtectedItems: recoveryservices.RecoveryPlanProtectedItemArray{
    {
    Id: pulumi.String("string"),
    VirtualMachineId: pulumi.String("string"),
    },
    },
    StartGroupActions: []recoveryservices.RecoveryPlanActionArgs{
    {
    ActionName: pulumi.String("string"),
    CustomDetails: {
    FabricLocation: "string",
    InstanceType: "AutomationRunbookActionDetails",
    RunbookId: "string",
    Timeout: "string",
    },
    FailoverDirections: pulumi.StringArray{
    pulumi.String("string"),
    },
    FailoverTypes: pulumi.StringArray{
    pulumi.String("string"),
    },
    },
    },
    },
    },
    PrimaryFabricId: pulumi.String("string"),
    RecoveryFabricId: pulumi.String("string"),
    FailoverDeploymentModel: pulumi.String("string"),
    ProviderSpecificInput: []recoveryservices.RecoveryPlanA2AInputArgs{
    {
    InstanceType: pulumi.String("A2A"),
    PrimaryExtendedLocation: {
    Name: pulumi.String("string"),
    Type: pulumi.String("string"),
    },
    PrimaryZone: pulumi.String("string"),
    RecoveryExtendedLocation: {
    Name: pulumi.String("string"),
    Type: pulumi.String("string"),
    },
    RecoveryZone: pulumi.String("string"),
    },
    },
    },
    ResourceGroupName: pulumi.String("string"),
    ResourceName: pulumi.String("string"),
    RecoveryPlanName: pulumi.String("string"),
    })
    
    var replicationRecoveryPlanResource = new ReplicationRecoveryPlan("replicationRecoveryPlanResource", ReplicationRecoveryPlanArgs.builder()        
        .properties(CreateRecoveryPlanInputPropertiesArgs.builder()
            .groups(RecoveryPlanGroupArgs.builder()
                .groupType("string")
                .endGroupActions(RecoveryPlanActionArgs.builder()
                    .actionName("string")
                    .customDetails(RecoveryPlanAutomationRunbookActionDetailsArgs.builder()
                        .fabricLocation("string")
                        .instanceType("AutomationRunbookActionDetails")
                        .runbookId("string")
                        .timeout("string")
                        .build())
                    .failoverDirections("string")
                    .failoverTypes("string")
                    .build())
                .replicationProtectedItems(RecoveryPlanProtectedItemArgs.builder()
                    .id("string")
                    .virtualMachineId("string")
                    .build())
                .startGroupActions(RecoveryPlanActionArgs.builder()
                    .actionName("string")
                    .customDetails(RecoveryPlanAutomationRunbookActionDetailsArgs.builder()
                        .fabricLocation("string")
                        .instanceType("AutomationRunbookActionDetails")
                        .runbookId("string")
                        .timeout("string")
                        .build())
                    .failoverDirections("string")
                    .failoverTypes("string")
                    .build())
                .build())
            .primaryFabricId("string")
            .recoveryFabricId("string")
            .failoverDeploymentModel("string")
            .providerSpecificInput(RecoveryPlanA2AInputArgs.builder()
                .instanceType("A2A")
                .primaryExtendedLocation(ExtendedLocationArgs.builder()
                    .name("string")
                    .type("string")
                    .build())
                .primaryZone("string")
                .recoveryExtendedLocation(ExtendedLocationArgs.builder()
                    .name("string")
                    .type("string")
                    .build())
                .recoveryZone("string")
                .build())
            .build())
        .resourceGroupName("string")
        .resourceName("string")
        .recoveryPlanName("string")
        .build());
    
    replication_recovery_plan_resource = azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlanResource",
        properties=azure_native.recoveryservices.CreateRecoveryPlanInputPropertiesArgs(
            groups=[azure_native.recoveryservices.RecoveryPlanGroupArgs(
                group_type="string",
                end_group_actions=[azure_native.recoveryservices.RecoveryPlanActionArgs(
                    action_name="string",
                    custom_details=azure_native.recoveryservices.RecoveryPlanAutomationRunbookActionDetailsArgs(
                        fabric_location="string",
                        instance_type="AutomationRunbookActionDetails",
                        runbook_id="string",
                        timeout="string",
                    ),
                    failover_directions=["string"],
                    failover_types=["string"],
                )],
                replication_protected_items=[azure_native.recoveryservices.RecoveryPlanProtectedItemArgs(
                    id="string",
                    virtual_machine_id="string",
                )],
                start_group_actions=[azure_native.recoveryservices.RecoveryPlanActionArgs(
                    action_name="string",
                    custom_details=azure_native.recoveryservices.RecoveryPlanAutomationRunbookActionDetailsArgs(
                        fabric_location="string",
                        instance_type="AutomationRunbookActionDetails",
                        runbook_id="string",
                        timeout="string",
                    ),
                    failover_directions=["string"],
                    failover_types=["string"],
                )],
            )],
            primary_fabric_id="string",
            recovery_fabric_id="string",
            failover_deployment_model="string",
            provider_specific_input=[azure_native.recoveryservices.RecoveryPlanA2AInputArgs(
                instance_type="A2A",
                primary_extended_location=azure_native.recoveryservices.ExtendedLocationArgs(
                    name="string",
                    type="string",
                ),
                primary_zone="string",
                recovery_extended_location=azure_native.recoveryservices.ExtendedLocationArgs(
                    name="string",
                    type="string",
                ),
                recovery_zone="string",
            )],
        ),
        resource_group_name="string",
        resource_name_="string",
        recovery_plan_name="string")
    
    const replicationRecoveryPlanResource = new azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlanResource", {
        properties: {
            groups: [{
                groupType: "string",
                endGroupActions: [{
                    actionName: "string",
                    customDetails: {
                        fabricLocation: "string",
                        instanceType: "AutomationRunbookActionDetails",
                        runbookId: "string",
                        timeout: "string",
                    },
                    failoverDirections: ["string"],
                    failoverTypes: ["string"],
                }],
                replicationProtectedItems: [{
                    id: "string",
                    virtualMachineId: "string",
                }],
                startGroupActions: [{
                    actionName: "string",
                    customDetails: {
                        fabricLocation: "string",
                        instanceType: "AutomationRunbookActionDetails",
                        runbookId: "string",
                        timeout: "string",
                    },
                    failoverDirections: ["string"],
                    failoverTypes: ["string"],
                }],
            }],
            primaryFabricId: "string",
            recoveryFabricId: "string",
            failoverDeploymentModel: "string",
            providerSpecificInput: [{
                instanceType: "A2A",
                primaryExtendedLocation: {
                    name: "string",
                    type: "string",
                },
                primaryZone: "string",
                recoveryExtendedLocation: {
                    name: "string",
                    type: "string",
                },
                recoveryZone: "string",
            }],
        },
        resourceGroupName: "string",
        resourceName: "string",
        recoveryPlanName: "string",
    });
    
    type: azure-native:recoveryservices:ReplicationRecoveryPlan
    properties:
        properties:
            failoverDeploymentModel: string
            groups:
                - endGroupActions:
                    - actionName: string
                      customDetails:
                        fabricLocation: string
                        instanceType: AutomationRunbookActionDetails
                        runbookId: string
                        timeout: string
                      failoverDirections:
                        - string
                      failoverTypes:
                        - string
                  groupType: string
                  replicationProtectedItems:
                    - id: string
                      virtualMachineId: string
                  startGroupActions:
                    - actionName: string
                      customDetails:
                        fabricLocation: string
                        instanceType: AutomationRunbookActionDetails
                        runbookId: string
                        timeout: string
                      failoverDirections:
                        - string
                      failoverTypes:
                        - string
            primaryFabricId: string
            providerSpecificInput:
                - instanceType: A2A
                  primaryExtendedLocation:
                    name: string
                    type: string
                  primaryZone: string
                  recoveryExtendedLocation:
                    name: string
                    type: string
                  recoveryZone: string
            recoveryFabricId: string
        recoveryPlanName: string
        resourceGroupName: string
        resourceName: string
    

    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.CreateRecoveryPlanInputProperties
    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 CreateRecoveryPlanInputProperties
    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 CreateRecoveryPlanInputProperties
    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, CreateRecoveryPlanInputPropertiesArgs

    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, CurrentScenarioDetailsResponseArgs

    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.

    ExtendedLocation, ExtendedLocationArgs

    Name string
    The name of the extended location.
    Type string | Pulumi.AzureNative.RecoveryServices.ExtendedLocationType
    The extended location type.
    Name string
    The name of the extended location.
    Type string | ExtendedLocationType
    The extended location type.
    name String
    The name of the extended location.
    type String | ExtendedLocationType
    The extended location type.
    name string
    The name of the extended location.
    type string | ExtendedLocationType
    The extended location type.
    name str
    The name of the extended location.
    type str | ExtendedLocationType
    The extended location type.
    name String
    The name of the extended location.
    type String | "EdgeZone"
    The extended location type.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string
    The name of the extended location.
    Type string
    The extended location type.
    Name string
    The name of the extended location.
    Type string
    The extended location type.
    name String
    The name of the extended location.
    type String
    The extended location type.
    name string
    The name of the extended location.
    type string
    The extended location type.
    name str
    The name of the extended location.
    type str
    The extended location type.
    name String
    The name of the extended location.
    type String
    The extended location type.

    ExtendedLocationType, ExtendedLocationTypeArgs

    EdgeZone
    EdgeZone
    ExtendedLocationTypeEdgeZone
    EdgeZone
    EdgeZone
    EdgeZone
    EdgeZone
    EdgeZone
    EDGE_ZONE
    EdgeZone
    "EdgeZone"
    EdgeZone

    FailoverDeploymentModel, FailoverDeploymentModelArgs

    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, PossibleOperationsDirectionsArgs

    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, RecoveryPlanA2ADetailsResponseArgs

    PrimaryExtendedLocation ExtendedLocationResponse
    The primary extended location.
    PrimaryZone string
    The primary zone.
    RecoveryExtendedLocation ExtendedLocationResponse
    The recovery extended location.
    RecoveryZone string
    The recovery zone.
    primaryExtendedLocation ExtendedLocationResponse
    The primary extended location.
    primaryZone String
    The primary zone.
    recoveryExtendedLocation ExtendedLocationResponse
    The recovery extended location.
    recoveryZone String
    The recovery zone.
    primaryExtendedLocation ExtendedLocationResponse
    The primary extended location.
    primaryZone string
    The primary zone.
    recoveryExtendedLocation ExtendedLocationResponse
    The recovery extended location.
    recoveryZone string
    The recovery zone.
    primary_extended_location ExtendedLocationResponse
    The primary extended location.
    primary_zone str
    The primary zone.
    recovery_extended_location ExtendedLocationResponse
    The recovery extended location.
    recovery_zone str
    The recovery zone.
    primaryExtendedLocation Property Map
    The primary extended location.
    primaryZone String
    The primary zone.
    recoveryExtendedLocation Property Map
    The recovery extended location.
    recoveryZone String
    The recovery zone.

    RecoveryPlanA2AInput, RecoveryPlanA2AInputArgs

    PrimaryExtendedLocation ExtendedLocation
    The primary extended location.
    PrimaryZone string
    The primary zone.
    RecoveryExtendedLocation ExtendedLocation
    The recovery extended location.
    RecoveryZone string
    The recovery zone.
    primaryExtendedLocation ExtendedLocation
    The primary extended location.
    primaryZone String
    The primary zone.
    recoveryExtendedLocation ExtendedLocation
    The recovery extended location.
    recoveryZone String
    The recovery zone.
    primaryExtendedLocation ExtendedLocation
    The primary extended location.
    primaryZone string
    The primary zone.
    recoveryExtendedLocation ExtendedLocation
    The recovery extended location.
    recoveryZone string
    The recovery zone.
    primary_extended_location ExtendedLocation
    The primary extended location.
    primary_zone str
    The primary zone.
    recovery_extended_location ExtendedLocation
    The recovery extended location.
    recovery_zone str
    The recovery zone.
    primaryExtendedLocation Property Map
    The primary extended location.
    primaryZone String
    The primary zone.
    recoveryExtendedLocation Property Map
    The recovery extended location.
    recoveryZone String
    The recovery zone.

    RecoveryPlanAction, RecoveryPlanActionArgs

    ActionName string
    The action name.
    CustomDetails Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanAutomationRunbookActionDetails | Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanManualActionDetails | Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanScriptActionDetails
    The custom details.
    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.
    CustomDetails RecoveryPlanAutomationRunbookActionDetails | RecoveryPlanManualActionDetails | RecoveryPlanScriptActionDetails
    The custom details.
    FailoverDirections []string
    The list of failover directions.
    FailoverTypes []string
    The list of failover types.
    actionName String
    The action name.
    customDetails RecoveryPlanAutomationRunbookActionDetails | RecoveryPlanManualActionDetails | RecoveryPlanScriptActionDetails
    The custom details.
    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.
    customDetails RecoveryPlanAutomationRunbookActionDetails | RecoveryPlanManualActionDetails | RecoveryPlanScriptActionDetails
    The custom details.
    failoverDirections (string | PossibleOperationsDirections)[]
    The list of failover directions.
    failoverTypes (string | ReplicationProtectedItemOperation)[]
    The list of failover types.
    action_name str
    The action name.
    custom_details RecoveryPlanAutomationRunbookActionDetails | RecoveryPlanManualActionDetails | RecoveryPlanScriptActionDetails
    The custom details.
    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.
    customDetails Property Map | Property Map | Property Map
    The custom details.
    failoverDirections List<String | "PrimaryToRecovery" | "RecoveryToPrimary">
    The list of failover directions.
    failoverTypes List<String | "ReverseReplicate" | "Commit" | "PlannedFailover" | "UnplannedFailover" | "DisableProtection" | "TestFailover" | "TestFailoverCleanup" | "Failback" | "FinalizeFailback" | "CancelFailover" | "ChangePit" | "RepairReplication" | "SwitchProtection" | "CompleteMigration">
    The list of failover types.

    RecoveryPlanActionLocation, RecoveryPlanActionLocationArgs

    Primary
    Primary
    Recovery
    Recovery
    RecoveryPlanActionLocationPrimary
    Primary
    RecoveryPlanActionLocationRecovery
    Recovery
    Primary
    Primary
    Recovery
    Recovery
    Primary
    Primary
    Recovery
    Recovery
    PRIMARY
    Primary
    RECOVERY
    Recovery
    "Primary"
    Primary
    "Recovery"
    Recovery

    RecoveryPlanActionResponse, RecoveryPlanActionResponseArgs

    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.

    RecoveryPlanAutomationRunbookActionDetails, RecoveryPlanAutomationRunbookActionDetailsArgs

    FabricLocation string | Pulumi.AzureNative.RecoveryServices.RecoveryPlanActionLocation
    The fabric location.
    RunbookId string
    The runbook ARM Id.
    Timeout string
    The runbook timeout.
    FabricLocation string | RecoveryPlanActionLocation
    The fabric location.
    RunbookId string
    The runbook ARM Id.
    Timeout string
    The runbook timeout.
    fabricLocation String | RecoveryPlanActionLocation
    The fabric location.
    runbookId String
    The runbook ARM Id.
    timeout String
    The runbook timeout.
    fabricLocation string | RecoveryPlanActionLocation
    The fabric location.
    runbookId string
    The runbook ARM Id.
    timeout string
    The runbook timeout.
    fabric_location str | RecoveryPlanActionLocation
    The fabric location.
    runbook_id str
    The runbook ARM Id.
    timeout str
    The runbook timeout.
    fabricLocation String | "Primary" | "Recovery"
    The fabric location.
    runbookId String
    The runbook ARM Id.
    timeout String
    The runbook timeout.

    RecoveryPlanAutomationRunbookActionDetailsResponse, RecoveryPlanAutomationRunbookActionDetailsResponseArgs

    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, RecoveryPlanGroupArgs

    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, RecoveryPlanGroupResponseArgs

    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, RecoveryPlanGroupTypeArgs

    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

    RecoveryPlanManualActionDetails, RecoveryPlanManualActionDetailsArgs

    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.

    RecoveryPlanManualActionDetailsResponse, RecoveryPlanManualActionDetailsResponseArgs

    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, RecoveryPlanPropertiesResponseArgs

    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.
    ProviderSpecificDetails List<Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanA2ADetailsResponse>
    The provider id and provider specific details.
    RecoveryFabricFriendlyName string
    The recovery fabric friendly name.
    RecoveryFabricId string
    The recovery fabric Id.
    ReplicationProviders List<string>
    The list of replication providers.
    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.
    ProviderSpecificDetails []RecoveryPlanA2ADetailsResponse
    The provider id and provider specific details.
    RecoveryFabricFriendlyName string
    The recovery fabric friendly name.
    RecoveryFabricId string
    The recovery fabric Id.
    ReplicationProviders []string
    The list of replication providers.
    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.
    providerSpecificDetails List<RecoveryPlanA2ADetailsResponse>
    The provider id and provider specific details.
    recoveryFabricFriendlyName String
    The recovery fabric friendly name.
    recoveryFabricId String
    The recovery fabric Id.
    replicationProviders List<String>
    The list of replication providers.
    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.
    providerSpecificDetails RecoveryPlanA2ADetailsResponse[]
    The provider id and provider specific details.
    recoveryFabricFriendlyName string
    The recovery fabric friendly name.
    recoveryFabricId string
    The recovery fabric Id.
    replicationProviders string[]
    The list of replication providers.
    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.
    provider_specific_details Sequence[RecoveryPlanA2ADetailsResponse]
    The provider id and provider specific details.
    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.
    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.
    providerSpecificDetails List<Property Map>
    The provider id and provider specific details.
    recoveryFabricFriendlyName String
    The recovery fabric friendly name.
    recoveryFabricId String
    The recovery fabric Id.
    replicationProviders List<String>
    The list of replication providers.

    RecoveryPlanProtectedItem, RecoveryPlanProtectedItemArgs

    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, RecoveryPlanProtectedItemResponseArgs

    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.

    RecoveryPlanScriptActionDetails, RecoveryPlanScriptActionDetailsArgs

    FabricLocation string | Pulumi.AzureNative.RecoveryServices.RecoveryPlanActionLocation
    The fabric location.
    Path string
    The script path.
    Timeout string
    The script timeout.
    FabricLocation string | RecoveryPlanActionLocation
    The fabric location.
    Path string
    The script path.
    Timeout string
    The script timeout.
    fabricLocation String | RecoveryPlanActionLocation
    The fabric location.
    path String
    The script path.
    timeout String
    The script timeout.
    fabricLocation string | RecoveryPlanActionLocation
    The fabric location.
    path string
    The script path.
    timeout string
    The script timeout.
    fabric_location str | RecoveryPlanActionLocation
    The fabric location.
    path str
    The script path.
    timeout str
    The script timeout.
    fabricLocation String | "Primary" | "Recovery"
    The fabric location.
    path String
    The script path.
    timeout String
    The script timeout.

    RecoveryPlanScriptActionDetailsResponse, RecoveryPlanScriptActionDetailsResponseArgs

    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, ReplicationProtectedItemOperationArgs

    ReverseReplicate
    ReverseReplicate
    Commit
    Commit
    PlannedFailover
    PlannedFailover
    UnplannedFailover
    UnplannedFailover
    DisableProtection
    DisableProtection
    TestFailover
    TestFailover
    TestFailoverCleanup
    TestFailoverCleanup
    Failback
    Failback
    FinalizeFailback
    FinalizeFailback
    CancelFailover
    CancelFailover
    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
    ReplicationProtectedItemOperationCancelFailover
    CancelFailover
    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
    CancelFailover
    CancelFailover
    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
    CancelFailover
    CancelFailover
    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
    CANCEL_FAILOVER
    CancelFailover
    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
    "CancelFailover"
    CancelFailover
    "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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi