Delen via


Microsoft.RecoveryServices-kluizen/replicationRecoveryPlans 2021-03-01

Bicep-resourcedefinitie

Het resourcetype vaults/replicationRecoveryPlans kan worden geïmplementeerd met bewerkingen die zijn gericht op:

Zie logboek wijzigenvoor een lijst met gewijzigde eigenschappen in elke API-versie.

Resource-indeling

Als u een Resource Microsoft.RecoveryServices/vaults/replicationRecoveryPlans wilt maken, voegt u de volgende Bicep toe aan uw sjabloon.

resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationRecoveryPlans@2021-03-01' = {
  parent: resourceSymbolicName
  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'
    providerSpecificInput: [
      {
        instanceType: 'string'
        // For remaining properties, see RecoveryPlanProviderSpecificInput objects
      }
    ]
    recoveryFabricId: 'string'
  }
}

RecoveryPlanActionDetails-objecten

Stel de eigenschap instanceType in om het type object op te geven.

Gebruik voor AutomationRunbookActionDetails:

{
  fabricLocation: 'string'
  instanceType: 'AutomationRunbookActionDetails'
  runbookId: 'string'
  timeout: 'string'
}

Gebruik voor ManualActionDetails:

{
  description: 'string'
  instanceType: 'ManualActionDetails'
}

Gebruik voor ScriptActionDetails:

{
  fabricLocation: 'string'
  instanceType: 'ScriptActionDetails'
  path: 'string'
  timeout: 'string'
}

RecoveryPlanProviderSpecificInput-objecten

Stel de eigenschap instanceType in om het type object op te geven.

Gebruik voor A2A:

{
  instanceType: 'A2A'
  primaryZone: 'string'
  recoveryZone: 'string'
}

Eigenschapswaarden

Microsoft.RecoveryServices/vaults/replicationRecoveryPlans

Naam Beschrijving Waarde
naam De resourcenaam tekenreeks (vereist)
ouder In Bicep kunt u de bovenliggende resource voor een onderliggende resource opgeven. U hoeft deze eigenschap alleen toe te voegen wanneer de onderliggende resource buiten de bovenliggende resource wordt gedeclareerd.

Zie onderliggende resource buiten de bovenliggende resourcevoor meer informatie.
Symbolische naam voor resource van het type: kluizen
eigenschappen Eigenschappen voor het maken van herstelplannen. CreateRecoveryPlanInputPropertiesOrRecoveryPlanProperties (vereist)

CreateRecoveryPlanInputPropertiesOrRecoveryPlanProperties maken

Naam Beschrijving Waarde
failoverDeploymentModel Het failover-implementatiemodel. 'Klassiek'
'Niet van toepassing'
ResourceManager
groepen De herstelplangroepen. RecoveryPlanGroup[] (vereist)
primaireStofId De primaire infrastructuur-id. tekenreeks (vereist)
aanbiederSpecificInput De specifieke invoer van de provider. RecoveryPlanProviderSpecificInput
recoveryFabricId De id van de herstelinfrastructuur. tekenreeks (vereist)

HerstelplanA2AInput

Naam Beschrijving Waarde
instantieType Hiermee haalt u het exemplaartype op. A2A (vereist)
primaire zone De primaire zone. touw
herstelZone De herstelzone. touw

RecoveryPlanActie

Naam Beschrijving Waarde
actieNaam De naam van de actie. tekenreeks (vereist)
aangepastDetails De aangepaste details. RecoveryPlanActionDetails (vereist)
failoverRoutebeschrijving De lijst met failoverrichtingen. Tekenreeksmatrix met een van de volgende waarden:
'PrimairTotHerstel'
'RecoveryToPrimary' (vereist)
failoverTypen De lijst met failovertypen. Tekenreeksmatrix met een van de volgende waarden:
'Wissel Pit'
Doorvoeren
'CompleteMigratie'
'Bescherming uitschakelen'
'Failback'
'Failback afronden'
'Geplande failover'
'ReparatieReplicatie'
ReverseReplicate
'Schakelaarbeveiliging'
'TestFailover'
'TestFailoverCleanup'
'UnplannedFailover' (vereist)

