Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
- Laatst
- 2026-08-31-preview
- 2026-07-01
- 2026-05-31-preview
- 2026-05-01
- 2026-03-31-preview
- 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-resourcedefinitie
De kluizen/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings resourcetype kunnen worden geïmplementeerd met bewerkingen die zijn gericht op:
- Resourcegroepen - Zie opdrachten voor de implementatie van resourcegroepen
Zie logboek wijzigenvoor een lijst met gewijzigde eigenschappen in elke API-versie.
Gebruiksvoorbeelden
Bicep-voorbeelden
Een eenvoudig voorbeeld van het implementeren van Site Recovery-beveiligingscontainertoewijzing op 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
}
}
Geverifieerde Azure-modules
De volgende azure-geverifieerde modules kunnen worden gebruikt om dit resourcetype te implementeren.
| Module | Beschrijving |
|---|---|
| Recovery Services Vault - Repl Fabric - Repl Prot Cont - Mapping | AVM Child Module voor Recovery Services Vault - Repl Fabric - Repl Prot Cont - Mapping |
Azure-snelstartvoorbeelden
De volgende Azure-quickstartsjablonen bicep-voorbeelden bevatten voor het implementeren van dit resourcetype.
| Bicep-bestand | Beschrijving |
|---|---|
| Azure VM-replicatie en herstel na noodgevallen maken | Met deze sjabloon kunt u herstel na noodgevallen voor sitereplicatie van virtuele Azure-machines maken. |
Resource-indeling
Als u een Resource Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings wilt maken, voegt u de volgende Bicep toe aan uw sjabloon.
resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2021-06-01' = {
parent: resourceSymbolicName
name: 'string'
properties: {
policyId: 'string'
providerSpecificInput: {
instanceType: 'string'
// For remaining properties, see ReplicationProviderSpecificContainerMappingInput objects
}
targetProtectionContainerId: 'string'
}
}
ReplicationProviderSpecificContainerMappingInput-objecten
Stel de eigenschap instanceType in om het type object op te geven.
Gebruik voor A2A:
{
agentAutoUpdateStatus: 'string'
automationAccountArmId: 'string'
instanceType: 'A2A'
}
Gebruik voor VMwareCbt:
{
instanceType: 'VMwareCbt'
keyVaultId: 'string'
keyVaultUri: 'string'
serviceBusConnectionStringSecretName: 'string'
storageAccountId: 'string'
storageAccountSasSecretName: 'string'
targetLocation: 'string'
}
Eigenschapswaarden
Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings
| 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/replicationFabrics/replicationProtectionContainers |
| eigenschappen | Beveiligingsinvoereigenschappen configureren. | CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties |
A2AContainerMappingInput
| Naam | Beschrijving | Waarde |
|---|---|---|
| agentAutoUpdateStatus | Een waarde die aangeeft of de automatische update is ingeschakeld. | 'Uitgeschakeld' 'Ingeschakeld' |
| automatiseringAccountArmId | De arm-id van het Automation-account. | touw |
| instantieType | Het klassetype. | A2A (vereist) |
CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties
| Naam | Beschrijving | Waarde |
|---|---|---|
| beleidsId | Toepasselijk beleid. | touw |
| aanbiederSpecificInput | Providerspecifieke invoer voor koppelen. | ReplicationProviderSpecificContainerMappingInput- |
| targetProtectionContainerId | De unieke naam van de doelbeveiligingscontainer. | touw |
ReplicationProviderSpecificContainerMappingInput
| Naam | Beschrijving | Waarde |
|---|---|---|
| instantieType | Ingesteld op A2A voor het type A2AContainerMappingInput. Ingesteld op VMwareCbt voor het type VMwareCbtContainerMappingInput. | 'A2A' 'VMwareCbt' (vereist) |
VMwareCbtContainerMappingInput
| Naam | Beschrijving | Waarde |
|---|---|---|
| instantieType | Het klassetype. | 'VMwareCbt' (vereist) |
| keyVaultId | De ARM-id van de doelsleutelkluis. | tekenreeks (vereist) |
| keyVaultUri | De URL van de doelsleutelkluis. | tekenreeks (vereist) |
| serviceBusConnectionStringSecretName | De geheime naam van de service bus-verbindingsreeks. | tekenreeks (vereist) |
| opslagAccountId | De ARM-id van het opslagaccount. | tekenreeks (vereist) |
| opslagAccountSasSecretName | De geheime naam van het opslagaccount. | tekenreeks (vereist) |
| doellocatie | De doellocatie. | tekenreeks (vereist) |
Resourcedefinitie van ARM-sjabloon
De kluizen/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings resourcetype kunnen worden geïmplementeerd met bewerkingen die zijn gericht op:
- Resourcegroepen - Zie resource group deployment-commando's Voor een lijst van gewijzigde eigenschappen in elke API-versie, zie wijzigingslogboek.
Gebruiksvoorbeelden
Azure-snelstartsjablonen
De volgende Azure-quickstartsjablonen dit resourcetype implementeren.
| Sjabloon | Beschrijving |
|---|---|
|
Azure VM-replicatie en herstel na noodgevallen maken |
Met deze sjabloon kunt u herstel na noodgevallen voor sitereplicatie van virtuele Azure-machines maken. |
Resource-indeling
Als u een Resource Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings wilt maken, voegt u de volgende JSON toe aan uw sjabloon.
{
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings",
"apiVersion": "2021-06-01",
"name": "string",
"properties": {
"policyId": "string",
"providerSpecificInput": {
"instanceType": "string"
// For remaining properties, see ReplicationProviderSpecificContainerMappingInput objects
},
"targetProtectionContainerId": "string"
}
}
ReplicationProviderSpecificContainerMappingInput-objecten
Stel de eigenschap instanceType in om het type object op te geven.
Gebruik voor A2A:
{
"agentAutoUpdateStatus": "string",
"automationAccountArmId": "string",
"instanceType": "A2A"
}
Gebruik voor VMwareCbt:
{
"instanceType": "VMwareCbt",
"keyVaultId": "string",
"keyVaultUri": "string",
"serviceBusConnectionStringSecretName": "string",
"storageAccountId": "string",
"storageAccountSasSecretName": "string",
"targetLocation": "string"
}
Eigenschapswaarden
Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings
| Naam | Beschrijving | Waarde |
|---|---|---|
| apiVersion | De API-versie | '2021-06-01' |
| naam | De resourcenaam | tekenreeks (vereist) |
| eigenschappen | Beveiligingsinvoereigenschappen configureren. | CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties |
| soort | Het brontype | 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings' |
A2AContainerMappingInput
| Naam | Beschrijving | Waarde |
|---|---|---|
| agentAutoUpdateStatus | Een waarde die aangeeft of de automatische update is ingeschakeld. | 'Uitgeschakeld' 'Ingeschakeld' |
| automatiseringAccountArmId | De arm-id van het Automation-account. | touw |
| instantieType | Het klassetype. | A2A (vereist) |
CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties
| Naam | Beschrijving | Waarde |
|---|---|---|
| beleidsId | Toepasselijk beleid. | touw |
| aanbiederSpecificInput | Providerspecifieke invoer voor koppelen. | ReplicationProviderSpecificContainerMappingInput- |
| targetProtectionContainerId | De unieke naam van de doelbeveiligingscontainer. | touw |
ReplicationProviderSpecificContainerMappingInput
| Naam | Beschrijving | Waarde |
|---|---|---|
| instantieType | Ingesteld op A2A voor het type A2AContainerMappingInput. Ingesteld op VMwareCbt voor het type VMwareCbtContainerMappingInput. | 'A2A' 'VMwareCbt' (vereist) |
VMwareCbtContainerMappingInput
| Naam | Beschrijving | Waarde |
|---|---|---|
| instantieType | Het klassetype. | 'VMwareCbt' (vereist) |
| keyVaultId | De ARM-id van de doelsleutelkluis. | tekenreeks (vereist) |
| keyVaultUri | De URL van de doelsleutelkluis. | tekenreeks (vereist) |
| serviceBusConnectionStringSecretName | De geheime naam van de service bus-verbindingsreeks. | tekenreeks (vereist) |
| opslagAccountId | De ARM-id van het opslagaccount. | tekenreeks (vereist) |
| opslagAccountSasSecretName | De geheime naam van het opslagaccount. | tekenreeks (vereist) |
| doellocatie | De doellocatie. | tekenreeks (vereist) |
Resourcedefinitie van Terraform (AzAPI-provider)
De kluizen/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings resourcetype kunnen worden geïmplementeerd met bewerkingen die zijn gericht op:
- Resourcegroepen Voor een lijst van gewijzigde eigenschappen in elke API-versie, zie wijzigingslogboek.
Gebruiksvoorbeelden
Terraform-monsters
Een eenvoudig voorbeeld van het implementeren van Site Recovery-beveiligingscontainertoewijzing op 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
}
}
}
Resource-indeling
Als u een Resource Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings wilt maken, voegt u de volgende Terraform toe aan uw sjabloon.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2021-06-01"
name = "string"
parent_id = "string"
body = {
properties = {
policyId = "string"
providerSpecificInput = {
instanceType = "string"
// For remaining properties, see ReplicationProviderSpecificContainerMappingInput objects
}
targetProtectionContainerId = "string"
}
}
}
ReplicationProviderSpecificContainerMappingInput-objecten
Stel de eigenschap instanceType in om het type object op te geven.
Gebruik voor A2A:
{
agentAutoUpdateStatus = "string"
automationAccountArmId = "string"
instanceType = "A2A"
}
Gebruik voor VMwareCbt:
{
instanceType = "VMwareCbt"
keyVaultId = "string"
keyVaultUri = "string"
serviceBusConnectionStringSecretName = "string"
storageAccountId = "string"
storageAccountSasSecretName = "string"
targetLocation = "string"
}
Eigenschapswaarden
Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings
| 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/replicationFabrics/replicationProtectionContainers |
| eigenschappen | Beveiligingsinvoereigenschappen configureren. | CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties |
| soort | Het brontype | "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2021-06-01" |
A2AContainerMappingInput
| Naam | Beschrijving | Waarde |
|---|---|---|
| agentAutoUpdateStatus | Een waarde die aangeeft of de automatische update is ingeschakeld. | 'Uitgeschakeld' 'Ingeschakeld' |
| automatiseringAccountArmId | De arm-id van het Automation-account. | touw |
| instantieType | Het klassetype. | A2A (vereist) |
CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties
| Naam | Beschrijving | Waarde |
|---|---|---|
| beleidsId | Toepasselijk beleid. | touw |
| aanbiederSpecificInput | Providerspecifieke invoer voor koppelen. | ReplicationProviderSpecificContainerMappingInput- |
| targetProtectionContainerId | De unieke naam van de doelbeveiligingscontainer. | touw |
ReplicationProviderSpecificContainerMappingInput
| Naam | Beschrijving | Waarde |
|---|---|---|
| instantieType | Ingesteld op A2A voor het type A2AContainerMappingInput. Ingesteld op VMwareCbt voor het type VMwareCbtContainerMappingInput. | 'A2A' 'VMwareCbt' (vereist) |
VMwareCbtContainerMappingInput
| Naam | Beschrijving | Waarde |
|---|---|---|
| instantieType | Het klassetype. | 'VMwareCbt' (vereist) |
| keyVaultId | De ARM-id van de doelsleutelkluis. | tekenreeks (vereist) |
| keyVaultUri | De URL van de doelsleutelkluis. | tekenreeks (vereist) |
| serviceBusConnectionStringSecretName | De geheime naam van de service bus-verbindingsreeks. | tekenreeks (vereist) |
| opslagAccountId | De ARM-id van het opslagaccount. | tekenreeks (vereist) |
| opslagAccountSasSecretName | De geheime naam van het opslagaccount. | tekenreeks (vereist) |
| doellocatie | De doellocatie. | tekenreeks (vereist) |