azure-native.recoveryservices.ReplicationRecoveryPlan
Explore with Pulumi AI
Recovery plan details. API Version: 2018-07-10.
Example Usage
Creates a recovery plan with the given details.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var replicationRecoveryPlan = new AzureNative.RecoveryServices.ReplicationRecoveryPlan("replicationRecoveryPlan", new()
    {
        Properties = new AzureNative.RecoveryServices.Inputs.CreateRecoveryPlanInputPropertiesArgs
        {
            FailoverDeploymentModel = "ResourceManager",
            Groups = new[]
            {
                new AzureNative.RecoveryServices.Inputs.RecoveryPlanGroupArgs
                {
                    EndGroupActions = new[] {},
                    GroupType = "Boot",
                    ReplicationProtectedItems = new[]
                    {
                        new AzureNative.RecoveryServices.Inputs.RecoveryPlanProtectedItemArgs
                        {
                            Id = "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
                            VirtualMachineId = "f8491e4f-817a-40dd-a90c-af773978c75b",
                        },
                    },
                    StartGroupActions = new[] {},
                },
            },
            PrimaryFabricId = "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
            RecoveryFabricId = "Microsoft Azure",
        },
        RecoveryPlanName = "RPtest1",
        ResourceGroupName = "resourceGroupPS1",
        ResourceName = "vault1",
    });
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlan;
import com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlanArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var replicationRecoveryPlan = new ReplicationRecoveryPlan("replicationRecoveryPlan", ReplicationRecoveryPlanArgs.builder()        
            .properties(Map.ofEntries(
                Map.entry("failoverDeploymentModel", "ResourceManager"),
                Map.entry("groups", Map.ofEntries(
                    Map.entry("endGroupActions", ),
                    Map.entry("groupType", "Boot"),
                    Map.entry("replicationProtectedItems", Map.ofEntries(
                        Map.entry("id", "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b"),
                        Map.entry("virtualMachineId", "f8491e4f-817a-40dd-a90c-af773978c75b")
                    )),
                    Map.entry("startGroupActions", )
                )),
                Map.entry("primaryFabricId", "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1"),
                Map.entry("recoveryFabricId", "Microsoft Azure")
            ))
            .recoveryPlanName("RPtest1")
            .resourceGroupName("resourceGroupPS1")
            .resourceName("vault1")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const replicationRecoveryPlan = new azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlan", {
    properties: {
        failoverDeploymentModel: "ResourceManager",
        groups: [{
            endGroupActions: [],
            groupType: "Boot",
            replicationProtectedItems: [{
                id: "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
                virtualMachineId: "f8491e4f-817a-40dd-a90c-af773978c75b",
            }],
            startGroupActions: [],
        }],
        primaryFabricId: "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
        recoveryFabricId: "Microsoft Azure",
    },
    recoveryPlanName: "RPtest1",
    resourceGroupName: "resourceGroupPS1",
    resourceName: "vault1",
});
import pulumi
import pulumi_azure_native as azure_native
replication_recovery_plan = azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlan",
    properties=azure_native.recoveryservices.RecoveryPlanPropertiesResponseArgs(
        failover_deployment_model="ResourceManager",
        groups=[{
            "endGroupActions": [],
            "groupType": "Boot",
            "replicationProtectedItems": [azure_native.recoveryservices.RecoveryPlanProtectedItemArgs(
                id="/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
                virtual_machine_id="f8491e4f-817a-40dd-a90c-af773978c75b",
            )],
            "startGroupActions": [],
        }],
        primary_fabric_id="/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
        recovery_fabric_id="Microsoft Azure",
    ),
    recovery_plan_name="RPtest1",
    resource_group_name="resourceGroupPS1",
    resource_name_="vault1")
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.
Constructor example
The following reference example uses placeholder values for all input properties.
var replicationRecoveryPlanResource = new AzureNative.Recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlanResource", new()
{
    Properties = 
    {
        { "groups", new[]
        {
            
            {
                { "groupType", "string" },
                { "endGroupActions", new[]
                {
                    
                    {
                        { "actionName", "string" },
                        { "failoverDirections", new[]
                        {
                            "string",
                        } },
                        { "failoverTypes", new[]
                        {
                            "string",
                        } },
                    },
                } },
                { "replicationProtectedItems", new[]
                {
                    
                    {
                        { "id", "string" },
                        { "virtualMachineId", "string" },
                    },
                } },
                { "startGroupActions", new[]
                {
                    
                    {
                        { "actionName", "string" },
                        { "failoverDirections", new[]
                        {
                            "string",
                        } },
                        { "failoverTypes", new[]
                        {
                            "string",
                        } },
                    },
                } },
            },
        } },
        { "primaryFabricId", "string" },
        { "recoveryFabricId", "string" },
        { "failoverDeploymentModel", "string" },
        { "providerSpecificInput", new[]
        {
            
            {
                { "instanceType", "A2A" },
                { "primaryZone", "string" },
                { "recoveryZone", "string" },
            },
        } },
    },
    ResourceGroupName = "string",
    ResourceName = "string",
    RecoveryPlanName = "string",
});
example, err := recoveryservices.NewReplicationRecoveryPlan(ctx, "replicationRecoveryPlanResource", &recoveryservices.ReplicationRecoveryPlanArgs{
	Properties: map[string]interface{}{
		"groups": []map[string]interface{}{
			map[string]interface{}{
				"groupType": "string",
				"endGroupActions": []map[string]interface{}{
					map[string]interface{}{
						"actionName": "string",
						"failoverDirections": []string{
							"string",
						},
						"failoverTypes": []string{
							"string",
						},
					},
				},
				"replicationProtectedItems": []map[string]interface{}{
					map[string]interface{}{
						"id":               "string",
						"virtualMachineId": "string",
					},
				},
				"startGroupActions": []map[string]interface{}{
					map[string]interface{}{
						"actionName": "string",
						"failoverDirections": []string{
							"string",
						},
						"failoverTypes": []string{
							"string",
						},
					},
				},
			},
		},
		"primaryFabricId":         "string",
		"recoveryFabricId":        "string",
		"failoverDeploymentModel": "string",
		"providerSpecificInput": []map[string]interface{}{
			map[string]interface{}{
				"instanceType": "A2A",
				"primaryZone":  "string",
				"recoveryZone": "string",
			},
		},
	},
	ResourceGroupName: "string",
	ResourceName:      "string",
	RecoveryPlanName:  "string",
})
var replicationRecoveryPlanResource = new ReplicationRecoveryPlan("replicationRecoveryPlanResource", ReplicationRecoveryPlanArgs.builder()
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .resourceName("string")
    .recoveryPlanName("string")
    .build());