RecoveryPlanActieDetails

Naam Beschrijving Waarde
instantieType Ingesteld op AutomationRunbookActionDetails voor het type RecoveryPlanAutomationRunbookActionDetails. Ingesteld op 'ManualActionDetails' voor het type RecoveryPlanManualActionDetails. Ingesteld op ScriptActionDetails voor het type RecoveryPlanScriptActionDetails. 'AutomationRunbookActionDetails'
'HandleidingActieDetails'
'ScriptActionDetails' (vereist)

RecoveryPlanAutomationRunbookActionDetails

Naam Beschrijving Waarde
stofLocatie De infrastructuurlocatie. 'Primair'
'Herstel' (vereist)
instantieType Hiermee haalt u het type actiedetails op (zie RecoveryPlanActionDetailsTypes enum voor mogelijke waarden). AutomationRunbookActionDetails (vereist)
runbookId De ARM-id van het runbook. touw
tijdslimiet De time-out van het runbook. touw

RecoveryPlanGroep

Naam Beschrijving Waarde
endGroupActions De acties van de eindgroep. RecoveryPlan-actie
typeGroep Het groepstype. 'Opstarten'
Failover
Afsluiten (vereist)
replicationProtectedItems De lijst met beveiligde items. RecoveryPlanProtectedItem
startGroupActions De groepsacties starten. RecoveryPlan-actie

HerstelPlanHandmatigeActieDetails

Naam Beschrijving Waarde
beschrijving De beschrijving van de handmatige actie. touw
instantieType Hiermee haalt u het type actiedetails op (zie RecoveryPlanActionDetailsTypes enum voor mogelijke waarden). 'ManualActionDetails' (vereist)

HerstelplanBeschermd item

Naam Beschrijving Waarde
identiteitskaart De ARM-id van het beveiligde item van het herstelplan. touw
virtualMachineId De id van de virtuele machine. touw

RecoveryPlanProviderSpecificInput

Naam Beschrijving Waarde
instantieType Ingesteld op A2A voor het type RecoveryPlanA2AInput. A2A (vereist)

RecoveryPlanScriptActionDetails

Naam Beschrijving Waarde
stofLocatie De infrastructuurlocatie. 'Primair'
'Herstel' (vereist)
instantieType Hiermee haalt u het type actiedetails op (zie RecoveryPlanActionDetailsTypes enum voor mogelijke waarden). 'ScriptActionDetails' (vereist)
pad Het scriptpad. tekenreeks (vereist)
tijdslimiet De time-out van het script. touw

Resourcedefinitie van ARM-sjabloon

Het resourcetype vaults/replicationRecoveryPlans kan worden geïmplementeerd met bewerkingen die zijn gericht op:

Zie logboek wijzigenvoor een lijst met gewijzigde eigenschappen in elke API-versie.

Resource-indeling

Als u een Resource Microsoft.RecoveryServices/vaults/replicationRecoveryPlans wilt maken, voegt u de volgende JSON toe aan uw sjabloon.

{
  "type": "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans",
  "apiVersion": "2021-03-01",
  "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",
    "providerSpecificInput": [ {
      "instanceType": "string"
      // For remaining properties, see RecoveryPlanProviderSpecificInput objects
    } ],
    "recoveryFabricId": "string"
  }
}

RecoveryPlanActionDetails-objecten

Stel de eigenschap instanceType in om het type object op te geven.

Gebruik voor AutomationRunbookActionDetails:

{
  "fabricLocation": "string",
  "instanceType": "AutomationRunbookActionDetails",
  "runbookId": "string",
  "timeout": "string"
}

