azure-native.recoveryservices.ReplicationRecoveryPlan
Explore with Pulumi AI
Recovery plan details. Azure REST API version: 2023-04-01. Prior API version in Azure Native 1.x: 2018-07-10.
Other available API versions: 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01.
Example Usage
Creates a recovery plan with the given details.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var replicationRecoveryPlan = new AzureNative.RecoveryServices.ReplicationRecoveryPlan("replicationRecoveryPlan", new()
{
Properties = new AzureNative.RecoveryServices.Inputs.CreateRecoveryPlanInputPropertiesArgs
{
FailoverDeploymentModel = AzureNative.RecoveryServices.FailoverDeploymentModel.ResourceManager,
Groups = new[]
{
new AzureNative.RecoveryServices.Inputs.RecoveryPlanGroupArgs
{
EndGroupActions = new() { },
GroupType = AzureNative.RecoveryServices.RecoveryPlanGroupType.Boot,
ReplicationProtectedItems = new[]
{
new AzureNative.RecoveryServices.Inputs.RecoveryPlanProtectedItemArgs
{
Id = "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
VirtualMachineId = "f8491e4f-817a-40dd-a90c-af773978c75b",
},
},
StartGroupActions = new() { },
},
},
PrimaryFabricId = "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
RecoveryFabricId = "Microsoft Azure",
},
RecoveryPlanName = "RPtest1",
ResourceGroupName = "resourceGroupPS1",
ResourceName = "vault1",
});
});
package main
import (
recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := recoveryservices.NewReplicationRecoveryPlan(ctx, "replicationRecoveryPlan", &recoveryservices.ReplicationRecoveryPlanArgs{
Properties: &recoveryservices.CreateRecoveryPlanInputPropertiesArgs{
FailoverDeploymentModel: pulumi.String(recoveryservices.FailoverDeploymentModelResourceManager),
Groups: []recoveryservices.RecoveryPlanGroupArgs{
{
EndGroupActions: recoveryservices.RecoveryPlanActionArray{},
GroupType: pulumi.String(recoveryservices.RecoveryPlanGroupTypeBoot),
ReplicationProtectedItems: recoveryservices.RecoveryPlanProtectedItemArray{
{
Id: pulumi.String("/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b"),
VirtualMachineId: pulumi.String("f8491e4f-817a-40dd-a90c-af773978c75b"),
},
},
StartGroupActions: recoveryservices.RecoveryPlanActionArray{},
},
},
PrimaryFabricId: pulumi.String("/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1"),
RecoveryFabricId: pulumi.String("Microsoft Azure"),
},
RecoveryPlanName: pulumi.String("RPtest1"),
ResourceGroupName: pulumi.String("resourceGroupPS1"),
ResourceName: pulumi.String("vault1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlan;
import com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlanArgs;
import com.pulumi.azurenative.recoveryservices.inputs.CreateRecoveryPlanInputPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var replicationRecoveryPlan = new ReplicationRecoveryPlan("replicationRecoveryPlan", ReplicationRecoveryPlanArgs.builder()
.properties(CreateRecoveryPlanInputPropertiesArgs.builder()
.failoverDeploymentModel("ResourceManager")
.groups(RecoveryPlanGroupArgs.builder()
.endGroupActions()
.groupType("Boot")
.replicationProtectedItems(RecoveryPlanProtectedItemArgs.builder()
.id("/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b")
.virtualMachineId("f8491e4f-817a-40dd-a90c-af773978c75b")
.build())
.startGroupActions()
.build())
.primaryFabricId("/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1")
.recoveryFabricId("Microsoft Azure")
.build())
.recoveryPlanName("RPtest1")
.resourceGroupName("resourceGroupPS1")
.resourceName("vault1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
replication_recovery_plan = azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlan",
properties=azure_native.recoveryservices.CreateRecoveryPlanInputPropertiesArgs(
failover_deployment_model=azure_native.recoveryservices.FailoverDeploymentModel.RESOURCE_MANAGER,
groups=[azure_native.recoveryservices.RecoveryPlanGroupArgs(
end_group_actions=[],
group_type=azure_native.recoveryservices.RecoveryPlanGroupType.BOOT,
replication_protected_items=[azure_native.recoveryservices.RecoveryPlanProtectedItemArgs(
id="/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
virtual_machine_id="f8491e4f-817a-40dd-a90c-af773978c75b",
)],
start_group_actions=[],
)],
primary_fabric_id="/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
recovery_fabric_id="Microsoft Azure",
),
recovery_plan_name="RPtest1",
resource_group_name="resourceGroupPS1",
resource_name_="vault1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const replicationRecoveryPlan = new azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlan", {
properties: {
failoverDeploymentModel: azure_native.recoveryservices.FailoverDeploymentModel.ResourceManager,
groups: [{
endGroupActions: [],
groupType: azure_native.recoveryservices.RecoveryPlanGroupType.Boot,
replicationProtectedItems: [{
id: "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
virtualMachineId: "f8491e4f-817a-40dd-a90c-af773978c75b",
}],
startGroupActions: [],
}],
primaryFabricId: "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
recoveryFabricId: "Microsoft Azure",
},
recoveryPlanName: "RPtest1",
resourceGroupName: "resourceGroupPS1",
resourceName: "vault1",
});
resources:
replicationRecoveryPlan:
type: azure-native:recoveryservices:ReplicationRecoveryPlan
properties:
properties:
failoverDeploymentModel: ResourceManager
groups:
- endGroupActions: []
groupType: Boot
replicationProtectedItems:
- id: /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b
virtualMachineId: f8491e4f-817a-40dd-a90c-af773978c75b
startGroupActions: []
primaryFabricId: /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1
recoveryFabricId: Microsoft Azure
recoveryPlanName: RPtest1
resourceGroupName: resourceGroupPS1
resourceName: vault1
Create ReplicationRecoveryPlan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ReplicationRecoveryPlan(name: string, args: ReplicationRecoveryPlanArgs, opts?: CustomResourceOptions);
@overload
def ReplicationRecoveryPlan(resource_name: str,
args: ReplicationRecoveryPlanArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ReplicationRecoveryPlan(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[CreateRecoveryPlanInputPropertiesArgs] = None,
resource_group_name: Optional[str] = None,
resource_name_: Optional[str] = None,
recovery_plan_name: Optional[str] = None)
func NewReplicationRecoveryPlan(ctx *Context, name string, args ReplicationRecoveryPlanArgs, opts ...ResourceOption) (*ReplicationRecoveryPlan, error)
public ReplicationRecoveryPlan(string name, ReplicationRecoveryPlanArgs args, CustomResourceOptions? opts = null)
public ReplicationRecoveryPlan(String name, ReplicationRecoveryPlanArgs args)
public ReplicationRecoveryPlan(String name, ReplicationRecoveryPlanArgs args, CustomResourceOptions options)
type: azure-native:recoveryservices:ReplicationRecoveryPlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ReplicationRecoveryPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ReplicationRecoveryPlanArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ReplicationRecoveryPlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReplicationRecoveryPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReplicationRecoveryPlanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
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",
});
example, err := recoveryservices.NewReplicationRecoveryPlan(ctx, "replicationRecoveryPlanResource", &recoveryservices.ReplicationRecoveryPlanArgs{
Properties: &recoveryservices.CreateRecoveryPlanInputPropertiesArgs{
Groups: []recoveryservices.RecoveryPlanGroupArgs{
{
GroupType: pulumi.String("string"),
EndGroupActions: []recoveryservices.RecoveryPlanActionArgs{
{
ActionName: pulumi.String("string"),
CustomDetails: {
FabricLocation: "string",
InstanceType: "AutomationRunbookActionDetails",
RunbookId: "string",
Timeout: "string",
},
FailoverDirections: pulumi.StringArray{
pulumi.String("string"),
},
FailoverTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
ReplicationProtectedItems: recoveryservices.RecoveryPlanProtectedItemArray{
{
Id: pulumi.String("string"),
VirtualMachineId: pulumi.String("string"),
},
},
StartGroupActions: []recoveryservices.RecoveryPlanActionArgs{
{
ActionName: pulumi.String("string"),
CustomDetails: {
FabricLocation: "string",
InstanceType: "AutomationRunbookActionDetails",
RunbookId: "string",
Timeout: "string",
},
FailoverDirections: pulumi.StringArray{
pulumi.String("string"),
},
FailoverTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
PrimaryFabricId: pulumi.String("string"),
RecoveryFabricId: pulumi.String("string"),
FailoverDeploymentModel: pulumi.String("string"),
ProviderSpecificInput: []recoveryservices.RecoveryPlanA2AInputArgs{
{
InstanceType: pulumi.String("A2A"),
PrimaryExtendedLocation: {
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
PrimaryZone: pulumi.String("string"),
RecoveryExtendedLocation: {
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
RecoveryZone: pulumi.String("string"),
},
},
},
ResourceGroupName: pulumi.String("string"),
ResourceName: pulumi.String("string"),
RecoveryPlanName: pulumi.String("string"),
})
var replicationRecoveryPlanResource = new ReplicationRecoveryPlan("replicationRecoveryPlanResource", ReplicationRecoveryPlanArgs.builder()
.properties(CreateRecoveryPlanInputPropertiesArgs.builder()
.groups(RecoveryPlanGroupArgs.builder()
.groupType("string")
.endGroupActions(RecoveryPlanActionArgs.builder()
.actionName("string")
.customDetails(RecoveryPlanAutomationRunbookActionDetailsArgs.builder()
.fabricLocation("string")
.instanceType("AutomationRunbookActionDetails")
.runbookId("string")
.timeout("string")
.build())
.failoverDirections("string")
.failoverTypes("string")
.build())
.replicationProtectedItems(RecoveryPlanProtectedItemArgs.builder()
.id("string")
.virtualMachineId("string")
.build())
.startGroupActions(RecoveryPlanActionArgs.builder()
.actionName("string")
.customDetails(RecoveryPlanAutomationRunbookActionDetailsArgs.builder()
.fabricLocation("string")
.instanceType("AutomationRunbookActionDetails")
.runbookId("string")
.timeout("string")
.build())
.failoverDirections("string")
.failoverTypes("string")
.build())
.build())
.primaryFabricId("string")
.recoveryFabricId("string")
.failoverDeploymentModel("string")
.providerSpecificInput(RecoveryPlanA2AInputArgs.builder()
.instanceType("A2A")
.primaryExtendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.primaryZone("string")
.recoveryExtendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.recoveryZone("string")
.build())
.build())
.resourceGroupName("string")
.resourceName("string")
.recoveryPlanName("string")
.build());
replication_recovery_plan_resource = azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlanResource",
properties=azure_native.recoveryservices.CreateRecoveryPlanInputPropertiesArgs(
groups=[azure_native.recoveryservices.RecoveryPlanGroupArgs(
group_type="string",
end_group_actions=[azure_native.recoveryservices.RecoveryPlanActionArgs(
action_name="string",
custom_details=azure_native.recoveryservices.RecoveryPlanAutomationRunbookActionDetailsArgs(
fabric_location="string",
instance_type="AutomationRunbookActionDetails",
runbook_id="string",
timeout="string",
),
failover_directions=["string"],
failover_types=["string"],
)],
replication_protected_items=[azure_native.recoveryservices.RecoveryPlanProtectedItemArgs(
id="string",
virtual_machine_id="string",
)],
start_group_actions=[azure_native.recoveryservices.RecoveryPlanActionArgs(
action_name="string",
custom_details=azure_native.recoveryservices.RecoveryPlanAutomationRunbookActionDetailsArgs(
fabric_location="string",
instance_type="AutomationRunbookActionDetails",
runbook_id="string",
timeout="string",
),
failover_directions=["string"],
failover_types=["string"],
)],
)],
primary_fabric_id="string",
recovery_fabric_id="string",
failover_deployment_model="string",
provider_specific_input=[azure_native.recoveryservices.RecoveryPlanA2AInputArgs(
instance_type="A2A",
primary_extended_location=azure_native.recoveryservices.ExtendedLocationArgs(
name="string",
type="string",
),
primary_zone="string",
recovery_extended_location=azure_native.recoveryservices.ExtendedLocationArgs(
name="string",
type="string",
),
recovery_zone="string",
)],
),
resource_group_name="string",
resource_name_="string",
recovery_plan_name="string")
const replicationRecoveryPlanResource = new azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlanResource", {
properties: {
groups: [{
groupType: "string",
endGroupActions: [{
actionName: "string",
customDetails: {
fabricLocation: "string",
instanceType: "AutomationRunbookActionDetails",
runbookId: "string",
timeout: "string",
},
failoverDirections: ["string"],
failoverTypes: ["string"],
}],
replicationProtectedItems: [{
id: "string",
virtualMachineId: "string",
}],
startGroupActions: [{
actionName: "string",
customDetails: {
fabricLocation: "string",
instanceType: "AutomationRunbookActionDetails",
runbookId: "string",
timeout: "string",
},
failoverDirections: ["string"],
failoverTypes: ["string"],
}],
}],
primaryFabricId: "string",
recoveryFabricId: "string",
failoverDeploymentModel: "string",
providerSpecificInput: [{
instanceType: "A2A",
primaryExtendedLocation: {
name: "string",
type: "string",
},
primaryZone: "string",
recoveryExtendedLocation: {
name: "string",
type: "string",
},
recoveryZone: "string",
}],
},
resourceGroupName: "string",
resourceName: "string",
recoveryPlanName: "string",
});
type: azure-native:recoveryservices:ReplicationRecoveryPlan
properties:
properties:
failoverDeploymentModel: string
groups:
- endGroupActions:
- actionName: string
customDetails:
fabricLocation: string
instanceType: AutomationRunbookActionDetails
runbookId: string
timeout: string
failoverDirections:
- string
failoverTypes:
- string
groupType: string
replicationProtectedItems:
- id: string
virtualMachineId: string
startGroupActions:
- actionName: string
customDetails:
fabricLocation: string
instanceType: AutomationRunbookActionDetails
runbookId: string
timeout: string
failoverDirections:
- string
failoverTypes:
- string
primaryFabricId: string
providerSpecificInput:
- instanceType: A2A
primaryExtendedLocation:
name: string
type: string
primaryZone: string
recoveryExtendedLocation:
name: string
type: string
recoveryZone: string
recoveryFabricId: string
recoveryPlanName: string
resourceGroupName: string
resourceName: string
ReplicationRecoveryPlan Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ReplicationRecoveryPlan resource accepts the following input properties:
- Properties
Pulumi.
Azure Native. Recovery Services. Inputs. Create Recovery Plan Input Properties - Recovery plan creation properties.
- Resource
Group stringName - The name of the resource group where the recovery services vault is present.
- Resource
Name string - The name of the recovery services vault.
- Recovery
Plan stringName - Recovery plan name.
- Properties
Create
Recovery Plan Input Properties Args - Recovery plan creation properties.
- Resource
Group stringName - The name of the resource group where the recovery services vault is present.
- Resource
Name string - The name of the recovery services vault.
- Recovery
Plan stringName - Recovery plan name.
- properties
Create
Recovery Plan Input Properties - Recovery plan creation properties.
- resource
Group StringName - The name of the resource group where the recovery services vault is present.
- resource
Name String - The name of the recovery services vault.
- recovery
Plan StringName - Recovery plan name.
- properties
Create
Recovery Plan Input Properties - Recovery plan creation properties.
- resource
Group stringName - The name of the resource group where the recovery services vault is present.
- resource
Name string - The name of the recovery services vault.
- recovery
Plan stringName - Recovery plan name.
- properties
Create
Recovery 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.
- resource
Group StringName - The name of the resource group where the recovery services vault is present.
- resource
Name String - The name of the recovery services vault.
- recovery
Plan 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.
- Primary
Fabric stringId - The primary fabric Id.
- Recovery
Fabric stringId - The recovery fabric Id.
- Failover
Deployment string | Pulumi.Model Azure Native. Recovery Services. Failover Deployment Model - The failover deployment model.
- Provider
Specific List<Pulumi.Input Azure Native. Recovery Services. Inputs. Recovery Plan A2AInput> - The provider specific input.
- Groups
[]Recovery
Plan Group - The recovery plan groups.
- Primary
Fabric stringId - The primary fabric Id.
- Recovery
Fabric stringId - The recovery fabric Id.
- Failover
Deployment string | FailoverModel Deployment Model - The failover deployment model.
- Provider
Specific []RecoveryInput Plan A2AInput - The provider specific input.
- groups
List<Recovery
Plan Group> - The recovery plan groups.
- primary
Fabric StringId - The primary fabric Id.
- recovery
Fabric StringId - The recovery fabric Id.
- failover
Deployment String | FailoverModel Deployment Model - The failover deployment model.
- provider
Specific List<RecoveryInput Plan A2AInput> - The provider specific input.
- groups
Recovery
Plan Group[] - The recovery plan groups.
- primary
Fabric stringId - The primary fabric Id.
- recovery
Fabric stringId - The recovery fabric Id.
- failover
Deployment string | FailoverModel Deployment Model - The failover deployment model.
- provider
Specific RecoveryInput Plan A2AInput[] - The provider specific input.
- groups
Sequence[Recovery
Plan 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.
- primary
Fabric StringId - The primary fabric Id.
- recovery
Fabric StringId - The recovery fabric Id.
- failover
Deployment String | "NotModel Applicable" | "Classic" | "Resource Manager" - The failover deployment model.
- provider
Specific List<Property Map>Input - The provider specific input.
CurrentScenarioDetailsResponse, CurrentScenarioDetailsResponseArgs
- Job
Id string - ARM Id of the job being executed.
- Scenario
Name string - Scenario name.
- Start
Time string - Start time of the workflow.
- Job
Id string - ARM Id of the job being executed.
- Scenario
Name string - Scenario name.
- Start
Time string - Start time of the workflow.
- job
Id String - ARM Id of the job being executed.
- scenario
Name String - Scenario name.
- start
Time String - Start time of the workflow.
- job
Id string - ARM Id of the job being executed.
- scenario
Name string - Scenario name.
- start
Time 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.
- job
Id String - ARM Id of the job being executed.
- scenario
Name String - Scenario name.
- start
Time String - Start time of the workflow.
ExtendedLocation, ExtendedLocationArgs
- Name string
- The name of the extended location.
- Type
string | Pulumi.
Azure Native. Recovery Services. Extended Location Type - The extended location type.
- Name string
- The name of the extended location.
- Type
string | Extended
Location Type - The extended location type.
- name String
- The name of the extended location.
- type
String | Extended
Location Type - The extended location type.
- name string
- The name of the extended location.
- type
string | Extended
Location Type - The extended location type.
- name str
- The name of the extended location.
- type
str | Extended
Location Type - The extended location type.
- name String
- The name of the extended location.
- type
String | "Edge
Zone" - The extended location type.
ExtendedLocationResponse, ExtendedLocationResponseArgs
ExtendedLocationType, ExtendedLocationTypeArgs
- Edge
Zone - EdgeZone
- Extended
Location Type Edge Zone - EdgeZone
- Edge
Zone - EdgeZone
- Edge
Zone - EdgeZone
- EDGE_ZONE
- EdgeZone
- "Edge
Zone" - EdgeZone
FailoverDeploymentModel, FailoverDeploymentModelArgs
- Not
Applicable - NotApplicable
- Classic
- Classic
- Resource
Manager - ResourceManager
- Failover
Deployment Model Not Applicable - NotApplicable
- Failover
Deployment Model Classic - Classic
- Failover
Deployment Model Resource Manager - ResourceManager
- Not
Applicable - NotApplicable
- Classic
- Classic
- Resource
Manager - ResourceManager
- Not
Applicable - NotApplicable
- Classic
- Classic
- Resource
Manager - ResourceManager
- NOT_APPLICABLE
- NotApplicable
- CLASSIC
- Classic
- RESOURCE_MANAGER
- ResourceManager
- "Not
Applicable" - NotApplicable
- "Classic"
- Classic
- "Resource
Manager" - ResourceManager
PossibleOperationsDirections, PossibleOperationsDirectionsArgs
- Primary
To Recovery - PrimaryToRecovery
- Recovery
To Primary - RecoveryToPrimary
- Possible
Operations Directions Primary To Recovery - PrimaryToRecovery
- Possible
Operations Directions Recovery To Primary - RecoveryToPrimary
- Primary
To Recovery - PrimaryToRecovery
- Recovery
To Primary - RecoveryToPrimary
- Primary
To Recovery - PrimaryToRecovery
- Recovery
To Primary - RecoveryToPrimary
- PRIMARY_TO_RECOVERY
- PrimaryToRecovery
- RECOVERY_TO_PRIMARY
- RecoveryToPrimary
- "Primary
To Recovery" - PrimaryToRecovery
- "Recovery
To Primary" - RecoveryToPrimary
RecoveryPlanA2ADetailsResponse, RecoveryPlanA2ADetailsResponseArgs
- Primary
Extended Pulumi.Location Azure Native. Recovery Services. Inputs. Extended Location Response - The primary extended location.
- Primary
Zone string - The primary zone.
- Recovery
Extended Pulumi.Location Azure Native. Recovery Services. Inputs. Extended Location Response - The recovery extended location.
- Recovery
Zone string - The recovery zone.
- Primary
Extended ExtendedLocation Location Response - The primary extended location.
- Primary
Zone string - The primary zone.
- Recovery
Extended ExtendedLocation Location Response - The recovery extended location.
- Recovery
Zone string - The recovery zone.
- primary
Extended ExtendedLocation Location Response - The primary extended location.
- primary
Zone String - The primary zone.
- recovery
Extended ExtendedLocation Location Response - The recovery extended location.
- recovery
Zone String - The recovery zone.
- primary
Extended ExtendedLocation Location Response - The primary extended location.
- primary
Zone string - The primary zone.
- recovery
Extended ExtendedLocation Location Response - The recovery extended location.
- recovery
Zone string - The recovery zone.
- primary_
extended_ Extendedlocation Location Response - The primary extended location.
- primary_
zone str - The primary zone.
- recovery_
extended_ Extendedlocation Location Response - The recovery extended location.
- recovery_
zone str - The recovery zone.
- primary
Extended Property MapLocation - The primary extended location.
- primary
Zone String - The primary zone.
- recovery
Extended Property MapLocation - The recovery extended location.
- recovery
Zone String - The recovery zone.
RecoveryPlanA2AInput, RecoveryPlanA2AInputArgs
- Primary
Extended Pulumi.Location Azure Native. Recovery Services. Inputs. Extended Location - The primary extended location.
- Primary
Zone string - The primary zone.
- Recovery
Extended Pulumi.Location Azure Native. Recovery Services. Inputs. Extended Location - The recovery extended location.
- Recovery
Zone string - The recovery zone.
- Primary
Extended ExtendedLocation Location - The primary extended location.
- Primary
Zone string - The primary zone.
- Recovery
Extended ExtendedLocation Location - The recovery extended location.
- Recovery
Zone string - The recovery zone.
- primary
Extended ExtendedLocation Location - The primary extended location.
- primary
Zone String - The primary zone.
- recovery
Extended ExtendedLocation Location - The recovery extended location.
- recovery
Zone String - The recovery zone.
- primary
Extended ExtendedLocation Location - The primary extended location.
- primary
Zone string - The primary zone.
- recovery
Extended ExtendedLocation Location - The recovery extended location.
- recovery
Zone string - The recovery zone.
- primary_
extended_ Extendedlocation Location - The primary extended location.
- primary_
zone str - The primary zone.
- recovery_
extended_ Extendedlocation Location - The recovery extended location.
- recovery_
zone str - The recovery zone.
- primary
Extended Property MapLocation - The primary extended location.
- primary
Zone String - The primary zone.
- recovery
Extended Property MapLocation - The recovery extended location.
- recovery
Zone String - The recovery zone.
RecoveryPlanAction, RecoveryPlanActionArgs
- Action
Name string - The action name.
- Custom
Details Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Recovery Plan Automation Runbook Action Details Azure | Pulumi.Native. Recovery Services. Inputs. Recovery Plan Manual Action Details Azure Native. Recovery Services. Inputs. Recovery Plan Script Action Details - The custom details.
- Failover
Directions List<Union<string, Pulumi.Azure Native. Recovery Services. Possible Operations Directions>> - The list of failover directions.
- Failover
Types List<Union<string, Pulumi.Azure Native. Recovery Services. Replication Protected Item Operation>> - The list of failover types.
- Action
Name string - The action name.
- Custom
Details RecoveryPlan | RecoveryAutomation Runbook Action Details Plan | RecoveryManual Action Details Plan Script Action Details - The custom details.
- Failover
Directions []string - The list of failover directions.
- Failover
Types []string - The list of failover types.
- action
Name String - The action name.
- custom
Details RecoveryPlan | RecoveryAutomation Runbook Action Details Plan | RecoveryManual Action Details Plan Script Action Details - The custom details.
- failover
Directions List<Either<String,PossibleOperations Directions>> - The list of failover directions.
- failover
Types List<Either<String,ReplicationProtected Item Operation>> - The list of failover types.
- action
Name string - The action name.
- custom
Details RecoveryPlan | RecoveryAutomation Runbook Action Details Plan | RecoveryManual Action Details Plan Script Action Details - The custom details.
- failover
Directions (string | PossibleOperations Directions)[] - The list of failover directions.
- failover
Types (string | ReplicationProtected Item Operation)[] - The list of failover types.
- action_
name str - The action name.
- custom_
details RecoveryPlan | RecoveryAutomation Runbook Action Details Plan | RecoveryManual Action Details Plan Script Action Details - The custom details.
- 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.
- action
Name String - The action name.
- custom
Details Property Map | Property Map | Property Map - The custom details.
- failover
Directions List<String | "PrimaryTo Recovery" | "Recovery To Primary"> - The list of failover directions.
- failover
Types List<String | "ReverseReplicate" | "Commit" | "Planned Failover" | "Unplanned Failover" | "Disable Protection" | "Test Failover" | "Test Failover Cleanup" | "Failback" | "Finalize Failback" | "Cancel Failover" | "Change Pit" | "Repair Replication" | "Switch Protection" | "Complete Migration"> - The list of failover types.
RecoveryPlanActionLocation, RecoveryPlanActionLocationArgs
- Primary
- Primary
- Recovery
- Recovery
- Recovery
Plan Action Location Primary - Primary
- Recovery
Plan Action Location Recovery - Recovery
- Primary
- Primary
- Recovery
- Recovery
- Primary
- Primary
- Recovery
- Recovery
- PRIMARY
- Primary
- RECOVERY
- Recovery
- "Primary"
- Primary
- "Recovery"
- Recovery
RecoveryPlanActionResponse, RecoveryPlanActionResponseArgs
- Action
Name string - The action name.
- Custom
Details 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.
- Failover
Directions List<string> - The list of failover directions.
- Failover
Types List<string> - The list of failover types.
- Action
Name string - 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 []string - The list of failover directions.
- Failover
Types []string - The list of failover types.
- action
Name String - 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 List<String> - The list of failover directions.
- failover
Types List<String> - The list of failover types.
- action
Name string - 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 string[] - The list of failover directions.
- failover
Types 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.
- action
Name String - The action name.
- custom
Details Property Map | Property Map | Property Map - The custom details.
- failover
Directions List<String> - The list of failover directions.
- failover
Types List<String> - The list of failover types.
RecoveryPlanAutomationRunbookActionDetails, RecoveryPlanAutomationRunbookActionDetailsArgs
- Fabric
Location string | Pulumi.Azure Native. Recovery Services. Recovery Plan Action Location - The fabric location.
- Runbook
Id string - The runbook ARM Id.
- Timeout string
- The runbook timeout.
- Fabric
Location string | RecoveryPlan Action Location - The fabric location.
- Runbook
Id string - The runbook ARM Id.
- Timeout string
- The runbook timeout.
- fabric
Location String | RecoveryPlan Action Location - The fabric location.
- runbook
Id String - The runbook ARM Id.
- timeout String
- The runbook timeout.
- fabric
Location string | RecoveryPlan Action Location - The fabric location.
- runbook
Id string - The runbook ARM Id.
- timeout string
- The runbook timeout.
- fabric_
location str | RecoveryPlan Action Location - The fabric location.
- runbook_
id str - The runbook ARM Id.
- timeout str
- The runbook timeout.
- fabric
Location String | "Primary" | "Recovery" - The fabric location.
- runbook
Id String - The runbook ARM Id.
- timeout String
- The runbook timeout.
RecoveryPlanAutomationRunbookActionDetailsResponse, RecoveryPlanAutomationRunbookActionDetailsResponseArgs
- Fabric
Location string - The fabric location.
- Runbook
Id string - The runbook ARM Id.
- Timeout string
- The runbook timeout.
- Fabric
Location string - The fabric location.
- Runbook
Id string - The runbook ARM Id.
- Timeout string
- The runbook timeout.
- fabric
Location String - The fabric location.
- runbook
Id String - The runbook ARM Id.
- timeout String
- The runbook timeout.
- fabric
Location string - The fabric location.
- runbook
Id 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.
- fabric
Location String - The fabric location.
- runbook
Id String - The runbook ARM Id.
- timeout String
- The runbook timeout.
RecoveryPlanGroup, RecoveryPlanGroupArgs
- Group
Type string | Pulumi.Azure Native. Recovery Services. Recovery Plan Group Type - The group type.
- End
Group List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action> - The end group actions.
- Replication
Protected List<Pulumi.Items Azure Native. Recovery Services. Inputs. Recovery Plan Protected Item> - The list of protected items.
- Start
Group List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action> - The start group actions.
- Group
Type string | RecoveryPlan Group Type - The group type.
- End
Group []RecoveryActions Plan Action - The end group actions.
- Replication
Protected []RecoveryItems Plan Protected Item - The list of protected items.
- Start
Group []RecoveryActions Plan Action - The start group actions.
- group
Type String | RecoveryPlan Group Type - The group type.
- end
Group List<RecoveryActions Plan Action> - The end group actions.
- replication
Protected List<RecoveryItems Plan Protected Item> - The list of protected items.
- start
Group List<RecoveryActions Plan Action> - The start group actions.
- group
Type string | RecoveryPlan Group Type - The group type.
- end
Group RecoveryActions Plan Action[] - The end group actions.
- replication
Protected RecoveryItems Plan Protected Item[] - The list of protected items.
- start
Group 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.
- group
Type String | "Shutdown" | "Boot" | "Failover" - The group type.
- end
Group List<Property Map>Actions - The end group actions.
- replication
Protected List<Property Map>Items - The list of protected items.
- start
Group List<Property Map>Actions - The start group actions.
RecoveryPlanGroupResponse, RecoveryPlanGroupResponseArgs
- Group
Type string - The group type.
- End
Group List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action Response> - The end group actions.
- Replication
Protected List<Pulumi.Items Azure Native. Recovery Services. Inputs. Recovery Plan Protected Item Response> - The list of protected items.
- Start
Group List<Pulumi.Actions Azure Native. Recovery Services. Inputs. Recovery Plan Action Response> - The start group actions.
- Group
Type string - The group type.
- End
Group []RecoveryActions Plan Action Response - The end group actions.
- Replication
Protected []RecoveryItems Plan Protected Item Response - The list of protected items.
- Start
Group []RecoveryActions Plan Action Response - The start group actions.
- group
Type String - The group type.
- end
Group List<RecoveryActions Plan Action Response> - The end group actions.
- replication
Protected List<RecoveryItems Plan Protected Item Response> - The list of protected items.
- start
Group List<RecoveryActions Plan Action Response> - The start group actions.
- group
Type string - The group type.
- end
Group RecoveryActions Plan Action Response[] - The end group actions.
- replication
Protected RecoveryItems Plan Protected Item Response[] - The list of protected items.
- start
Group 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.
- group
Type String - The group type.
- end
Group List<Property Map>Actions - The end group actions.
- replication
Protected List<Property Map>Items - The list of protected items.
- start
Group List<Property Map>Actions - The start group actions.
RecoveryPlanGroupType, RecoveryPlanGroupTypeArgs
- Shutdown
- Shutdown
- Boot
- Boot
- Failover
- Failover
- Recovery
Plan Group Type Shutdown - Shutdown
- Recovery
Plan Group Type Boot - Boot
- Recovery
Plan 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
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
- Allowed
Operations List<string> - The list of allowed operations.
- Current
Scenario Pulumi.Azure Native. Recovery Services. Inputs. Current Scenario Details Response - The current scenario details.
- Current
Scenario stringStatus - The recovery plan status.
- Current
Scenario stringStatus Description - The recovery plan status description.
- Failover
Deployment stringModel - The failover deployment model.
- Friendly
Name string - The friendly name.
- Groups
List<Pulumi.
Azure Native. Recovery Services. Inputs. Recovery Plan Group Response> - The recovery plan groups.
- Last
Planned stringFailover Time - The start time of the last planned failover.
- Last
Test stringFailover Time - The start time of the last test failover.
- Last
Unplanned stringFailover Time - The start time of the last unplanned failover.
- Primary
Fabric stringFriendly Name - The primary fabric friendly name.
- Primary
Fabric stringId - The primary fabric Id.
- Provider
Specific List<Pulumi.Details Azure Native. Recovery Services. Inputs. Recovery Plan A2ADetails Response> - The provider id and provider specific details.
- Recovery
Fabric stringFriendly Name - The recovery fabric friendly name.
- Recovery
Fabric stringId - The recovery fabric Id.
- Replication
Providers List<string> - The list of replication providers.
- Allowed
Operations []string - The list of allowed operations.
- Current
Scenario CurrentScenario Details Response - The current scenario details.
- Current
Scenario stringStatus - The recovery plan status.
- Current
Scenario stringStatus Description - The recovery plan status description.
- Failover
Deployment stringModel - The failover deployment model.
- Friendly
Name string - The friendly name.
- Groups
[]Recovery
Plan Group Response - The recovery plan groups.
- Last
Planned stringFailover Time - The start time of the last planned failover.
- Last
Test stringFailover Time - The start time of the last test failover.
- Last
Unplanned stringFailover Time - The start time of the last unplanned failover.
- Primary
Fabric stringFriendly Name - The primary fabric friendly name.
- Primary
Fabric stringId - The primary fabric Id.
- Provider
Specific []RecoveryDetails Plan A2ADetails Response - The provider id and provider specific details.
- Recovery
Fabric stringFriendly Name - The recovery fabric friendly name.
- Recovery
Fabric stringId - The recovery fabric Id.
- Replication
Providers []string - The list of replication providers.
- allowed
Operations List<String> - The list of allowed operations.
- current
Scenario CurrentScenario Details Response - The current scenario details.
- current
Scenario StringStatus - The recovery plan status.
- current
Scenario StringStatus Description - The recovery plan status description.
- failover
Deployment StringModel - The failover deployment model.
- friendly
Name String - The friendly name.
- groups
List<Recovery
Plan Group Response> - The recovery plan groups.
- last
Planned StringFailover Time - The start time of the last planned failover.
- last
Test StringFailover Time - The start time of the last test failover.
- last
Unplanned StringFailover Time - The start time of the last unplanned failover.
- primary
Fabric StringFriendly Name - The primary fabric friendly name.
- primary
Fabric StringId - The primary fabric Id.
- provider
Specific List<RecoveryDetails Plan A2ADetails Response> - The provider id and provider specific details.
- recovery
Fabric StringFriendly Name - The recovery fabric friendly name.
- recovery
Fabric StringId - The recovery fabric Id.
- replication
Providers List<String> - The list of replication providers.
- allowed
Operations string[] - The list of allowed operations.
- current
Scenario CurrentScenario Details Response - The current scenario details.
- current
Scenario stringStatus - The recovery plan status.
- current
Scenario stringStatus Description - The recovery plan status description.
- failover
Deployment stringModel - The failover deployment model.
- friendly
Name string - The friendly name.
- groups
Recovery
Plan Group Response[] - The recovery plan groups.
- last
Planned stringFailover Time - The start time of the last planned failover.
- last
Test stringFailover Time - The start time of the last test failover.
- last
Unplanned stringFailover Time - The start time of the last unplanned failover.
- primary
Fabric stringFriendly Name - The primary fabric friendly name.
- primary
Fabric stringId - The primary fabric Id.
- provider
Specific RecoveryDetails Plan A2ADetails Response[] - The provider id and provider specific details.
- recovery
Fabric stringFriendly Name - The recovery fabric friendly name.
- recovery
Fabric stringId - The recovery fabric Id.
- replication
Providers string[] - The list of replication providers.
- 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[Recovery
Plan 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.
- provider_
specific_ Sequence[Recoverydetails Plan A2ADetails Response] - The provider id and provider specific details.
- 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.
- allowed
Operations List<String> - The list of allowed operations.
- current
Scenario Property Map - The current scenario details.
- current
Scenario StringStatus - The recovery plan status.
- current
Scenario StringStatus Description - The recovery plan status description.
- failover
Deployment StringModel - The failover deployment model.
- friendly
Name String - The friendly name.
- groups List<Property Map>
- The recovery plan groups.
- last
Planned StringFailover Time - The start time of the last planned failover.
- last
Test StringFailover Time - The start time of the last test failover.
- last
Unplanned StringFailover Time - The start time of the last unplanned failover.
- primary
Fabric StringFriendly Name - The primary fabric friendly name.
- primary
Fabric StringId - The primary fabric Id.
- provider
Specific List<Property Map>Details - The provider id and provider specific details.
- recovery
Fabric StringFriendly Name - The recovery fabric friendly name.
- recovery
Fabric StringId - The recovery fabric Id.
- replication
Providers List<String> - The list of replication providers.
RecoveryPlanProtectedItem, RecoveryPlanProtectedItemArgs
- Id string
- The ARM Id of the recovery plan protected item.
- Virtual
Machine stringId - The virtual machine Id.
- Id string
- The ARM Id of the recovery plan protected item.
- Virtual
Machine stringId - The virtual machine Id.
- id String
- The ARM Id of the recovery plan protected item.
- virtual
Machine StringId - The virtual machine Id.
- id string
- The ARM Id of the recovery plan protected item.
- virtual
Machine 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.
- virtual
Machine StringId - The virtual machine Id.
RecoveryPlanProtectedItemResponse, RecoveryPlanProtectedItemResponseArgs
- Id string
- The ARM Id of the recovery plan protected item.
- Virtual
Machine stringId - The virtual machine Id.
- Id string
- The ARM Id of the recovery plan protected item.
- Virtual
Machine stringId - The virtual machine Id.
- id String
- The ARM Id of the recovery plan protected item.
- virtual
Machine StringId - The virtual machine Id.
- id string
- The ARM Id of the recovery plan protected item.
- virtual
Machine 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.
- virtual
Machine StringId - The virtual machine Id.
RecoveryPlanScriptActionDetails, RecoveryPlanScriptActionDetailsArgs
- Fabric
Location string | Pulumi.Azure Native. Recovery Services. Recovery Plan Action Location - The fabric location.
- Path string
- The script path.
- Timeout string
- The script timeout.
- Fabric
Location string | RecoveryPlan Action Location - The fabric location.
- Path string
- The script path.
- Timeout string
- The script timeout.
- fabric
Location String | RecoveryPlan Action Location - The fabric location.
- path String
- The script path.
- timeout String
- The script timeout.
- fabric
Location string | RecoveryPlan Action Location - The fabric location.
- path string
- The script path.
- timeout string
- The script timeout.
- fabric_
location str | RecoveryPlan Action Location - The fabric location.
- path str
- The script path.
- timeout str
- The script timeout.
- fabric
Location String | "Primary" | "Recovery" - The fabric location.
- path String
- The script path.
- timeout String
- The script timeout.
RecoveryPlanScriptActionDetailsResponse, RecoveryPlanScriptActionDetailsResponseArgs
- Fabric
Location string - The fabric location.
- Path string
- The script path.
- Timeout string
- The script timeout.
- Fabric
Location string - The fabric location.
- Path string
- The script path.
- Timeout string
- The script timeout.
- fabric
Location String - The fabric location.
- path String
- The script path.
- timeout String
- The script timeout.
- fabric
Location 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.
- fabric
Location String - The fabric location.
- path String
- The script path.
- timeout String
- The script timeout.
ReplicationProtectedItemOperation, ReplicationProtectedItemOperationArgs
- 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
- Replication
Protected Item Operation Reverse Replicate - ReverseReplicate
- Replication
Protected Item Operation Commit - Commit
- Replication
Protected Item Operation Planned Failover - PlannedFailover
- Replication
Protected Item Operation Unplanned Failover - UnplannedFailover
- Replication
Protected Item Operation Disable Protection - DisableProtection
- Replication
Protected Item Operation Test Failover - TestFailover
- Replication
Protected Item Operation Test Failover Cleanup - TestFailoverCleanup
- Replication
Protected Item Operation Failback - Failback
- Replication
Protected Item Operation Finalize Failback - FinalizeFailback
- Replication
Protected Item Operation Cancel Failover - CancelFailover
- Replication
Protected Item Operation Change Pit - ChangePit
- Replication
Protected Item Operation Repair Replication - RepairReplication
- Replication
Protected Item Operation Switch Protection - SwitchProtection
- Replication
Protected Item Operation Complete Migration - 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
- 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
- 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
- "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
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:recoveryservices:ReplicationRecoveryPlan RPtest1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0