azure-native.recoveryservices.ReplicationRecoveryPlan
Explore with Pulumi AI
Recovery plan details. API Version: 2018-07-10.
Example Usage
Creates a recovery plan with the given details.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var replicationRecoveryPlan = new AzureNative.RecoveryServices.ReplicationRecoveryPlan("replicationRecoveryPlan", new()
{
Properties = new AzureNative.RecoveryServices.Inputs.CreateRecoveryPlanInputPropertiesArgs
{
FailoverDeploymentModel = "ResourceManager",
Groups = new[]
{
new AzureNative.RecoveryServices.Inputs.RecoveryPlanGroupArgs
{
EndGroupActions = new[] {},
GroupType = "Boot",
ReplicationProtectedItems = new[]
{
new AzureNative.RecoveryServices.Inputs.RecoveryPlanProtectedItemArgs
{
Id = "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
VirtualMachineId = "f8491e4f-817a-40dd-a90c-af773978c75b",
},
},
StartGroupActions = new[] {},
},
},
PrimaryFabricId = "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
RecoveryFabricId = "Microsoft Azure",
},
RecoveryPlanName = "RPtest1",
ResourceGroupName = "resourceGroupPS1",
ResourceName = "vault1",
});
});
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlan;
import com.pulumi.azurenative.recoveryservices.ReplicationRecoveryPlanArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var replicationRecoveryPlan = new ReplicationRecoveryPlan("replicationRecoveryPlan", ReplicationRecoveryPlanArgs.builder()
.properties(Map.ofEntries(
Map.entry("failoverDeploymentModel", "ResourceManager"),
Map.entry("groups", Map.ofEntries(
Map.entry("endGroupActions", ),
Map.entry("groupType", "Boot"),
Map.entry("replicationProtectedItems", Map.ofEntries(
Map.entry("id", "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b"),
Map.entry("virtualMachineId", "f8491e4f-817a-40dd-a90c-af773978c75b")
)),
Map.entry("startGroupActions", )
)),
Map.entry("primaryFabricId", "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1"),
Map.entry("recoveryFabricId", "Microsoft Azure")
))
.recoveryPlanName("RPtest1")
.resourceGroupName("resourceGroupPS1")
.resourceName("vault1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
replication_recovery_plan = azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlan",
properties=azure_native.recoveryservices.RecoveryPlanPropertiesResponseArgs(
failover_deployment_model="ResourceManager",
groups=[{
"endGroupActions": [],
"groupType": "Boot",
"replicationProtectedItems": [azure_native.recoveryservices.RecoveryPlanProtectedItemArgs(
id="/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
virtual_machine_id="f8491e4f-817a-40dd-a90c-af773978c75b",
)],
"startGroupActions": [],
}],
primary_fabric_id="/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
recovery_fabric_id="Microsoft Azure",
),
recovery_plan_name="RPtest1",
resource_group_name="resourceGroupPS1",
resource_name_="vault1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const replicationRecoveryPlan = new azure_native.recoveryservices.ReplicationRecoveryPlan("replicationRecoveryPlan", {
properties: {
failoverDeploymentModel: "ResourceManager",
groups: [{
endGroupActions: [],
groupType: "Boot",
replicationProtectedItems: [{
id: "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b",
virtualMachineId: "f8491e4f-817a-40dd-a90c-af773978c75b",
}],
startGroupActions: [],
}],
primaryFabricId: "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1",
recoveryFabricId: "Microsoft Azure",
},
recoveryPlanName: "RPtest1",
resourceGroupName: "resourceGroupPS1",
resourceName: "vault1",
});
resources:
replicationRecoveryPlan:
type: azure-native:recoveryservices:ReplicationRecoveryPlan
properties:
properties:
failoverDeploymentModel: ResourceManager
groups:
- endGroupActions: []
groupType: Boot
replicationProtectedItems:
- id: /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1/replicationProtectionContainers/cloud_6d224fc6-f326-5d35-96de-fbf51efb3179/replicationProtectedItems/f8491e4f-817a-40dd-a90c-af773978c75b
virtualMachineId: f8491e4f-817a-40dd-a90c-af773978c75b
startGroupActions: []
primaryFabricId: /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1
recoveryFabricId: Microsoft Azure
recoveryPlanName: RPtest1
resourceGroupName: resourceGroupPS1
resourceName: vault1
Create ReplicationRecoveryPlan Resource
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
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.
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
Zone string - The primary zone.
- Recovery
Zone string - The recovery zone.
- Primary
Zone string - The primary zone.
- Recovery
Zone string - The recovery zone.
- primary
Zone String - The primary zone.
- recovery
Zone String - The recovery zone.
- primary
Zone string - The primary zone.
- recovery
Zone string - The recovery zone.
- primary_
zone str - The primary zone.
- recovery_
zone str - The recovery zone.
- primary
Zone String - The primary zone.
- recovery
Zone String - The recovery zone.
RecoveryPlanA2AInput, RecoveryPlanA2AInputArgs
- Primary
Zone string - The primary zone.
- Recovery
Zone string - The recovery zone.
- Primary
Zone string - The primary zone.
- Recovery
Zone string - The recovery zone.
- primary
Zone String - The primary zone.
- recovery
Zone String - The recovery zone.
- primary
Zone string - The primary zone.
- recovery
Zone string - The recovery zone.
- primary_
zone str - The primary zone.
- recovery_
zone str - The recovery zone.
- primary
Zone String - The primary zone.
- recovery
Zone String - The recovery zone.
RecoveryPlanAction, RecoveryPlanActionArgs
- Action
Name string - The action name.
- 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.
- Failover
Directions []string - The list of failover directions.
- Failover
Types []string - The list of failover types.
- action
Name String - The action name.
- 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.
- 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.
- 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.
- 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" | "Change Pit" | "Repair Replication" | "Switch Protection" | "Complete Migration"> - The list of failover types.
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.
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
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
- Provider
Specific List<Pulumi.Details Azure Native. Recovery Services. Inputs. Recovery Plan A2ADetails Response> - The provider id and provider specific details.
- 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.
- 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.
- Provider
Specific []RecoveryDetails Plan A2ADetails Response - The provider id and provider specific details.
- 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.
- Recovery
Fabric stringFriendly Name - The recovery fabric friendly name.
- Recovery
Fabric stringId - The recovery fabric Id.
- Replication
Providers []string - The list of replication providers.
- provider
Specific List<RecoveryDetails Plan A2ADetails Response> - The provider id and provider specific details.
- 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.
- 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.
- provider
Specific RecoveryDetails Plan A2ADetails Response[] - The provider id and provider specific details.
- 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.
- recovery
Fabric stringFriendly Name - The recovery fabric friendly name.
- recovery
Fabric stringId - The recovery fabric Id.
- replication
Providers 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[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.
- 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.
- provider
Specific List<Property Map>Details - The provider id and provider specific details.
- 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.
- 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.
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
- 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 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
- 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
- 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
- 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
- "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/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