Gebruik voor ManualActionDetails:

{
  "description": "string",
  "instanceType": "ManualActionDetails"
}

Gebruik voor ScriptActionDetails:

{
  "fabricLocation": "string",
  "instanceType": "ScriptActionDetails",
  "path": "string",
  "timeout": "string"
}

RecoveryPlanProviderSpecificInput-objecten

Stel de eigenschap instanceType in om het type object op te geven.

Gebruik voor A2A:

{
  "instanceType": "A2A",
  "primaryZone": "string",
  "recoveryZone": "string"
}

Eigenschapswaarden

Microsoft.RecoveryServices/vaults/replicationRecoveryPlans

Naam Beschrijving Waarde
apiVersion De API-versie '2021-03-01'
naam De resourcenaam tekenreeks (vereist)
eigenschappen Eigenschappen voor het maken van herstelplannen. CreateRecoveryPlanInputPropertiesOrRecoveryPlanProperties (vereist)
soort Het brontype 'Microsoft.RecoveryServices/vaults/replicationRecoveryPlans'

CreateRecoveryPlanInputPropertiesOrRecoveryPlanProperties maken

Naam Beschrijving Waarde
failoverDeploymentModel Het failover-implementatiemodel. 'Klassiek'
'Niet van toepassing'
ResourceManager
groepen De herstelplangroepen. RecoveryPlanGroup[] (vereist)
primaireStofId De primaire infrastructuur-id. tekenreeks (vereist)
aanbiederSpecificInput De specifieke invoer van de provider. RecoveryPlanProviderSpecificInput
recoveryFabricId De id van de herstelinfrastructuur. tekenreeks (vereist)

HerstelplanA2AInput

Naam Beschrijving Waarde
instantieType Hiermee haalt u het exemplaartype op. A2A (vereist)
primaire zone De primaire zone. touw
herstelZone De herstelzone. touw

RecoveryPlanActie

Naam Beschrijving Waarde
actieNaam De naam van de actie. tekenreeks (vereist)
aangepastDetails De aangepaste details. RecoveryPlanActionDetails (vereist)
failoverRoutebeschrijving De lijst met failoverrichtingen. Tekenreeksmatrix met een van de volgende waarden:
'PrimairTotHerstel'
'RecoveryToPrimary' (vereist)
failoverTypen De lijst met failovertypen. Tekenreeksmatrix met een van de volgende waarden:
'Wissel Pit'
Doorvoeren
'CompleteMigratie'
'Bescherming uitschakelen'
'Failback'
'Failback afronden'
'Geplande failover'
'ReparatieReplicatie'
ReverseReplicate
'Schakelaarbeveiliging'
'TestFailover'
'TestFailoverCleanup'
'UnplannedFailover' (vereist)

RecoveryPlanActieDetails

Naam Beschrijving Waarde
instantieType Ingesteld op AutomationRunbookActionDetails voor het type RecoveryPlanAutomationRunbookActionDetails. Ingesteld op 'ManualActionDetails' voor het type RecoveryPlanManualActionDetails. Ingesteld op ScriptActionDetails voor het type RecoveryPlanScriptActionDetails. 'AutomationRunbookActionDetails'
'HandleidingActieDetails'
'ScriptActionDetails' (vereist)

RecoveryPlanAutomationRunbookActionDetails

Naam Beschrijving Waarde
stofLocatie De infrastructuurlocatie. 'Primair'
'Herstel' (vereist)
instantieType Hiermee haalt u het type actiedetails op (zie RecoveryPlanActionDetailsTypes enum voor mogelijke waarden). AutomationRunbookActionDetails (vereist)
runbookId De ARM-id van het runbook. touw
tijdslimiet De time-out van het runbook. touw

RecoveryPlanGroep

