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

azure-native.recoveryservices.ReplicationRecoveryPlan

Explore with Pulumi AI

Recovery plan details.

Uses Azure REST API version 2024-10-01. In version 2.x of the Azure Native provider, it used API version 2023-04-01.

Other available API versions: 2023-02-01, 2023-04-01, 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native recoveryservices [ApiVersion]. See the version guide for details.

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",
    });

});
Copy
package main

import (
	recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices/v3"
	"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.RecoveryPlanGroupArray{
					&recoveryservices.RecoveryPlanGroupArgs{
						EndGroupActions: recoveryservices.RecoveryPlanActionArray{},
						GroupType:       pulumi.String(recoveryservices.RecoveryPlanGroupTypeBoot),
						ReplicationProtectedItems: recoveryservices.RecoveryPlanProtectedItemArray{
							&recoveryservices.RecoveryPlanProtectedItemArgs{
								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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

replication_recovery_plan = azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlan",
    properties={
        "failover_deployment_model": azure_native.recoveryservices.FailoverDeploymentModel.RESOURCE_MANAGER,
        "groups": [{
            "end_group_actions": [],
            "group_type": azure_native.recoveryservices.RecoveryPlanGroupType.BOOT,
            "replication_protected_items": [{
                "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")
Copy
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
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. ReplicationRecoveryPlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ReplicationRecoveryPlanArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ReplicationRecoveryPlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ReplicationRecoveryPlanArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor 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",
});
Copy
example, err := recoveryservices.NewReplicationRecoveryPlan(ctx, "replicationRecoveryPlanResource", &recoveryservices.ReplicationRecoveryPlanArgs{
	Properties: &recoveryservices.CreateRecoveryPlanInputPropertiesArgs{
		Groups: recoveryservices.RecoveryPlanGroupArray{
			&recoveryservices.RecoveryPlanGroupArgs{
				GroupType: pulumi.String("string"),
				EndGroupActions: recoveryservices.RecoveryPlanActionArray{
					&recoveryservices.RecoveryPlanActionArgs{
						ActionName: pulumi.String("string"),
						CustomDetails: recoveryservices.RecoveryPlanAutomationRunbookActionDetails{
							FabricLocation: "string",
							InstanceType:   "AutomationRunbookActionDetails",
							RunbookId:      "string",
							Timeout:        "string",
						},
						FailoverDirections: pulumi.StringArray{
							pulumi.String("string"),
						},
						FailoverTypes: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
				},
				ReplicationProtectedItems: recoveryservices.RecoveryPlanProtectedItemArray{
					&recoveryservices.RecoveryPlanProtectedItemArgs{
						Id:               pulumi.String("string"),
						VirtualMachineId: pulumi.String("string"),
					},
				},
				StartGroupActions: recoveryservices.RecoveryPlanActionArray{
					&recoveryservices.RecoveryPlanActionArgs{
						ActionName: pulumi.String("string"),
						CustomDetails: recoveryservices.RecoveryPlanAutomationRunbookActionDetails{
							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.RecoveryPlanA2AInputArray{
			&recoveryservices.RecoveryPlanA2AInputArgs{
				InstanceType: pulumi.String("A2A"),
				PrimaryExtendedLocation: &recoveryservices.ExtendedLocationArgs{
					Name: pulumi.String("string"),
					Type: pulumi.String("string"),
				},
				PrimaryZone: pulumi.String("string"),
				RecoveryExtendedLocation: &recoveryservices.ExtendedLocationArgs{
					Name: pulumi.String("string"),
					Type: pulumi.String("string"),
				},
				RecoveryZone: pulumi.String("string"),
			},
		},
	},
	ResourceGroupName: pulumi.String("string"),
	ResourceName:      pulumi.String("string"),
	RecoveryPlanName:  pulumi.String("string"),
})
Copy
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());
Copy
replication_recovery_plan_resource = azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlanResource",
    properties={
        "groups": [{
            "group_type": "string",
            "end_group_actions": [{
                "action_name": "string",
                "custom_details": {
                    "fabric_location": "string",
                    "instance_type": "AutomationRunbookActionDetails",
                    "runbook_id": "string",
                    "timeout": "string",
                },
                "failover_directions": ["string"],
                "failover_types": ["string"],
            }],
            "replication_protected_items": [{
                "id": "string",
                "virtual_machine_id": "string",
            }],
            "start_group_actions": [{
                "action_name": "string",
                "custom_details": {
                    "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": [{
            "instance_type": "A2A",
            "primary_extended_location": {
                "name": "string",
                "type": "string",
            },
            "primary_zone": "string",
            "recovery_extended_location": {
                "name": "string",
                "type": "string",
            },
            "recovery_zone": "string",
        }],
    },
    resource_group_name="string",
    resource_name_="string",
    recovery_plan_name="string")
Copy
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",
});
Copy
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
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ReplicationRecoveryPlan resource accepts the following input properties:

Properties This property is required. Pulumi.AzureNative.RecoveryServices.Inputs.CreateRecoveryPlanInputProperties
Recovery plan creation properties.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group where the recovery services vault is present.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the recovery services vault.
RecoveryPlanName Changes to this property will trigger replacement. string
Recovery plan name.
Properties This property is required. CreateRecoveryPlanInputPropertiesArgs
Recovery plan creation properties.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group where the recovery services vault is present.
ResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the recovery services vault.
RecoveryPlanName Changes to this property will trigger replacement. string
Recovery plan name.
properties This property is required. CreateRecoveryPlanInputProperties
Recovery plan creation properties.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group where the recovery services vault is present.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the recovery services vault.
recoveryPlanName Changes to this property will trigger replacement. String
Recovery plan name.
properties This property is required. CreateRecoveryPlanInputProperties
Recovery plan creation properties.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group where the recovery services vault is present.
resourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the recovery services vault.
recoveryPlanName Changes to this property will trigger replacement. string
Recovery plan name.
properties This property is required. CreateRecoveryPlanInputPropertiesArgs
Recovery plan creation properties.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group where the recovery services vault is present.
resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the recovery services vault.
recovery_plan_name Changes to this property will trigger replacement. str
Recovery plan name.
properties This property is required. Property Map
Recovery plan creation properties.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group where the recovery services vault is present.
resourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the recovery services vault.
recoveryPlanName Changes to this property will trigger replacement. String
Recovery plan name.

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource Name
Type string
Resource Type
Location string
Resource Location
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource Name
Type string
Resource Type
Location string
Resource Location
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource Name
type String
Resource Type
location String
Resource Location
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource Name
type string
Resource Type
location string
Resource Location
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource Name
type str
Resource Type
location str
Resource Location
azureApiVersion String
The Azure API version of the resource.
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 This property is required. List<Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanGroup>
The recovery plan groups.
PrimaryFabricId This property is required. string
The primary fabric Id.
RecoveryFabricId This property is required. string
The recovery fabric Id.
FailoverDeploymentModel string | Pulumi.AzureNative.RecoveryServices.FailoverDeploymentModel
The failover deployment model.
ProviderSpecificInput List<Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanA2AInput>
The provider specific input.
Groups This property is required. []RecoveryPlanGroup
The recovery plan groups.
PrimaryFabricId This property is required. string
The primary fabric Id.
RecoveryFabricId This property is required. string
The recovery fabric Id.
FailoverDeploymentModel string | FailoverDeploymentModel
The failover deployment model.
ProviderSpecificInput []RecoveryPlanA2AInput
The provider specific input.
groups This property is required. List<RecoveryPlanGroup>
The recovery plan groups.
primaryFabricId This property is required. String
The primary fabric Id.
recoveryFabricId This property is required. String
The recovery fabric Id.
failoverDeploymentModel String | FailoverDeploymentModel
The failover deployment model.
providerSpecificInput List<RecoveryPlanA2AInput>
The provider specific input.
groups This property is required. RecoveryPlanGroup[]
The recovery plan groups.
primaryFabricId This property is required. string
The primary fabric Id.
recoveryFabricId This property is required. string
The recovery fabric Id.
failoverDeploymentModel string | FailoverDeploymentModel
The failover deployment model.
providerSpecificInput RecoveryPlanA2AInput[]
The provider specific input.
groups This property is required. Sequence[RecoveryPlanGroup]
The recovery plan groups.
primary_fabric_id This property is required. str
The primary fabric Id.
recovery_fabric_id This property is required. str
The recovery fabric Id.
failover_deployment_model str | FailoverDeploymentModel
The failover deployment model.
provider_specific_input Sequence[RecoveryPlanA2AInput]
The provider specific input.
groups This property is required. List<Property Map>
The recovery plan groups.
primaryFabricId This property is required. String
The primary fabric Id.
recoveryFabricId This property is required. 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 This property is required. string
The name of the extended location.
Type This property is required. string | Pulumi.AzureNative.RecoveryServices.ExtendedLocationType
The extended location type.
Name This property is required. string
The name of the extended location.
Type This property is required. string | ExtendedLocationType
The extended location type.
name This property is required. String
The name of the extended location.
type This property is required. String | ExtendedLocationType
The extended location type.
name This property is required. string
The name of the extended location.
type This property is required. string | ExtendedLocationType
The extended location type.
name This property is required. str
The name of the extended location.
type This property is required. str | ExtendedLocationType
The extended location type.
name This property is required. String
The name of the extended location.
type This property is required. String | "EdgeZone"
The extended location type.

ExtendedLocationResponse
, ExtendedLocationResponseArgs

Name This property is required. string
The name of the extended location.
Type This property is required. string
The extended location type.
Name This property is required. string
The name of the extended location.
Type This property is required. string
The extended location type.
name This property is required. String
The name of the extended location.
type This property is required. String
The extended location type.
name This property is required. string
The name of the extended location.
type This property is required. string
The extended location type.
name This property is required. str
The name of the extended location.
type This property is required. str
The extended location type.
name This property is required. String
The name of the extended location.
type This property is required. 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 This property is required. string
The action name.
CustomDetails This property is required. Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanAutomationRunbookActionDetails | Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanManualActionDetails | Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanScriptActionDetails
The custom details.
FailoverDirections This property is required. List<Union<string, Pulumi.AzureNative.RecoveryServices.PossibleOperationsDirections>>
The list of failover directions.
FailoverTypes This property is required. List<Union<string, Pulumi.AzureNative.RecoveryServices.ReplicationProtectedItemOperation>>
The list of failover types.
ActionName This property is required. string
The action name.
CustomDetails This property is required. RecoveryPlanAutomationRunbookActionDetails | RecoveryPlanManualActionDetails | RecoveryPlanScriptActionDetails
The custom details.
FailoverDirections This property is required. []string
The list of failover directions.
FailoverTypes This property is required. []string
The list of failover types.
actionName This property is required. String
The action name.
customDetails This property is required. RecoveryPlanAutomationRunbookActionDetails | RecoveryPlanManualActionDetails | RecoveryPlanScriptActionDetails
The custom details.
failoverDirections This property is required. List<Either<String,PossibleOperationsDirections>>
The list of failover directions.
failoverTypes This property is required. List<Either<String,ReplicationProtectedItemOperation>>
The list of failover types.
actionName This property is required. string
The action name.
customDetails This property is required. RecoveryPlanAutomationRunbookActionDetails | RecoveryPlanManualActionDetails | RecoveryPlanScriptActionDetails
The custom details.
failoverDirections This property is required. (string | PossibleOperationsDirections)[]
The list of failover directions.
failoverTypes This property is required. (string | ReplicationProtectedItemOperation)[]
The list of failover types.
action_name This property is required. str
The action name.
custom_details This property is required. RecoveryPlanAutomationRunbookActionDetails | RecoveryPlanManualActionDetails | RecoveryPlanScriptActionDetails
The custom details.
failover_directions This property is required. Sequence[Union[str, PossibleOperationsDirections]]
The list of failover directions.
failover_types This property is required. Sequence[Union[str, ReplicationProtectedItemOperation]]
The list of failover types.
actionName This property is required. String
The action name.
customDetails This property is required. Property Map | Property Map | Property Map
The custom details.
failoverDirections This property is required. List<String | "PrimaryToRecovery" | "RecoveryToPrimary">
The list of failover directions.
failoverTypes This property is required. 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 This property is required. string
The action name.
CustomDetails This property is required. Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanAutomationRunbookActionDetailsResponse | Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanManualActionDetailsResponse | Pulumi.AzureNative.RecoveryServices.Inputs.RecoveryPlanScriptActionDetailsResponse
The custom details.
FailoverDirections This property is required. List<string>
The list of failover directions.
FailoverTypes This property is required. List<string>
The list of failover types.
ActionName This property is required. string
The action name.
CustomDetails This property is required. RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse
The custom details.
FailoverDirections This property is required. []string
The list of failover directions.
FailoverTypes This property is required. []string
The list of failover types.
actionName This property is required. String
The action name.
customDetails This property is required. RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse
The custom details.
failoverDirections This property is required. List<String>
The list of failover directions.
failoverTypes This property is required. List<String>
The list of failover types.
actionName This property is required. string
The action name.
customDetails This property is required. RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse
The custom details.
failoverDirections This property is required. string[]
The list of failover directions.
failoverTypes This property is required. string[]
The list of failover types.
action_name This property is required. str
The action name.
custom_details This property is required. RecoveryPlanAutomationRunbookActionDetailsResponse | RecoveryPlanManualActionDetailsResponse | RecoveryPlanScriptActionDetailsResponse
The custom details.
failover_directions This property is required. Sequence[str]
The list of failover directions.
failover_types This property is required. Sequence[str]
The list of failover types.
actionName This property is required. String
The action name.
customDetails This property is required. Property Map | Property Map | Property Map
The custom details.
failoverDirections This property is required. List<String>
The list of failover directions.
failoverTypes This property is required. List<String>
The list of failover types.

RecoveryPlanAutomationRunbookActionDetails
, RecoveryPlanAutomationRunbookActionDetailsArgs

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

RecoveryPlanAutomationRunbookActionDetailsResponse
, RecoveryPlanAutomationRunbookActionDetailsResponseArgs

FabricLocation This property is required. string
The fabric location.
RunbookId string
The runbook ARM Id.
Timeout string
The runbook timeout.
FabricLocation This property is required. string
The fabric location.
RunbookId string
The runbook ARM Id.
Timeout string
The runbook timeout.
fabricLocation This property is required. String
The fabric location.
runbookId String
The runbook ARM Id.
timeout String
The runbook timeout.
fabricLocation This property is required. string
The fabric location.
runbookId string
The runbook ARM Id.
timeout string
The runbook timeout.
fabric_location This property is required. str
The fabric location.
runbook_id str
The runbook ARM Id.
timeout str
The runbook timeout.
fabricLocation This property is required. String
The fabric location.
runbookId String
The runbook ARM Id.
timeout String
The runbook timeout.

RecoveryPlanGroup
, RecoveryPlanGroupArgs

GroupType This property is required. string | RecoveryPlanGroupType
The group type.
EndGroupActions []RecoveryPlanAction
The end group actions.
ReplicationProtectedItems []RecoveryPlanProtectedItem
The list of protected items.
StartGroupActions []RecoveryPlanAction
The start group actions.
groupType This property is required. String | RecoveryPlanGroupType
The group type.
endGroupActions List<RecoveryPlanAction>
The end group actions.
replicationProtectedItems List<RecoveryPlanProtectedItem>
The list of protected items.
startGroupActions List<RecoveryPlanAction>
The start group actions.
groupType This property is required. string | RecoveryPlanGroupType
The group type.
endGroupActions RecoveryPlanAction[]
The end group actions.
replicationProtectedItems RecoveryPlanProtectedItem[]
The list of protected items.
startGroupActions RecoveryPlanAction[]
The start group actions.
group_type This property is required. str | RecoveryPlanGroupType
The group type.
end_group_actions Sequence[RecoveryPlanAction]
The end group actions.
replication_protected_items Sequence[RecoveryPlanProtectedItem]
The list of protected items.
start_group_actions Sequence[RecoveryPlanAction]
The start group actions.
groupType This property is required. 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 This property is required. string
The group type.
EndGroupActions []RecoveryPlanActionResponse
The end group actions.
ReplicationProtectedItems []RecoveryPlanProtectedItemResponse
The list of protected items.
StartGroupActions []RecoveryPlanActionResponse
The start group actions.
groupType This property is required. String
The group type.
endGroupActions List<RecoveryPlanActionResponse>
The end group actions.
replicationProtectedItems List<RecoveryPlanProtectedItemResponse>
The list of protected items.
startGroupActions List<RecoveryPlanActionResponse>
The start group actions.
groupType This property is required. string
The group type.
endGroupActions RecoveryPlanActionResponse[]
The end group actions.
replicationProtectedItems RecoveryPlanProtectedItemResponse[]
The list of protected items.
startGroupActions RecoveryPlanActionResponse[]
The start group actions.
groupType This property is required. 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 This property is required. string | Pulumi.AzureNative.RecoveryServices.RecoveryPlanActionLocation
The fabric location.
Path This property is required. string
The script path.
Timeout string
The script timeout.
FabricLocation This property is required. string | RecoveryPlanActionLocation
The fabric location.
Path This property is required. string
The script path.
Timeout string
The script timeout.
fabricLocation This property is required. String | RecoveryPlanActionLocation
The fabric location.
path This property is required. String
The script path.
timeout String
The script timeout.
fabricLocation This property is required. string | RecoveryPlanActionLocation
The fabric location.
path This property is required. string
The script path.
timeout string
The script timeout.
fabric_location This property is required. str | RecoveryPlanActionLocation
The fabric location.
path This property is required. str
The script path.
timeout str
The script timeout.
fabricLocation This property is required. String | "Primary" | "Recovery"
The fabric location.
path This property is required. String
The script path.
timeout String
The script timeout.

RecoveryPlanScriptActionDetailsResponse
, RecoveryPlanScriptActionDetailsResponseArgs

FabricLocation This property is required. string
The fabric location.
Path This property is required. string
The script path.
Timeout string
The script timeout.
FabricLocation This property is required. string
The fabric location.
Path This property is required. string
The script path.
Timeout string
The script timeout.
fabricLocation This property is required. String
The fabric location.
path This property is required. String
The script path.
timeout String
The script timeout.
fabricLocation This property is required. string
The fabric location.
path This property is required. string
The script path.
timeout string
The script timeout.
fabric_location This property is required. str
The fabric location.
path This property is required. str
The script path.
timeout str
The script timeout.
fabricLocation This property is required. String
The fabric location.
path This property is required. 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} 
Copy

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

Package Details

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