إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
- أحدث
- 2026-08-31-معاينة
- 2026-07-01
- 2026-05-31-معاينة
- 2026-05-01
- 2026-03-31-معاينة
- 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
يمكن نشر الخزائن/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings نوع المورد مع العمليات التي تستهدف:
للحصول على قائمة بالخصائص التي تم تغييرها في كل إصدار من إصدارات واجهة برمجة التطبيقات، راجع سجل التغيير .
أمثلة الاستخدام
عينات Bicep
مثال أساسي لنشر تعيين حاوية حماية Site Recovery على 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
}
}
الوحدات النمطية التي تم التحقق منها من Azure
يمكن استخدام الوحدات النمطية Azure Verified لنشر نوع المورد هذا.
| Module | الوصف |
|---|---|
| Recovery Services Vault - Repl Fabric - Repl Prot Cont - Mapping | وحدة AVM Child لخدمات الاسترداد Vault - Repl Fabric - Repl Prot Cont - Mapping |
نماذج Azure Quickstart
تحتوي قوالب البداية السريعة التالية
| ملف Bicep | الوصف |
|---|---|
| إنشاء Azure تكرار الآلات الافتراضية واستعادة الكوارث | يتيح لك هذا القالب إنشاء استعادة الكوارث لتكرار مواقع الآلة الافتراضية في Azure. |
تنسيق المورد
لإنشاء مورد Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings، أضف Bicep التالي إلى القالب الخاص بك.
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
قم بتعيين الخاصية instanceType لتحديد نوع الكائن.
بالنسبة إلى A2A، استخدم:
{
agentAutoUpdateStatus: 'string'
automationAccountArmId: 'string'
automationAccountAuthenticationType: 'string'
instanceType: 'A2A'
}
بالنسبة VMwareCbt، استخدم:
{
instanceType: 'VMwareCbt'
keyVaultId: 'string'
keyVaultUri: 'string'
serviceBusConnectionStringSecretName: 'string'
storageAccountId: 'string'
storageAccountSasSecretName: 'string'
targetLocation: 'string'
}
قيم الخصائص
Microsoft. RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings
| الاسم | الوصف | قيمة |
|---|---|---|
| الاسم | اسم المورد | سلسلة (مطلوبة) |
| parent | في Bicep، يمكنك تحديد المورد الأصل لمورد تابع. تحتاج فقط إلى إضافة هذه الخاصية عند الإعلان عن المورد التابع خارج المورد الأصل. لمزيد من المعلومات، راجع المورد التابع خارج المورد الأصل. |
اسم رمزي للمورد من النوع: vaults/replicationFabrics/replicationProtectionContainers |
| الخصائص | تكوين خصائص إدخال الحماية. | CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties |
A2AContainerMappingInput
| الاسم | الوصف | قيمة |
|---|---|---|
| agentAutoUpdateStatus | قيمة تشير إلى ما إذا كان التحديث التلقائي ممكنا أم لا. | 'Disabled' 'Enabled' |
| automationAccountArmId | معرف ذراع حساب الأتمتة. | string |
| automationAccountAuthenticationType | قيمة تشير إلى مصادقة النوع المراد استخدامها لحساب التنفيذ التلقائي. | 'RunAsAccount' 'SystemAssignedIdentity' |
| instanceType | نوع الفئة. | "A2A" (مطلوب) |
CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties
| الاسم | الوصف | قيمة |
|---|---|---|
| policyId | النهج المعمول به. | string |
| providerSpecificInput | إدخال محدد للموفر للاقتران. | ReplicationProviderSpecificContainerMappingInput |
| targetProtectionContainerId | اسم حاوية الحماية الفريدة المستهدفة. | string |
ReplicationProviderSpecificContainerMappingInput
| الاسم | الوصف | قيمة |
|---|---|---|
| instanceType | قم بتعيين إلى "A2A" للنوع A2AContainerMappingInput. تعيين إلى "VMwareCbt" لنوع VMwareCbtContainerMappingInput. | "A2A" 'VMwareCbt' (مطلوب) |
VMwareCbtContainerMappingInput
| الاسم | الوصف | قيمة |
|---|---|---|
| instanceType | نوع الفئة. | 'VMwareCbt' (مطلوب) |
| keyVaultId | معرف ARM لمخزن المفاتيح الهدف. | string |
| keyVaultUri | عنوان URL لمخزن المفاتيح الهدف. | string |
| serviceBusConnectionStringSecretName | الاسم السري لسلسلة اتصال ناقل الخدمة. | string |
| storageAccountId | معرف ARM لحساب التخزين. | سلسلة (مطلوبة) |
| storageAccountSasSecretName | الاسم السري لحساب التخزين. | string |
| الهدف الموقع | الموقع الهدف. | سلسلة (مطلوبة) |
تعريف مورد قالب ARM
يمكن نشر الخزائن/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings نوع المورد مع العمليات التي تستهدف:
- مجموعات الموارد - راجع أوامر نشر مجموعة الموارد لقائمة الخصائص المتغيرة في كل إصدار من واجهة برمجة التطبيقات، راجع سجل التغيير.
أمثلة الاستخدام
قوالب Azure Quickstart
القوالب التالية Azure البدء السريع تنشر هذا النوع من الموارد.
| القالب | الوصف |
|---|---|
|
إنشاء Azure تكرار الآلات الافتراضية واستعادة الكوارث |
يتيح لك هذا القالب إنشاء استعادة الكوارث لتكرار مواقع الآلة الافتراضية في Azure. |
تنسيق المورد
لإنشاء مورد Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings، أضف JSON التالي إلى القالب الخاص بك.
{
"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
قم بتعيين الخاصية instanceType لتحديد نوع الكائن.
بالنسبة إلى A2A، استخدم:
{
"agentAutoUpdateStatus": "string",
"automationAccountArmId": "string",
"automationAccountAuthenticationType": "string",
"instanceType": "A2A"
}
بالنسبة VMwareCbt، استخدم:
{
"instanceType": "VMwareCbt",
"keyVaultId": "string",
"keyVaultUri": "string",
"serviceBusConnectionStringSecretName": "string",
"storageAccountId": "string",
"storageAccountSasSecretName": "string",
"targetLocation": "string"
}
قيم الخصائص
Microsoft. RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings
| الاسم | الوصف | قيمة |
|---|---|---|
| apiVersion | إصدار واجهة برمجة التطبيقات | '2026-01-01' |
| الاسم | اسم المورد | سلسلة (مطلوبة) |
| الخصائص | تكوين خصائص إدخال الحماية. | CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties |
| النوع | نوع المورد | 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings' |
A2AContainerMappingInput
| الاسم | الوصف | قيمة |
|---|---|---|
| agentAutoUpdateStatus | قيمة تشير إلى ما إذا كان التحديث التلقائي ممكنا أم لا. | 'Disabled' 'Enabled' |
| automationAccountArmId | معرف ذراع حساب الأتمتة. | string |
| automationAccountAuthenticationType | قيمة تشير إلى مصادقة النوع المراد استخدامها لحساب التنفيذ التلقائي. | 'RunAsAccount' 'SystemAssignedIdentity' |
| instanceType | نوع الفئة. | "A2A" (مطلوب) |
CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties
| الاسم | الوصف | قيمة |
|---|---|---|
| policyId | النهج المعمول به. | string |
| providerSpecificInput | إدخال محدد للموفر للاقتران. | ReplicationProviderSpecificContainerMappingInput |
| targetProtectionContainerId | اسم حاوية الحماية الفريدة المستهدفة. | string |
ReplicationProviderSpecificContainerMappingInput
| الاسم | الوصف | قيمة |
|---|---|---|
| instanceType | قم بتعيين إلى "A2A" للنوع A2AContainerMappingInput. تعيين إلى "VMwareCbt" لنوع VMwareCbtContainerMappingInput. | "A2A" 'VMwareCbt' (مطلوب) |
VMwareCbtContainerMappingInput
| الاسم | الوصف | قيمة |
|---|---|---|
| instanceType | نوع الفئة. | 'VMwareCbt' (مطلوب) |
| keyVaultId | معرف ARM لمخزن المفاتيح الهدف. | string |
| keyVaultUri | عنوان URL لمخزن المفاتيح الهدف. | string |
| serviceBusConnectionStringSecretName | الاسم السري لسلسلة اتصال ناقل الخدمة. | string |
| storageAccountId | معرف ARM لحساب التخزين. | سلسلة (مطلوبة) |
| storageAccountSasSecretName | الاسم السري لحساب التخزين. | string |
| الهدف الموقع | الموقع الهدف. | سلسلة (مطلوبة) |
تعريف مورد Terraform (موفر AzAPI)
يمكن نشر الخزائن/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings نوع المورد مع العمليات التي تستهدف:
- مجموعات الموارد للحصول على قائمة بالخصائص المتغيرة في كل إصدار من واجهة برمجة التطبيقات، انظر سجل التغيير.
أمثلة الاستخدام
عينات Terraform
مثال أساسي لنشر تعيين حاوية حماية Site Recovery على 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
}
}
}
تنسيق المورد
لإنشاء مورد Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings، أضف Terraform التالي إلى القالب الخاص بك.
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
قم بتعيين الخاصية instanceType لتحديد نوع الكائن.
بالنسبة إلى A2A، استخدم:
{
agentAutoUpdateStatus = "string"
automationAccountArmId = "string"
automationAccountAuthenticationType = "string"
instanceType = "A2A"
}
بالنسبة VMwareCbt، استخدم:
{
instanceType = "VMwareCbt"
keyVaultId = "string"
keyVaultUri = "string"
serviceBusConnectionStringSecretName = "string"
storageAccountId = "string"
storageAccountSasSecretName = "string"
targetLocation = "string"
}
قيم الخصائص
Microsoft. RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings
| الاسم | الوصف | قيمة |
|---|---|---|
| الاسم | اسم المورد | سلسلة (مطلوبة) |
| parent_id | معرف المورد الأصل لهذا المورد. | معرف المورد من النوع: vaults/replicationFabrics/replicationProtectionContainers |
| الخصائص | تكوين خصائص إدخال الحماية. | CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties |
| النوع | نوع المورد | "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2026-01-01" |
A2AContainerMappingInput
| الاسم | الوصف | قيمة |
|---|---|---|
| agentAutoUpdateStatus | قيمة تشير إلى ما إذا كان التحديث التلقائي ممكنا أم لا. | 'Disabled' 'Enabled' |
| automationAccountArmId | معرف ذراع حساب الأتمتة. | string |
| automationAccountAuthenticationType | قيمة تشير إلى مصادقة النوع المراد استخدامها لحساب التنفيذ التلقائي. | 'RunAsAccount' 'SystemAssignedIdentity' |
| instanceType | نوع الفئة. | "A2A" (مطلوب) |
CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties
| الاسم | الوصف | قيمة |
|---|---|---|
| policyId | النهج المعمول به. | string |
| providerSpecificInput | إدخال محدد للموفر للاقتران. | ReplicationProviderSpecificContainerMappingInput |
| targetProtectionContainerId | اسم حاوية الحماية الفريدة المستهدفة. | string |
ReplicationProviderSpecificContainerMappingInput
| الاسم | الوصف | قيمة |
|---|---|---|
| instanceType | قم بتعيين إلى "A2A" للنوع A2AContainerMappingInput. تعيين إلى "VMwareCbt" لنوع VMwareCbtContainerMappingInput. | "A2A" 'VMwareCbt' (مطلوب) |
VMwareCbtContainerMappingInput
| الاسم | الوصف | قيمة |
|---|---|---|
| instanceType | نوع الفئة. | 'VMwareCbt' (مطلوب) |
| keyVaultId | معرف ARM لمخزن المفاتيح الهدف. | string |
| keyVaultUri | عنوان URL لمخزن المفاتيح الهدف. | string |
| serviceBusConnectionStringSecretName | الاسم السري لسلسلة اتصال ناقل الخدمة. | string |
| storageAccountId | معرف ARM لحساب التخزين. | سلسلة (مطلوبة) |
| storageAccountSasSecretName | الاسم السري لحساب التخزين. | string |
| الهدف الموقع | الموقع الهدف. | سلسلة (مطلوبة) |