The vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings resource type can be deployed to:
For a list of changed properties in each API version, see change log.
To create a Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings resource, add the following JSON to your template.
{
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings",
"apiVersion": "2022-10-01",
"name": "string",
"properties": {
"fabricSpecificDetails": {
"instanceType": "string"
// For remaining properties, see FabricSpecificCreateNetworkMappingInput objects
},
"recoveryFabricName": "string",
"recoveryNetworkId": "string"
}
}
Set the instanceType property to specify the type of object.
For AzureToAzure, use:
"instanceType": "AzureToAzure",
"primaryNetworkId": "string"
For VmmToAzure, use:
"instanceType": "VmmToAzure"
For VmmToVmm, use:
"instanceType": "VmmToVmm"
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings' |
apiVersion | The resource api version | '2022-10-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | Input properties for creating network mapping. | CreateNetworkMappingInputPropertiesOrNetworkMappingP... (required) |
Name | Description | Value |
---|---|---|
fabricSpecificDetails | Fabric specific input properties. | FabricSpecificCreateNetworkMappingInput |
recoveryFabricName | Recovery fabric Name. | string |
recoveryNetworkId | Recovery network Id. | string (required) |
Name | Description | Value |
---|---|---|
instanceType | Set the object type | AzureToAzure VmmToAzure VmmToVmm (required) |
Name | Description | Value |
---|---|---|
instanceType | The instance type. | 'AzureToAzure' (required) |
primaryNetworkId | The primary azure vnet Id. | string (required) |
Name | Description | Value |
---|---|---|
instanceType | The instance type. | 'VmmToAzure' (required) |
Name | Description | Value |
---|---|---|
instanceType | The instance type. | 'VmmToVmm' (required) |