Naam Beschrijving Waarde
endGroupActions De acties van de eindgroep. RecoveryPlan-actie
typeGroep Het groepstype. 'Opstarten'
Failover
Afsluiten (vereist)
replicationProtectedItems De lijst met beveiligde items. RecoveryPlanProtectedItem
startGroupActions De groepsacties starten. RecoveryPlan-actie

HerstelPlanHandmatigeActieDetails

Naam Beschrijving Waarde
beschrijving De beschrijving van de handmatige actie. touw
instantieType Hiermee haalt u het type actiedetails op (zie RecoveryPlanActionDetailsTypes enum voor mogelijke waarden). 'ManualActionDetails' (vereist)

HerstelplanBeschermd item

Naam Beschrijving Waarde
identiteitskaart De ARM-id van het beveiligde item van het herstelplan. touw
virtualMachineId De id van de virtuele machine. touw

RecoveryPlanProviderSpecificInput

Naam Beschrijving Waarde
instantieType Ingesteld op A2A voor het type RecoveryPlanA2AInput. A2A (vereist)

RecoveryPlanScriptActionDetails

Naam Beschrijving Waarde
stofLocatie De infrastructuurlocatie. 'Primair'
'Herstel' (vereist)
instantieType Hiermee haalt u het type actiedetails op (zie RecoveryPlanActionDetailsTypes enum voor mogelijke waarden). 'ScriptActionDetails' (vereist)
pad Het scriptpad. tekenreeks (vereist)
tijdslimiet De time-out van het script. touw

Gebruiksvoorbeelden

Resourcedefinitie van Terraform (AzAPI-provider)

Het resourcetype vaults/replicationRecoveryPlans kan worden geïmplementeerd met bewerkingen die zijn gericht op:

  • Resourcegroepen

Zie logboek wijzigenvoor een lijst met gewijzigde eigenschappen in elke API-versie.

Resource-indeling

Als u een Resource Microsoft.RecoveryServices/vaults/replicationRecoveryPlans wilt maken, voegt u de volgende Terraform toe aan uw sjabloon.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans@2021-03-01"
  name = "string"
  parent_id = "string"
  body = {
    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"
      providerSpecificInput = [
        {
          instanceType = "string"
          // For remaining properties, see RecoveryPlanProviderSpecificInput objects
        }
      ]
      recoveryFabricId = "string"
    }
  }
}

RecoveryPlanActionDetails-objecten

Stel de eigenschap instanceType in om het type object op te geven.

Gebruik voor AutomationRunbookActionDetails:

{
  fabricLocation = "string"
  instanceType = "AutomationRunbookActionDetails"
  runbookId = "string"
  timeout = "string"
}

Gebruik voor ManualActionDetails:

{
  description = "string"
  instanceType = "ManualActionDetails"
}

Gebruik voor ScriptActionDetails:

{
  fabricLocation = "string"
  instanceType = "ScriptActionDetails"
  path = "string"
  timeout = "string"
}

RecoveryPlanProviderSpecificInput-objecten

Stel de eigenschap instanceType in om het type object op te geven.

Gebruik voor A2A:

{
  instanceType = "A2A"
  primaryZone = "string"
  recoveryZone = "string"
}

Eigenschapswaarden

Microsoft.RecoveryServices/vaults/replicationRecoveryPlans

Naam Beschrijving Waarde
naam De resourcenaam tekenreeks (vereist)
ouder_id De id van de resource die het bovenliggende item voor deze resource is. Id voor resource van het type: kluizen
eigenschappen Eigenschappen voor het maken van herstelplannen. CreateRecoveryPlanInputPropertiesOrRecoveryPlanProperties (vereist)
soort Het brontype "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans@2021-03-01"

CreateRecoveryPlanInputPropertiesOrRecoveryPlanProperties maken