replication_recovery_plan_resource = azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlanResource",
    properties={
        groups: [{
            groupType: string,
            endGroupActions: [{
                actionName: string,
                failoverDirections: [string],
                failoverTypes: [string],
            }],
            replicationProtectedItems: [{
                id: string,
                virtualMachineId: string,
            }],
            startGroupActions: [{
                actionName: string,
                failoverDirections: [string],
                failoverTypes: [string],
            }],
        }],
        primaryFabricId: string,
        recoveryFabricId: string,
        failoverDeploymentModel: string,
        providerSpecificInput: [{
            instanceType: A2A,
            primaryZone: string,
            recoveryZone: 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",
                failoverDirections: ["string"],
                failoverTypes: ["string"],
            }],
            replicationProtectedItems: [{
                id: "string",
                virtualMachineId: "string",
            }],
            startGroupActions: [{
                actionName: "string",
                failoverDirections: ["string"],
                failoverTypes: ["string"],
            }],
        }],
        primaryFabricId: "string",
        recoveryFabricId: "string",
        failoverDeploymentModel: "string",
        providerSpecificInput: [{
            instanceType: "A2A",
            primaryZone: "string",
            recoveryZone: "string",
        }],
    },
    resourceGroupName: "string",
    resourceName: "string",
    recoveryPlanName: "string",
});
type: azure-native:recoveryservices:ReplicationRecoveryPlan
properties:
    properties:
        failoverDeploymentModel: string
        groups:
            - endGroupActions:
                - actionName: string
                  failoverDirections:
                    - string
                  failoverTypes:
                    - string
              groupType: string
              replicationProtectedItems:
                - id: string
                  virtualMachineId: string
              startGroupActions:
                - actionName: string
                  failoverDirections:
                    - string
                  failoverTypes:
                    - string
        primaryFabricId: string
        providerSpecificInput:
            - instanceType: A2A
              primaryZone: 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
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
Pulumi.Azure Native. Recovery Services. Inputs. Create Recovery Plan Input Properties 
- Recovery plan creation properties.
- ResourceGroup stringName 
- The name of the resource group where the recovery services vault is present.
- ResourceName string
- The name of the recovery services vault.
- RecoveryPlan stringName 
- Recovery plan name.
- Properties
CreateRecovery Plan Input Properties Args 
- Recovery plan creation properties.
- ResourceGroup stringName 
- The name of the resource group where the recovery services vault is present.
- ResourceName string
- The name of the recovery services vault.
- RecoveryPlan stringName 
- Recovery plan name.
- properties
CreateRecovery Plan Input Properties 
- Recovery plan creation properties.
- resourceGroup StringName 
- The name of the resource group where the recovery services vault is present.
- resourceName String
- The name of the recovery services vault.
- recoveryPlan StringName 
- Recovery plan name.
- properties
CreateRecovery Plan Input Properties 
- Recovery plan creation properties.
- resourceGroup stringName 
- The name of the resource group where the recovery services vault is present.
- resourceName string
- The name of the recovery services vault.
- recoveryPlan stringName 
- Recovery plan name.
- properties
CreateRecovery Plan Input Properties Args 
- Recovery plan creation properties.
- resource_group_ strname 
- 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_ strname 
- Recovery plan name.
- properties Property Map
- Recovery plan creation properties.
- resourceGroup StringName 
- The name of the resource group where the recovery services vault is present.
- resourceName String
- The name of the recovery services vault.
- recoveryPlan StringName 
- Recovery plan name.
Outputs
All input properties are implicitly available as output properties. Additionally, the ReplicationRecoveryPlan resource produces the following output properties:
Supporting Types
CreateRecoveryPlanInputProperties, CreateRecoveryPlanInputPropertiesArgs          
- Groups
List<Pulumi.Azure Native. Recovery Services. Inputs. Recovery Plan Group> 
- The recovery plan groups.
- PrimaryFabric stringId 
- The primary fabric Id.
- RecoveryFabric stringId 
- The recovery fabric Id.
- FailoverDeployment string | Pulumi.Model Azure Native. Recovery Services. Failover Deployment Model 
- The failover deployment model.
- ProviderSpecific List<Pulumi.Input Azure Native. Recovery Services. Inputs. Recovery Plan A2AInput> 
- The provider specific input.
- Groups
[]RecoveryPlan Group 
- The recovery plan groups.
- PrimaryFabric stringId 
- The primary fabric Id.
- RecoveryFabric stringId 
- The recovery fabric Id.
- FailoverDeployment string | FailoverModel Deployment Model 
- The failover deployment model.
- ProviderSpecific []RecoveryInput Plan A2AInput 
- The provider specific input.
- groups
List<RecoveryPlan Group> 
- The recovery plan groups.
- primaryFabric StringId 
- The primary fabric Id.
- recoveryFabric StringId 
- The recovery fabric Id.
- failoverDeployment String | FailoverModel Deployment Model 
- The failover deployment model.
- providerSpecific List<RecoveryInput Plan A2AInput> 
- The provider specific input.
- groups
RecoveryPlan Group[] 
- The recovery plan groups.
- primaryFabric stringId 
- The primary fabric Id.
- recoveryFabric stringId 
- The recovery fabric Id.
- failoverDeployment string | FailoverModel Deployment Model 
- The failover deployment model.
- providerSpecific RecoveryInput Plan A2AInput[] 
- The provider specific input.
- groups
Sequence[RecoveryPlan Group] 
- The recovery plan groups.
- primary_fabric_ strid 
- The primary fabric Id.
- recovery_fabric_ strid 
- The recovery fabric Id.
- failover_deployment_ str | Failovermodel Deployment Model 
- The failover deployment model.
- provider_specific_ Sequence[Recoveryinput Plan A2AInput] 
- The provider specific input.
- groups List<Property Map>
- The recovery plan groups.
- primaryFabric StringId 
- The primary fabric Id.
- recoveryFabric StringId 
- The recovery fabric Id.
- failoverDeployment String | "NotModel Applicable" | "Classic" | "Resource Manager" 
- The failover deployment model.
- providerSpecific List<Property Map>Input 
- 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.
FailoverDeploymentModel, FailoverDeploymentModelArgs      
- NotApplicable 
- NotApplicable
- Classic
- Classic
- ResourceManager 
- ResourceManager
- FailoverDeployment Model Not Applicable 
- NotApplicable
- FailoverDeployment Model Classic 
- Classic
- FailoverDeployment Model Resource Manager 
- 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      
- PrimaryTo Recovery 
- PrimaryToRecovery
- RecoveryTo Primary 
- RecoveryToPrimary
- PossibleOperations Directions Primary To Recovery 
- PrimaryToRecovery
- PossibleOperations Directions Recovery To Primary 
- RecoveryToPrimary
- PrimaryTo Recovery 
- PrimaryToRecovery
- RecoveryTo Primary 
- RecoveryToPrimary
- PrimaryTo Recovery 
- PrimaryToRecovery
- RecoveryTo Primary 
- RecoveryToPrimary
- PRIMARY_TO_RECOVERY
- PrimaryToRecovery
- RECOVERY_TO_PRIMARY
- RecoveryToPrimary
- "PrimaryTo Recovery" 
- PrimaryToRecovery
- "RecoveryTo Primary" 
- RecoveryToPrimary
RecoveryPlanA2ADetailsResponse, RecoveryPlanA2ADetailsResponseArgs        
- PrimaryZone string
- The primary zone.
- RecoveryZone string
- The recovery zone.
- PrimaryZone string
- The primary zone.
- RecoveryZone string
- The recovery zone.
- primaryZone String
- The primary zone.
- recoveryZone String
- The recovery zone.
- primaryZone string
- The primary zone.
- recoveryZone string
- The recovery zone.
- primary_zone str
- The primary zone.
- recovery_zone str
- The recovery zone.
- primaryZone String
- The primary zone.
- recoveryZone String
- The recovery zone.
RecoveryPlanA2AInput, RecoveryPlanA2AInputArgs      
- PrimaryZone string
- The primary zone.
- RecoveryZone string
- The recovery zone.
- PrimaryZone string
- The primary zone.
- RecoveryZone string
- The recovery zone.
- primaryZone String
- The primary zone.
- recoveryZone String
- The recovery zone.
- primaryZone string
- The primary zone.
- recoveryZone string
- The recovery zone.
- primary_zone str
- The primary zone.
- recovery_zone str
- The recovery zone.
- primaryZone String
- The primary zone.
- recoveryZone String
- The recovery zone.
RecoveryPlanAction, RecoveryPlanActionArgs      
- ActionName string
- The action name.
- FailoverDirections List<Union<string, Pulumi.Azure Native. Recovery Services. Possible Operations Directions>> 
- The list of failover directions.
- FailoverTypes List<Union<string, Pulumi.Azure Native. Recovery Services. Replication Protected Item Operation>> 
- The list of failover types.
- ActionName string
- The action name.
- FailoverDirections []string
- The list of failover directions.
- FailoverTypes []string
- The list of failover types.
- actionName String
- The action name.
- failoverDirections List<Either<String,PossibleOperations Directions>> 
- The list of failover directions.
- failoverTypes List<Either<String,ReplicationProtected Item Operation>> 
- The list of failover types.
- actionName string
- The action name.
- failoverDirections (string | PossibleOperations Directions)[] 
- The list of failover directions.
- failoverTypes (string | ReplicationProtected Item Operation)[] 
- The list of failover types.
- action_name str
- The action name.
- failover_directions Sequence[Union[str, PossibleOperations Directions]] 
- The list of failover directions.
- failover_types Sequence[Union[str, ReplicationProtected Item Operation]] 
- The list of failover types.
- actionName String
- The action name.
- failoverDirections List<String | "PrimaryTo Recovery" | "Recovery To Primary"> 
- The list of failover directions.
- failoverTypes List<String | "ReverseReplicate" | "Commit" | "Planned Failover" | "Unplanned Failover" | "Disable Protection" | "Test Failover" | "Test Failover Cleanup" | "Failback" | "Finalize Failback" | "Change Pit" | "Repair Replication" | "Switch Protection" | "Complete Migration"> 
- The list of failover types.
RecoveryPlanActionResponse, RecoveryPlanActionResponseArgs        
- ActionName string
- The action name.
- CustomDetails Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Recovery Plan Automation Runbook Action Details Response Azure | Pulumi.Native. Recovery Services. Inputs. Recovery Plan Manual Action Details Response Azure Native. Recovery Services. Inputs. Recovery Plan Script Action Details Response 
- 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 RecoveryPlan | RecoveryAutomation Runbook Action Details Response Plan | RecoveryManual Action Details Response Plan Script Action Details Response 
- The custom details.
- FailoverDirections []string
- The list of failover directions.
- FailoverTypes []string
- The list of failover types.
- actionName String
- The action name.
- customDetails RecoveryPlan | RecoveryAutomation Runbook Action Details Response Plan | RecoveryManual Action Details Response Plan Script Action Details Response 
- 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 RecoveryPlan | RecoveryAutomation Runbook Action Details Response Plan | RecoveryManual Action Details Response Plan Script Action Details Response 
- 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 RecoveryPlan | RecoveryAutomation Runbook Action Details Response Plan | RecoveryManual Action Details Response Plan Script Action Details Response 
- The custom details.
- failover_directions Sequence[str]
- The list of failover directions.
- failover_types Sequence[str]
- The list of failover types.
- actionName String
- The action name.
- customDetails Property Map | Property Map | Property Map
- The custom details.
- failoverDirections List<String>
- The list of failover directions.
- failoverTypes List<String>
- The list of failover types.
RecoveryPlanAutomationRunbookActionDetailsResponse, 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 | Pulumi.Azure Native. Recovery Services. Recovery Plan Group Type 
- The group type.
- EndGroup List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action> 
- The end group actions.
- ReplicationProtected List<Pulumi.Items Azure Native. Recovery Services. Inputs. Recovery Plan Protected Item> 
- The list of protected items.
- StartGroup List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action> 
- The start group actions.
- GroupType string | RecoveryPlan Group Type 
- The group type.
- EndGroup []RecoveryActions Plan Action 
- The end group actions.
- ReplicationProtected []RecoveryItems Plan Protected Item 
- The list of protected items.
- StartGroup []RecoveryActions Plan Action 
- The start group actions.
- groupType String | RecoveryPlan Group Type 
- The group type.
- endGroup List<RecoveryActions Plan Action> 
- The end group actions.
- replicationProtected List<RecoveryItems Plan Protected Item> 
- The list of protected items.
- startGroup List<RecoveryActions Plan Action> 
- The start group actions.
- groupType string | RecoveryPlan Group Type 
- The group type.
- endGroup RecoveryActions Plan Action[] 
- The end group actions.
- replicationProtected RecoveryItems Plan Protected Item[] 
- The list of protected items.
- startGroup RecoveryActions Plan Action[] 
- The start group actions.
- group_type str | RecoveryPlan Group Type 
- The group type.
- end_group_ Sequence[Recoveryactions Plan Action] 
- The end group actions.
- replication_protected_ Sequence[Recoveryitems Plan Protected Item] 
- The list of protected items.
- start_group_ Sequence[Recoveryactions Plan Action] 
- The start group actions.
- groupType String | "Shutdown" | "Boot" | "Failover"
- The group type.
- endGroup List<Property Map>Actions 
- The end group actions.
- replicationProtected List<Property Map>Items 
- The list of protected items.
- startGroup List<Property Map>Actions 
- The start group actions.
RecoveryPlanGroupResponse, RecoveryPlanGroupResponseArgs        
- GroupType string
- The group type.
- EndGroup List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action Response> 
- The end group actions.
- ReplicationProtected List<Pulumi.Items Azure Native. Recovery Services. Inputs. Recovery Plan Protected Item Response> 
- The list of protected items.
- StartGroup List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action Response> 
- The start group actions.
- GroupType string
- The group type.
- EndGroup []RecoveryActions Plan Action Response 
- The end group actions.
- ReplicationProtected []RecoveryItems Plan Protected Item Response 
- The list of protected items.
- StartGroup []RecoveryActions Plan Action Response 
- The start group actions.
- groupType String
- The group type.
- endGroup List<RecoveryActions Plan Action Response> 
- The end group actions.
- replicationProtected List<RecoveryItems Plan Protected Item Response> 
- The list of protected items.
- startGroup List<RecoveryActions Plan Action Response> 
- The start group actions.
- groupType string
- The group type.
- endGroup RecoveryActions Plan Action Response[] 
- The end group actions.
- replicationProtected RecoveryItems Plan Protected Item Response[] 
- The list of protected items.
- startGroup RecoveryActions Plan Action Response[] 
- The start group actions.
- group_type str
- The group type.
- end_group_ Sequence[Recoveryactions Plan Action Response] 
- The end group actions.
- replication_protected_ Sequence[Recoveryitems Plan Protected Item Response] 
- The list of protected items.
- start_group_ Sequence[Recoveryactions Plan Action Response] 
- The start group actions.
- groupType String
- The group type.
- endGroup List<Property Map>Actions 
- The end group actions.
- replicationProtected List<Property Map>Items 
- The list of protected items.
- startGroup List<Property Map>Actions 
- The start group actions.
RecoveryPlanGroupType, RecoveryPlanGroupTypeArgs        
- Shutdown
- Shutdown
- Boot
- Boot
- Failover
- Failover
- RecoveryPlan Group Type Shutdown 
- Shutdown
- RecoveryPlan Group Type Boot 
- Boot
- RecoveryPlan Group Type Failover 
- Failover
- Shutdown
- Shutdown
- Boot
- Boot
- Failover
- Failover
- Shutdown
- Shutdown
- Boot
- Boot
- Failover
- Failover
- SHUTDOWN
- Shutdown
- BOOT
- Boot
- FAILOVER
- Failover
- "Shutdown"
- Shutdown
- "Boot"
- Boot
- "Failover"
- Failover
RecoveryPlanManualActionDetailsResponse, 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        
- ProviderSpecific List<Pulumi.Details Azure Native. Recovery Services. Inputs. Recovery Plan A2ADetails Response> 
- The provider id and provider specific details.
- AllowedOperations List<string>
- The list of allowed operations.
- CurrentScenario Pulumi.Azure Native. Recovery Services. Inputs. Current Scenario Details Response 
- The current scenario details.
- CurrentScenario stringStatus 
- The recovery plan status.
- CurrentScenario stringStatus Description 
- The recovery plan status description.
- FailoverDeployment stringModel 
- The failover deployment model.
- FriendlyName string
- The friendly name.
- Groups
List<Pulumi.Azure Native. Recovery Services. Inputs. Recovery Plan Group Response> 
- The recovery plan groups.
- LastPlanned stringFailover Time 
- The start time of the last planned failover.
- LastTest stringFailover Time 
- The start time of the last test failover.
- LastUnplanned stringFailover Time 
- The start time of the last unplanned failover.
- PrimaryFabric stringFriendly Name 
- The primary fabric friendly name.
- PrimaryFabric stringId 
- The primary fabric Id.
- RecoveryFabric stringFriendly Name 
- The recovery fabric friendly name.
- RecoveryFabric stringId 
- The recovery fabric Id.
- ReplicationProviders List<string>
- The list of replication providers.
- ProviderSpecific []RecoveryDetails Plan A2ADetails Response 
- The provider id and provider specific details.
- AllowedOperations []string
- The list of allowed operations.
- CurrentScenario CurrentScenario Details Response 
- The current scenario details.
- CurrentScenario stringStatus 
- The recovery plan status.
- CurrentScenario stringStatus Description 
- The recovery plan status description.
- FailoverDeployment stringModel 
- The failover deployment model.
- FriendlyName string
- The friendly name.
- Groups
[]RecoveryPlan Group Response 
- The recovery plan groups.
- LastPlanned stringFailover Time 
- The start time of the last planned failover.
- LastTest stringFailover Time 
- The start time of the last test failover.
- LastUnplanned stringFailover Time 
- The start time of the last unplanned failover.
- PrimaryFabric stringFriendly Name 
- The primary fabric friendly name.
- PrimaryFabric stringId 
- The primary fabric Id.
- RecoveryFabric stringFriendly Name 
- The recovery fabric friendly name.
- RecoveryFabric stringId 
- The recovery fabric Id.
- ReplicationProviders []string
- The list of replication providers.
- providerSpecific List<RecoveryDetails Plan A2ADetails Response> 
- The provider id and provider specific details.
- allowedOperations List<String>
- The list of allowed operations.
- currentScenario CurrentScenario Details Response 
- The current scenario details.
- currentScenario StringStatus 
- The recovery plan status.
- currentScenario StringStatus Description 
- The recovery plan status description.
- failoverDeployment StringModel 
- The failover deployment model.
- friendlyName String
- The friendly name.
- groups
List<RecoveryPlan Group Response> 
- The recovery plan groups.
- lastPlanned StringFailover Time 
- The start time of the last planned failover.
- lastTest StringFailover Time 
- The start time of the last test failover.
- lastUnplanned StringFailover Time 
- The start time of the last unplanned failover.
- primaryFabric StringFriendly Name 
- The primary fabric friendly name.
- primaryFabric StringId 
- The primary fabric Id.
- recoveryFabric StringFriendly Name 
- The recovery fabric friendly name.
- recoveryFabric StringId 
- The recovery fabric Id.
- replicationProviders List<String>
- The list of replication providers.
- providerSpecific RecoveryDetails Plan A2ADetails Response[] 
- The provider id and provider specific details.
- allowedOperations string[]
- The list of allowed operations.
- currentScenario CurrentScenario Details Response 
- The current scenario details.
- currentScenario stringStatus 
- The recovery plan status.
- currentScenario stringStatus Description 
- The recovery plan status description.
- failoverDeployment stringModel 
- The failover deployment model.
- friendlyName string
- The friendly name.
- groups
RecoveryPlan Group Response[] 
- The recovery plan groups.
- lastPlanned stringFailover Time 
- The start time of the last planned failover.
- lastTest stringFailover Time 
- The start time of the last test failover.
- lastUnplanned stringFailover Time 
- The start time of the last unplanned failover.
- primaryFabric stringFriendly Name 
- The primary fabric friendly name.
- primaryFabric stringId 
- The primary fabric Id.
- recoveryFabric stringFriendly Name 
- The recovery fabric friendly name.
- recoveryFabric stringId 
- The recovery fabric Id.
- replicationProviders string[]
- The list of replication providers.
- provider_specific_ Sequence[Recoverydetails Plan A2ADetails Response] 
- The provider id and provider specific details.
- allowed_operations Sequence[str]
- The list of allowed operations.
- current_scenario CurrentScenario Details Response 
- The current scenario details.
- current_scenario_ strstatus 
- The recovery plan status.
- current_scenario_ strstatus_ description 
- The recovery plan status description.
- failover_deployment_ strmodel 
- The failover deployment model.
- friendly_name str
- The friendly name.
- groups
Sequence[RecoveryPlan Group Response] 
- The recovery plan groups.
- last_planned_ strfailover_ time 
- The start time of the last planned failover.
- last_test_ strfailover_ time 
- The start time of the last test failover.
- last_unplanned_ strfailover_ time 
- The start time of the last unplanned failover.
- primary_fabric_ strfriendly_ name 
- The primary fabric friendly name.
- primary_fabric_ strid 
- The primary fabric Id.
- recovery_fabric_ strfriendly_ name 
- The recovery fabric friendly name.
- recovery_fabric_ strid 
- The recovery fabric Id.
- replication_providers Sequence[str]
- The list of replication providers.
- providerSpecific List<Property Map>Details 
- The provider id and provider specific details.
- allowedOperations List<String>
- The list of allowed operations.
- currentScenario Property Map
- The current scenario details.
- currentScenario StringStatus 
- The recovery plan status.
- currentScenario StringStatus Description 
- The recovery plan status description.
- failoverDeployment StringModel 
- The failover deployment model.
- friendlyName String
- The friendly name.
- groups List<Property Map>
- The recovery plan groups.
- lastPlanned StringFailover Time 
- The start time of the last planned failover.
- lastTest StringFailover Time 
- The start time of the last test failover.
- lastUnplanned StringFailover Time 
- The start time of the last unplanned failover.
- primaryFabric StringFriendly Name 
- The primary fabric friendly name.
- primaryFabric StringId 
- The primary fabric Id.
- recoveryFabric StringFriendly Name 
- The recovery fabric friendly name.
- recoveryFabric StringId 
- 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.
- VirtualMachine stringId 
- The virtual machine Id.
- Id string
- The ARM Id of the recovery plan protected item.
- VirtualMachine stringId 
- The virtual machine Id.
- id String
- The ARM Id of the recovery plan protected item.
- virtualMachine StringId 
- The virtual machine Id.
- id string
- The ARM Id of the recovery plan protected item.
- virtualMachine stringId 
- The virtual machine Id.
- id str
- The ARM Id of the recovery plan protected item.
- virtual_machine_ strid 
- The virtual machine Id.
- id String
- The ARM Id of the recovery plan protected item.
- virtualMachine StringId 
- The virtual machine Id.
RecoveryPlanProtectedItemResponse, RecoveryPlanProtectedItemResponseArgs          
- Id string
- The ARM Id of the recovery plan protected item.
- VirtualMachine stringId 
- The virtual machine Id.
- Id string
- The ARM Id of the recovery plan protected item.
- VirtualMachine stringId 
- The virtual machine Id.
- id String
- The ARM Id of the recovery plan protected item.
- virtualMachine StringId 
- The virtual machine Id.
- id string
- The ARM Id of the recovery plan protected item.
- virtualMachine stringId 
- The virtual machine Id.
- id str
- The ARM Id of the recovery plan protected item.
- virtual_machine_ strid 
- The virtual machine Id.
- id String
- The ARM Id of the recovery plan protected item.
- virtualMachine StringId 
- The virtual machine Id.
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
- TestFailover Cleanup 
- TestFailoverCleanup
- Failback
- Failback
- FinalizeFailback 
- FinalizeFailback
- ChangePit 
- ChangePit
- RepairReplication 
- RepairReplication
- SwitchProtection 
- SwitchProtection
- CompleteMigration 
- CompleteMigration
- ReplicationProtected Item Operation Reverse Replicate 
- ReverseReplicate
- ReplicationProtected Item Operation Commit 
- Commit
- ReplicationProtected Item Operation Planned Failover 
- PlannedFailover
- ReplicationProtected Item Operation Unplanned Failover 
- UnplannedFailover
- ReplicationProtected Item Operation Disable Protection 
- DisableProtection
- ReplicationProtected Item Operation Test Failover 
- TestFailover
- ReplicationProtected Item Operation Test Failover Cleanup 
- TestFailoverCleanup
- ReplicationProtected Item Operation Failback 
- Failback
- ReplicationProtected Item Operation Finalize Failback 
- FinalizeFailback
- ReplicationProtected Item Operation Change Pit 
- ChangePit
- ReplicationProtected Item Operation Repair Replication 
- RepairReplication
- ReplicationProtected Item Operation Switch Protection 
- SwitchProtection
- ReplicationProtected Item Operation Complete Migration 
- CompleteMigration
- ReverseReplicate 
- ReverseReplicate
- Commit
- Commit
- PlannedFailover 
- PlannedFailover
- UnplannedFailover 
- UnplannedFailover
- DisableProtection 
- DisableProtection
- TestFailover 
- TestFailover
- TestFailover Cleanup 
- TestFailoverCleanup
- Failback
- Failback
- FinalizeFailback 
- FinalizeFailback
- ChangePit 
- ChangePit
- RepairReplication 
- RepairReplication
- SwitchProtection 
- SwitchProtection
- CompleteMigration 
- CompleteMigration
- ReverseReplicate 
- ReverseReplicate
- Commit
- Commit
- PlannedFailover 
- PlannedFailover
- UnplannedFailover 
- UnplannedFailover
- DisableProtection 
- DisableProtection
- TestFailover 
- TestFailover
- TestFailover Cleanup 
- TestFailoverCleanup
- Failback
- Failback
- FinalizeFailback 
- FinalizeFailback
- ChangePit 
- ChangePit
- RepairReplication 
- RepairReplication
- SwitchProtection 
- SwitchProtection
- CompleteMigration 
- CompleteMigration
- REVERSE_REPLICATE
- ReverseReplicate
- COMMIT
- Commit
- PLANNED_FAILOVER
- PlannedFailover
- UNPLANNED_FAILOVER
- UnplannedFailover
- DISABLE_PROTECTION
- DisableProtection
- TEST_FAILOVER
- TestFailover
- TEST_FAILOVER_CLEANUP
- TestFailoverCleanup
- FAILBACK
- Failback
- FINALIZE_FAILBACK
- FinalizeFailback
- CHANGE_PIT
- ChangePit
- REPAIR_REPLICATION
- RepairReplication
- SWITCH_PROTECTION
- SwitchProtection
- COMPLETE_MIGRATION
- CompleteMigration
- "ReverseReplicate" 
- ReverseReplicate
- "Commit"
- Commit
- "PlannedFailover" 
- PlannedFailover
- "UnplannedFailover" 
- UnplannedFailover
- "DisableProtection" 
- DisableProtection
- "TestFailover" 
- TestFailover
- "TestFailover Cleanup" 
- TestFailoverCleanup
- "Failback"
- Failback
- "FinalizeFailback" 
- FinalizeFailback
- "ChangePit" 
- ChangePit
- "RepairReplication" 
- RepairReplication
- "SwitchProtection" 
- SwitchProtection
- "CompleteMigration" 
- CompleteMigration
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:recoveryservices:ReplicationRecoveryPlan RPtest1 /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationRecoveryPlans/RPtest1 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0