Microsoft.RecoveryServices vaults/replicationRecoveryPlans 2016-08-10
- Latest
- 2024-04-01
- 2024-02-01
- 2024-01-01
- 2023-08-01
- 2023-06-01
- 2023-04-01
- 2023-02-01
- 2023-01-01
- 2022-10-01
- 2022-09-10
- 2022-08-01
- 2022-05-01
- 2022-04-01
- 2022-03-01
- 2022-02-01
- 2022-01-01
- 2021-12-01
- 2021-11-01
- 2021-10-01
- 2021-08-01
- 2021-07-01
- 2021-06-01
- 2021-04-01
- 2021-03-01
- 2021-02-10
- 2018-07-10
- 2018-01-10
- 2016-08-10
Bicep resource definition
The vaults/replicationRecoveryPlans resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.RecoveryServices/vaults/replicationRecoveryPlans resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationRecoveryPlans@2016-08-10' = {
name: 'string'
parent: resourceSymbolicName
properties: {
failoverDeploymentModel: 'string'
groups: [
{
endGroupActions: [
{
actionName: 'string'
customDetails: {
instanceType: 'string'
// For remaining properties, see RecoveryPlanActionDetails objects
}
failoverDirections: [
'string'
]
failoverTypes: [
'string'
]
}
]
groupType: 'string'
replicationProtectedItems: [
{
id: 'string'
virtualMachineId: 'string'
}
]
startGroupActions: [
{
actionName: 'string'
customDetails: {
instanceType: 'string'
// For remaining properties, see RecoveryPlanActionDetails objects
}
failoverDirections: [
'string'
]
failoverTypes: [
'string'
]
}
]
}
]
primaryFabricId: 'string'
recoveryFabricId: 'string'
}
}
RecoveryPlanActionDetails objects
Set the instanceType property to specify the type of object.
For AutomationRunbookActionDetails, use:
instanceType: 'AutomationRunbookActionDetails'
fabricLocation: 'string'
runbookId: 'string'
timeout: 'string'
For ManualActionDetails, use:
instanceType: 'ManualActionDetails'
description: 'string'
For ScriptActionDetails, use:
instanceType: 'ScriptActionDetails'
fabricLocation: 'string'
path: 'string'
timeout: 'string'
Property values
vaults/replicationRecoveryPlans
Name | Description | Value |
---|---|---|
name | The resource name See how to set names and types for child resources in Bicep. |
string (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: vaults |
properties | Recovery plan creation properties. | CreateRecoveryPlanInputPropertiesOrRecoveryPlanPrope... (required) |
CreateRecoveryPlanInputPropertiesOrRecoveryPlanPrope...
Name | Description | Value |
---|---|---|
failoverDeploymentModel | The failover deployment model. | 'Classic' 'NotApplicable' 'ResourceManager' |
groups | The recovery plan groups. | RecoveryPlanGroup[] (required) |
primaryFabricId | The primary fabric Id. | string (required) |
recoveryFabricId | The recovery fabric Id. | string (required) |
RecoveryPlanGroup
Name | Description | Value |
---|---|---|
endGroupActions | The end group actions. | RecoveryPlanAction[] |
groupType | The group type. | 'Boot' 'Failover' 'Shutdown' (required) |
replicationProtectedItems | The list of protected items. | RecoveryPlanProtectedItem[] |
startGroupActions | The start group actions. | RecoveryPlanAction[] |
RecoveryPlanAction
Name | Description | Value |
---|---|---|
actionName | The action name. | string (required) |
customDetails | The custom details. | RecoveryPlanActionDetails (required) |
failoverDirections | The list of failover directions. | String array containing any of: 'PrimaryToRecovery' 'RecoveryToPrimary' (required) |
failoverTypes | The list of failover types. | String array containing any of: 'ChangePit' 'Commit' 'CompleteMigration' 'DisableProtection' 'Failback' 'FinalizeFailback' 'PlannedFailover' 'RepairReplication' 'ReverseReplicate' 'SwitchProtection' 'TestFailover' 'TestFailoverCleanup' 'UnplannedFailover' (required) |
RecoveryPlanActionDetails
Name | Description | Value |
---|---|---|
instanceType | Set the object type | AutomationRunbookActionDetails ManualActionDetails ScriptActionDetails (required) |
RecoveryPlanAutomationRunbookActionDetails
Name | Description | Value |
---|---|---|
instanceType | Gets the type of action details (see RecoveryPlanActionDetailsTypes enum for possible values). | 'AutomationRunbookActionDetails' (required) |
fabricLocation | The fabric location. | 'Primary' 'Recovery' (required) |
runbookId | The runbook ARM Id. | string |
timeout | The runbook timeout. | string |
RecoveryPlanManualActionDetails
Name | Description | Value |
---|---|---|
instanceType | Gets the type of action details (see RecoveryPlanActionDetailsTypes enum for possible values). | 'ManualActionDetails' (required) |
description | The manual action description. | string |
RecoveryPlanScriptActionDetails
Name | Description | Value |
---|---|---|
instanceType | Gets the type of action details (see RecoveryPlanActionDetailsTypes enum for possible values). | 'ScriptActionDetails' (required) |
fabricLocation | The fabric location. | 'Primary' 'Recovery' (required) |
path | The script path. | string (required) |
timeout | The script timeout. | string |
RecoveryPlanProtectedItem
Name | Description | Value |
---|---|---|
id | The ARM Id of the recovery plan protected item. | string |
virtualMachineId | The virtual machine Id. | string |
ARM template resource definition
The vaults/replicationRecoveryPlans resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.RecoveryServices/vaults/replicationRecoveryPlans resource, add the following JSON to your template.
{
"type": "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans",
"apiVersion": "2016-08-10",
"name": "string",
"properties": {
"failoverDeploymentModel": "string",
"groups": [
{
"endGroupActions": [
{
"actionName": "string",
"customDetails": {
"instanceType": "string"
// For remaining properties, see RecoveryPlanActionDetails objects
},
"failoverDirections": [ "string" ],
"failoverTypes": [ "string" ]
}
],
"groupType": "string",
"replicationProtectedItems": [
{
"id": "string",
"virtualMachineId": "string"
}
],
"startGroupActions": [
{
"actionName": "string",
"customDetails": {
"instanceType": "string"
// For remaining properties, see RecoveryPlanActionDetails objects
},
"failoverDirections": [ "string" ],
"failoverTypes": [ "string" ]
}
]
}
],
"primaryFabricId": "string",
"recoveryFabricId": "string"
}
}
RecoveryPlanActionDetails objects
Set the instanceType property to specify the type of object.
For AutomationRunbookActionDetails, use:
"instanceType": "AutomationRunbookActionDetails",
"fabricLocation": "string",
"runbookId": "string",
"timeout": "string"
For ManualActionDetails, use:
"instanceType": "ManualActionDetails",
"description": "string"
For ScriptActionDetails, use:
"instanceType": "ScriptActionDetails",
"fabricLocation": "string",
"path": "string",
"timeout": "string"
Property values
vaults/replicationRecoveryPlans
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.RecoveryServices/vaults/replicationRecoveryPlans' |
apiVersion | The resource api version | '2016-08-10' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | Recovery plan creation properties. | CreateRecoveryPlanInputPropertiesOrRecoveryPlanPrope... (required) |
CreateRecoveryPlanInputPropertiesOrRecoveryPlanPrope...
Name | Description | Value |
---|---|---|
failoverDeploymentModel | The failover deployment model. | 'Classic' 'NotApplicable' 'ResourceManager' |
groups | The recovery plan groups. | RecoveryPlanGroup[] (required) |
primaryFabricId | The primary fabric Id. | string (required) |
recoveryFabricId | The recovery fabric Id. | string (required) |
RecoveryPlanGroup
Name | Description | Value |
---|---|---|
endGroupActions | The end group actions. | RecoveryPlanAction[] |
groupType | The group type. | 'Boot' 'Failover' 'Shutdown' (required) |
replicationProtectedItems | The list of protected items. | RecoveryPlanProtectedItem[] |
startGroupActions | The start group actions. | RecoveryPlanAction[] |
RecoveryPlanAction
Name | Description | Value |
---|---|---|
actionName | The action name. | string (required) |
customDetails | The custom details. | RecoveryPlanActionDetails (required) |
failoverDirections | The list of failover directions. | String array containing any of: 'PrimaryToRecovery' 'RecoveryToPrimary' (required) |
failoverTypes | The list of failover types. | String array containing any of: 'ChangePit' 'Commit' 'CompleteMigration' 'DisableProtection' 'Failback' 'FinalizeFailback' 'PlannedFailover' 'RepairReplication' 'ReverseReplicate' 'SwitchProtection' 'TestFailover' 'TestFailoverCleanup' 'UnplannedFailover' (required) |
RecoveryPlanActionDetails
Name | Description | Value |
---|---|---|
instanceType | Set the object type | AutomationRunbookActionDetails ManualActionDetails ScriptActionDetails (required) |
RecoveryPlanAutomationRunbookActionDetails
Name | Description | Value |
---|---|---|
instanceType | Gets the type of action details (see RecoveryPlanActionDetailsTypes enum for possible values). | 'AutomationRunbookActionDetails' (required) |
fabricLocation | The fabric location. | 'Primary' 'Recovery' (required) |
runbookId | The runbook ARM Id. | string |
timeout | The runbook timeout. | string |
RecoveryPlanManualActionDetails
Name | Description | Value |
---|---|---|
instanceType | Gets the type of action details (see RecoveryPlanActionDetailsTypes enum for possible values). | 'ManualActionDetails' (required) |
description | The manual action description. | string |
RecoveryPlanScriptActionDetails
Name | Description | Value |
---|---|---|
instanceType | Gets the type of action details (see RecoveryPlanActionDetailsTypes enum for possible values). | 'ScriptActionDetails' (required) |
fabricLocation | The fabric location. | 'Primary' 'Recovery' (required) |
path | The script path. | string (required) |
timeout | The script timeout. | string |
RecoveryPlanProtectedItem
Name | Description | Value |
---|---|---|
id | The ARM Id of the recovery plan protected item. | string |
virtualMachineId | The virtual machine Id. | string |
Terraform (AzAPI provider) resource definition
The vaults/replicationRecoveryPlans resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.RecoveryServices/vaults/replicationRecoveryPlans resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans@2016-08-10"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
failoverDeploymentModel = "string"
groups = [
{
endGroupActions = [
{
actionName = "string"
customDetails = {
instanceType = "string"
// For remaining properties, see RecoveryPlanActionDetails objects
}
failoverDirections = [
"string"
]
failoverTypes = [
"string"
]
}
]
groupType = "string"
replicationProtectedItems = [
{
id = "string"
virtualMachineId = "string"
}
]
startGroupActions = [
{
actionName = "string"
customDetails = {
instanceType = "string"
// For remaining properties, see RecoveryPlanActionDetails objects
}
failoverDirections = [
"string"
]
failoverTypes = [
"string"
]
}
]
}
]
primaryFabricId = "string"
recoveryFabricId = "string"
}
})
}
RecoveryPlanActionDetails objects
Set the instanceType property to specify the type of object.
For AutomationRunbookActionDetails, use:
instanceType = "AutomationRunbookActionDetails"
fabricLocation = "string"
runbookId = "string"
timeout = "string"
For ManualActionDetails, use:
instanceType = "ManualActionDetails"
description = "string"
For ScriptActionDetails, use:
instanceType = "ScriptActionDetails"
fabricLocation = "string"
path = "string"
timeout = "string"
Property values
vaults/replicationRecoveryPlans
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans@2016-08-10" |
name | The resource name | string (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: vaults |
properties | Recovery plan creation properties. | CreateRecoveryPlanInputPropertiesOrRecoveryPlanPrope... (required) |
CreateRecoveryPlanInputPropertiesOrRecoveryPlanPrope...
Name | Description | Value |
---|---|---|
failoverDeploymentModel | The failover deployment model. | "Classic" "NotApplicable" "ResourceManager" |
groups | The recovery plan groups. | RecoveryPlanGroup[] (required) |
primaryFabricId | The primary fabric Id. | string (required) |
recoveryFabricId | The recovery fabric Id. | string (required) |
RecoveryPlanGroup
Name | Description | Value |
---|---|---|
endGroupActions | The end group actions. | RecoveryPlanAction[] |
groupType | The group type. | "Boot" "Failover" "Shutdown" (required) |
replicationProtectedItems | The list of protected items. | RecoveryPlanProtectedItem[] |
startGroupActions | The start group actions. | RecoveryPlanAction[] |
RecoveryPlanAction
Name | Description | Value |
---|---|---|
actionName | The action name. | string (required) |
customDetails | The custom details. | RecoveryPlanActionDetails (required) |
failoverDirections | The list of failover directions. | String array containing any of: "PrimaryToRecovery" "RecoveryToPrimary" (required) |
failoverTypes | The list of failover types. | String array containing any of: "ChangePit" "Commit" "CompleteMigration" "DisableProtection" "Failback" "FinalizeFailback" "PlannedFailover" "RepairReplication" "ReverseReplicate" "SwitchProtection" "TestFailover" "TestFailoverCleanup" "UnplannedFailover" (required) |
RecoveryPlanActionDetails
Name | Description | Value |
---|---|---|
instanceType | Set the object type | AutomationRunbookActionDetails ManualActionDetails ScriptActionDetails (required) |
RecoveryPlanAutomationRunbookActionDetails
Name | Description | Value |
---|---|---|
instanceType | Gets the type of action details (see RecoveryPlanActionDetailsTypes enum for possible values). | "AutomationRunbookActionDetails" (required) |
fabricLocation | The fabric location. | "Primary" "Recovery" (required) |
runbookId | The runbook ARM Id. | string |
timeout | The runbook timeout. | string |
RecoveryPlanManualActionDetails
Name | Description | Value |
---|---|---|
instanceType | Gets the type of action details (see RecoveryPlanActionDetailsTypes enum for possible values). | "ManualActionDetails" (required) |
description | The manual action description. | string |
RecoveryPlanScriptActionDetails
Name | Description | Value |
---|---|---|
instanceType | Gets the type of action details (see RecoveryPlanActionDetailsTypes enum for possible values). | "ScriptActionDetails" (required) |
fabricLocation | The fabric location. | "Primary" "Recovery" (required) |
path | The script path. | string (required) |
timeout | The script timeout. | string |
RecoveryPlanProtectedItem
Name | Description | Value |
---|---|---|
id | The ARM Id of the recovery plan protected item. | string |
virtualMachineId | The virtual machine Id. | string |