Naam Beschrijving Waarde
failoverDeploymentModel Het failover-implementatiemodel. 'Klassiek'
'Niet van toepassing'
ResourceManager
groepen De herstelplangroepen. RecoveryPlanGroup[] (vereist)
primaireStofId De primaire infrastructuur-id. tekenreeks (vereist)
aanbiederSpecificInput De specifieke invoer van de provider. RecoveryPlanProviderSpecificInput
recoveryFabricId De id van de herstelinfrastructuur. tekenreeks (vereist)

HerstelplanA2AInput

Naam Beschrijving Waarde
instantieType Hiermee haalt u het exemplaartype op. A2A (vereist)
primaire zone De primaire zone. touw
herstelZone De herstelzone. touw

RecoveryPlanActie

Naam Beschrijving Waarde
actieNaam De naam van de actie. tekenreeks (vereist)
aangepastDetails De aangepaste details. RecoveryPlanActionDetails (vereist)
failoverRoutebeschrijving De lijst met failoverrichtingen. Tekenreeksmatrix met een van de volgende waarden:
'PrimairTotHerstel'
'RecoveryToPrimary' (vereist)
failoverTypen De lijst met failovertypen. Tekenreeksmatrix met een van de volgende waarden:
'Wissel Pit'
Doorvoeren
'CompleteMigratie'
'Bescherming uitschakelen'
'Failback'
'Failback afronden'
'Geplande failover'
'ReparatieReplicatie'
ReverseReplicate
'Schakelaarbeveiliging'
'TestFailover'
'TestFailoverCleanup'
'UnplannedFailover' (vereist)

RecoveryPlanActieDetails

Naam Beschrijving Waarde
instantieType Ingesteld op AutomationRunbookActionDetails voor het type RecoveryPlanAutomationRunbookActionDetails. Ingesteld op 'ManualActionDetails' voor het type RecoveryPlanManualActionDetails. Ingesteld op ScriptActionDetails voor het type RecoveryPlanScriptActionDetails. 'AutomationRunbookActionDetails'
'HandleidingActieDetails'
'ScriptActionDetails' (vereist)

RecoveryPlanAutomationRunbookActionDetails

Naam Beschrijving Waarde
stofLocatie De infrastructuurlocatie. 'Primair'
'Herstel' (vereist)
instantieType Hiermee haalt u het type actiedetails op (zie RecoveryPlanActionDetailsTypes enum voor mogelijke waarden). AutomationRunbookActionDetails (vereist)
runbookId De ARM-id van het runbook. touw
tijdslimiet De time-out van het runbook. touw

RecoveryPlanGroep

Naam Beschrijving Waarde
endGroupActions De acties van de eindgroep. RecoveryPlan-actie
typeGroep Het groepstype. 'Opstarten'
Failover
Afsluiten (vereist)
replicationProtectedItems De lijst met beveiligde items. RecoveryPlanProtectedItem
startGroupActions De groepsacties starten. RecoveryPlan-actie

HerstelPlanHandmatigeActieDetails

Naam Beschrijving Waarde
beschrijving De beschrijving van de handmatige actie. touw
instantieType Hiermee haalt u het type actiedetails op (zie RecoveryPlanActionDetailsTypes enum voor mogelijke waarden). 'ManualActionDetails' (vereist)

HerstelplanBeschermd item

Naam Beschrijving Waarde
identiteitskaart De ARM-id van het beveiligde item van het herstelplan. touw
virtualMachineId De id van de virtuele machine. touw

RecoveryPlanProviderSpecificInput

Naam Beschrijving Waarde
instantieType Ingesteld op A2A voor het type RecoveryPlanA2AInput. A2A (vereist)

RecoveryPlanScriptActionDetails

Naam Beschrijving Waarde
stofLocatie De infrastructuurlocatie. 'Primair'
'Herstel' (vereist)
instantieType Hiermee haalt u het type actiedetails op (zie RecoveryPlanActionDetailsTypes enum voor mogelijke waarden). 'ScriptActionDetails' (vereist)
pad Het scriptpad. tekenreeks (vereist)
tijdslimiet De time-out van het script. touw