Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
- Neueste
- 2026-08-31-Vorschau
- 2026-07-01
- 2026-05-31-Vorschau
- 2026-05-01
- Vorschau am 31.03.2026
- 2026-02-01
- 2026-01-01
- 2025-08-01
- 2025-02-01
- 2025-01-01
- 2024-10-01
- 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-Ressourcendefinition
Der Vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings-Ressourcentyp kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:
- Ressourcengruppen – Siehe Ressourcengruppenbereitstellungsbefehle
Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Änderungsprotokoll.
Verwendungsbeispiele
Beispiele für Bicep
Ein grundlegendes Beispiel für die Bereitstellung der Site Recovery-Schutzcontainerzuordnung in Azure.
param resourceName string = 'acctest0001'
param location string = 'westus'
resource vault 'Microsoft.RecoveryServices/vaults@2024-01-01' = {
name: 'acctest-vault-250703130022502990'
location: location
sku: {
name: 'Standard'
}
properties: {
publicNetworkAccess: 'Enabled'
redundancySettings: {
crossRegionRestore: 'Disabled'
standardTierStorageRedundancy: 'GeoRedundant'
}
}
}
resource replicationFabric 'Microsoft.RecoveryServices/vaults/replicationFabrics@2024-04-01' = {
name: 'acctest-fabric1-250703130022502990'
parent: vault
properties: {
customDetails: {
instanceType: 'Azure'
location: 'westeurope'
}
}
}
resource replicationfabric1 'Microsoft.RecoveryServices/vaults/replicationFabrics@2024-04-01' = {
name: 'acctest-fabric2b-250703130022502990'
parent: vault
properties: {
customDetails: {
instanceType: 'Azure'
location: 'westus2'
}
}
}
resource replicationPolicy 'Microsoft.RecoveryServices/vaults/replicationPolicies@2024-04-01' = {
name: 'acctest-policy-250703130022502990'
parent: vault
properties: {
providerSpecificInput: {
appConsistentFrequencyInMinutes: 240
instanceType: 'A2A'
multiVmSyncStatus: 'Enable'
recoveryPointHistory: 1440
}
}
}
resource replicationProtectionContainer 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers@2024-04-01' = {
name: 'acctest-protection-cont1-250703130022502990'
parent: replicationFabric
properties: {}
}
resource replicationprotectioncontainer1 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers@2024-04-01' = {
name: 'acctest-protection-cont2-250703130022502990'
parent: replicationfabric1
properties: {}
}
resource replicationProtectionContainerMapping 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2024-04-01' = {
name: 'mapping-250703130022502990'
parent: replicationProtectionContainer
properties: {
policyId: replicationPolicy.id
providerSpecificInput: {
instanceType: 'A2A'
}
targetProtectionContainerId: replicationprotectioncontainer1.id
}
}
Von Azure verifizierte Module
Die folgenden Azure Verified Modules können verwendet werden, um diesen Ressourcentyp bereitzustellen.
| Module | Beschreibung |
|---|---|
| Recovery Services Vault – Repl Fabric – Repl Prot Cont – Mapping | AVM Child Module für Recovery Services Vault - Repl Fabric - Repl Prot Cont - Mapping |
Azure-Schnellstartbeispiele
Die folgenden Azure Quickstart-Vorlagen enthalten Bicep Beispiele für die Bereitstellung dieses Ressourcentyps.
| Bicep-Datei | Beschreibung |
|---|---|
| Create Azure VM-Replikation und Disaster Recovery | Diese Vorlage ermöglicht es Ihnen, eine Azure Virtual Machine Site Replication Disaster Recovery zu erstellen. |
Ressourcenformat
Um eine Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings-Ressource zu erstellen, fügen Sie Ihrer Vorlage die folgende Bicep hinzu.
resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2026-01-01' = {
parent: resourceSymbolicName
name: 'string'
properties: {
policyId: 'string'
providerSpecificInput: {
instanceType: 'string'
// For remaining properties, see ReplicationProviderSpecificContainerMappingInput objects
}
targetProtectionContainerId: 'string'
}
}
ReplicationProviderSpecificContainerMappingInput-Objekte
Legen Sie die instanceType-Eigenschaft fest, um den Objekttyp anzugeben.
Verwenden Sie für A2A:
{
agentAutoUpdateStatus: 'string'
automationAccountArmId: 'string'
automationAccountAuthenticationType: 'string'
instanceType: 'A2A'
}
Verwenden Sie für VMwareCbt:
{
instanceType: 'VMwareCbt'
keyVaultId: 'string'
keyVaultUri: 'string'
serviceBusConnectionStringSecretName: 'string'
storageAccountId: 'string'
storageAccountSasSecretName: 'string'
targetLocation: 'string'
}
Eigenschaftswerte
Microsoft. RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings
| Name | Beschreibung | Wert |
|---|---|---|
| Name | Der Ressourcenname | Zeichenfolge (erforderlich) |
| parent | In Bicep können Sie die übergeordnete Ressource für eine untergeordnete Ressource angeben. Sie müssen diese Eigenschaft nur hinzufügen, wenn die untergeordnete Ressource außerhalb der übergeordneten Ressource deklariert wird. Weitere Informationen finden Sie unter Untergeordnete Ressource außerhalb der übergeordneten Ressource. |
Symbolischer Name für die Ressource des Typs: vaults/replicationFabrics/replicationProtectionContainers |
| properties | Konfigurieren von Schutzeingabeeigenschaften. | CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties |
A2AContainerMappingEingabe
| Name | Beschreibung | Wert |
|---|---|---|
| agentAutoUpdateStatus | Ein Wert, der angibt, ob die automatische Aktualisierung aktiviert ist. | "Deaktiviert" "Aktiviert" |
| automationAccountArmId | Die Arm-ID des Automatisierungskontos. | Schnur |
| automationAccountAuthenticationType | Ein Wert, der die Typauthentifizierung angibt, die für das Automatisierungskonto verwendet werden soll. | 'RunAsAccount' 'SystemAssignedIdentity' |
| instanceType | Der Klassentyp. | "A2A" (erforderlich) |
CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties
| Name | Beschreibung | Wert |
|---|---|---|
| policyId | Anwendbare Richtlinie. | Schnur |
| providerSpecificInput | Anbieterspezifische Eingabe für die Kopplung. | ReplicationProviderSpecificContainerMappingInput- |
| targetProtectionContainerId | Der Name des eindeutigen Zielschutzcontainers. | Schnur |
ReplicationProviderSpecificContainerMappingInput
| Name | Beschreibung | Wert |
|---|---|---|
| instanceType | Legen Sie für den Typ A2AContainerMappingInput auf "A2AA" fest. Legen Sie für den Typ VMwareCbtContainerMappingInput den Typ "VMwareCbtContainerMappingInput" fest. | "A2A" "VMwareCbt" (erforderlich) |
VMwareCbtContainerMappingInput
| Name | Beschreibung | Wert |
|---|---|---|
| instanceType | Der Klassentyp. | "VMwareCbt" (erforderlich) |
| keyVaultId | Die ARM-ID des Zielschlüsseltresors. | Schnur |
| keyVaultUri | Die Zielschlüsseltresor-URL. | Schnur |
| serviceBusConnectionStringSecretName | Der geheime Name des Servicebus-Verbindungszeichenfolge. | Schnur |
| storageAccountId | Die ARM-ID des Speicherkontos. | Zeichenfolge (erforderlich) |
| storageAccountSasSecretName | Der geheime Name des Speicherkontos. | Schnur |
| ZielStandort | Der Zielspeicherort. | Zeichenfolge (erforderlich) |
ARM-Vorlagenressourcendefinition
Der Vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings-Ressourcentyp kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:
- Ressourcengruppen – Siehe Ressourcengruppen-Deployment-Befehle Für eine Liste der geänderten Eigenschaften in jeder API-Version siehe Änderungsprotokoll.
Verwendungsbeispiele
Azure-Schnellstartvorlagen
Die folgenden Azure Quickstart-Vorlagen bereitstellen diesen Ressourcentyp aus.
| Vorlage | Beschreibung |
|---|---|
|
Create Azure VM-Replikation und Disaster Recovery |
Diese Vorlage ermöglicht es Ihnen, eine Azure Virtual Machine Site Replication Disaster Recovery zu erstellen. |
Ressourcenformat
Um eine Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings-Ressource zu erstellen, fügen Sie der Vorlage den folgenden JSON-Code hinzu.
{
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings",
"apiVersion": "2026-01-01",
"name": "string",
"properties": {
"policyId": "string",
"providerSpecificInput": {
"instanceType": "string"
// For remaining properties, see ReplicationProviderSpecificContainerMappingInput objects
},
"targetProtectionContainerId": "string"
}
}
ReplicationProviderSpecificContainerMappingInput-Objekte
Legen Sie die instanceType-Eigenschaft fest, um den Objekttyp anzugeben.
Verwenden Sie für A2A:
{
"agentAutoUpdateStatus": "string",
"automationAccountArmId": "string",
"automationAccountAuthenticationType": "string",
"instanceType": "A2A"
}
Verwenden Sie für VMwareCbt:
{
"instanceType": "VMwareCbt",
"keyVaultId": "string",
"keyVaultUri": "string",
"serviceBusConnectionStringSecretName": "string",
"storageAccountId": "string",
"storageAccountSasSecretName": "string",
"targetLocation": "string"
}
Eigenschaftswerte
Microsoft. RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings
| Name | Beschreibung | Wert |
|---|---|---|
| apiVersion | Die API-Version | '2026-01-01' |
| Name | Der Ressourcenname | Zeichenfolge (erforderlich) |
| properties | Konfigurieren von Schutzeingabeeigenschaften. | CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties |
| Typ | Der Ressourcentyp | 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings' |
A2AContainerMappingEingabe
| Name | Beschreibung | Wert |
|---|---|---|
| agentAutoUpdateStatus | Ein Wert, der angibt, ob die automatische Aktualisierung aktiviert ist. | "Deaktiviert" "Aktiviert" |
| automationAccountArmId | Die Arm-ID des Automatisierungskontos. | Schnur |
| automationAccountAuthenticationType | Ein Wert, der die Typauthentifizierung angibt, die für das Automatisierungskonto verwendet werden soll. | 'RunAsAccount' 'SystemAssignedIdentity' |
| instanceType | Der Klassentyp. | "A2A" (erforderlich) |
CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties
| Name | Beschreibung | Wert |
|---|---|---|
| policyId | Anwendbare Richtlinie. | Schnur |
| providerSpecificInput | Anbieterspezifische Eingabe für die Kopplung. | ReplicationProviderSpecificContainerMappingInput- |
| targetProtectionContainerId | Der Name des eindeutigen Zielschutzcontainers. | Schnur |
ReplicationProviderSpecificContainerMappingInput
| Name | Beschreibung | Wert |
|---|---|---|
| instanceType | Legen Sie für den Typ A2AContainerMappingInput auf "A2AA" fest. Legen Sie für den Typ VMwareCbtContainerMappingInput den Typ "VMwareCbtContainerMappingInput" fest. | "A2A" "VMwareCbt" (erforderlich) |
VMwareCbtContainerMappingInput
| Name | Beschreibung | Wert |
|---|---|---|
| instanceType | Der Klassentyp. | "VMwareCbt" (erforderlich) |
| keyVaultId | Die ARM-ID des Zielschlüsseltresors. | Schnur |
| keyVaultUri | Die Zielschlüsseltresor-URL. | Schnur |
| serviceBusConnectionStringSecretName | Der geheime Name des Servicebus-Verbindungszeichenfolge. | Schnur |
| storageAccountId | Die ARM-ID des Speicherkontos. | Zeichenfolge (erforderlich) |
| storageAccountSasSecretName | Der geheime Name des Speicherkontos. | Schnur |
| ZielStandort | Der Zielspeicherort. | Zeichenfolge (erforderlich) |
Terraform -Ressourcendefinition (AzAPI-Anbieter)
Der Vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings-Ressourcentyp kann mit Vorgängen bereitgestellt werden, die auf Folgendes abzielen:
- Ressourcengruppen Eine Liste der geänderten Eigenschaften in jeder API-Version finden Sie unter Change Log.
Verwendungsbeispiele
Terraform-Beispiele
Ein grundlegendes Beispiel für die Bereitstellung der Site Recovery-Schutzcontainerzuordnung in Azure.
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westus"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = "${var.resource_name}-rg"
location = var.location
}
resource "azapi_resource" "vault" {
type = "Microsoft.RecoveryServices/vaults@2024-01-01"
parent_id = azapi_resource.resourceGroup.id
name = "acctest-vault-250703130022502990"
location = var.location
body = {
properties = {
publicNetworkAccess = "Enabled"
redundancySettings = {
crossRegionRestore = "Disabled"
standardTierStorageRedundancy = "GeoRedundant"
}
}
sku = {
name = "Standard"
}
}
}
resource "azapi_resource" "replicationFabric" {
type = "Microsoft.RecoveryServices/vaults/replicationFabrics@2024-04-01"
parent_id = azapi_resource.vault.id
name = "acctest-fabric1-250703130022502990"
body = {
properties = {
customDetails = {
instanceType = "Azure"
location = "westeurope"
}
}
}
}
resource "azapi_resource" "replicationFabric_1" {
type = "Microsoft.RecoveryServices/vaults/replicationFabrics@2024-04-01"
parent_id = azapi_resource.vault.id
name = "acctest-fabric2b-250703130022502990"
body = {
properties = {
customDetails = {
instanceType = "Azure"
location = "westus2"
}
}
}
}
resource "azapi_resource" "replicationPolicy" {
type = "Microsoft.RecoveryServices/vaults/replicationPolicies@2024-04-01"
parent_id = azapi_resource.vault.id
name = "acctest-policy-250703130022502990"
body = {
properties = {
providerSpecificInput = {
appConsistentFrequencyInMinutes = 240
instanceType = "A2A"
multiVmSyncStatus = "Enable"
recoveryPointHistory = 1440
}
}
}
}
resource "azapi_resource" "replicationProtectionContainer" {
type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers@2024-04-01"
parent_id = azapi_resource.replicationFabric.id
name = "acctest-protection-cont1-250703130022502990"
body = {
properties = {}
}
}
resource "azapi_resource" "replicationProtectionContainer_1" {
type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers@2024-04-01"
parent_id = azapi_resource.replicationFabric_1.id
name = "acctest-protection-cont2-250703130022502990"
body = {
properties = {}
}
}
resource "azapi_resource" "replicationProtectionContainerMapping" {
type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2024-04-01"
parent_id = azapi_resource.replicationProtectionContainer.id
name = "mapping-250703130022502990"
body = {
properties = {
policyId = azapi_resource.replicationPolicy.id
providerSpecificInput = {
instanceType = "A2A"
}
targetProtectionContainerId = azapi_resource.replicationProtectionContainer_1.id
}
}
}
Ressourcenformat
Um eine Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings-Ressource zu erstellen, fügen Sie Ihrer Vorlage die folgende Terraform hinzu.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2026-01-01"
name = "string"
parent_id = "string"
body = {
properties = {
policyId = "string"
providerSpecificInput = {
instanceType = "string"
// For remaining properties, see ReplicationProviderSpecificContainerMappingInput objects
}
targetProtectionContainerId = "string"
}
}
}
ReplicationProviderSpecificContainerMappingInput-Objekte
Legen Sie die instanceType-Eigenschaft fest, um den Objekttyp anzugeben.
Verwenden Sie für A2A:
{
agentAutoUpdateStatus = "string"
automationAccountArmId = "string"
automationAccountAuthenticationType = "string"
instanceType = "A2A"
}
Verwenden Sie für VMwareCbt:
{
instanceType = "VMwareCbt"
keyVaultId = "string"
keyVaultUri = "string"
serviceBusConnectionStringSecretName = "string"
storageAccountId = "string"
storageAccountSasSecretName = "string"
targetLocation = "string"
}
Eigenschaftswerte
Microsoft. RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings
| Name | Beschreibung | Wert |
|---|---|---|
| Name | Der Ressourcenname | Zeichenfolge (erforderlich) |
| parent_id | Die ID der Ressource, die das übergeordnete Element für diese Ressource ist. | ID für Ressource des Typs: vaults/replicationFabrics/replicationProtectionContainers |
| properties | Konfigurieren von Schutzeingabeeigenschaften. | CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties |
| Typ | Der Ressourcentyp | "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2026-01-01" |
A2AContainerMappingEingabe
| Name | Beschreibung | Wert |
|---|---|---|
| agentAutoUpdateStatus | Ein Wert, der angibt, ob die automatische Aktualisierung aktiviert ist. | "Deaktiviert" "Aktiviert" |
| automationAccountArmId | Die Arm-ID des Automatisierungskontos. | Schnur |
| automationAccountAuthenticationType | Ein Wert, der die Typauthentifizierung angibt, die für das Automatisierungskonto verwendet werden soll. | 'RunAsAccount' 'SystemAssignedIdentity' |
| instanceType | Der Klassentyp. | "A2A" (erforderlich) |
CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties
| Name | Beschreibung | Wert |
|---|---|---|
| policyId | Anwendbare Richtlinie. | Schnur |
| providerSpecificInput | Anbieterspezifische Eingabe für die Kopplung. | ReplicationProviderSpecificContainerMappingInput- |
| targetProtectionContainerId | Der Name des eindeutigen Zielschutzcontainers. | Schnur |
ReplicationProviderSpecificContainerMappingInput
| Name | Beschreibung | Wert |
|---|---|---|
| instanceType | Legen Sie für den Typ A2AContainerMappingInput auf "A2AA" fest. Legen Sie für den Typ VMwareCbtContainerMappingInput den Typ "VMwareCbtContainerMappingInput" fest. | "A2A" "VMwareCbt" (erforderlich) |
VMwareCbtContainerMappingInput
| Name | Beschreibung | Wert |
|---|---|---|
| instanceType | Der Klassentyp. | "VMwareCbt" (erforderlich) |
| keyVaultId | Die ARM-ID des Zielschlüsseltresors. | Schnur |
| keyVaultUri | Die Zielschlüsseltresor-URL. | Schnur |
| serviceBusConnectionStringSecretName | Der geheime Name des Servicebus-Verbindungszeichenfolge. | Schnur |
| storageAccountId | Die ARM-ID des Speicherkontos. | Zeichenfolge (erforderlich) |
| storageAccountSasSecretName | Der geheime Name des Speicherkontos. | Schnur |
| ZielStandort | Der Zielspeicherort. | Zeichenfolge (erforderlich) |