Microsoft.RecoveryServices vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings 2021-04-01

The vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings@2021-04-01' = {
  name: 'string'
  properties: {
    fabricSpecificDetails: {
      instanceType: 'string'
      // For remaining properties, see FabricSpecificCreateNetworkMappingInput objects
    }
    recoveryFabricName: 'string'
    recoveryNetworkId: 'string'
  }
}

FabricSpecificCreateNetworkMappingInput objects

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'

Property values

vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-04-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties Common input details for network mapping operation. CreateNetworkMappingInputProperties (required)

CreateNetworkMappingInputProperties

Name Description Value
fabricSpecificDetails Input details specific to fabrics during Network Mapping. FabricSpecificCreateNetworkMappingInput
recoveryFabricName Recovery fabric Name. string
recoveryNetworkId Recovery network Id. string (required)

FabricSpecificCreateNetworkMappingInput

Name Description Value
instanceType Set the object type AzureToAzure
VmmToAzure
VmmToVmm

AzureToAzureCreateNetworkMappingInput

Name Description Value
instanceType The instance type. 'AzureToAzure'
primaryNetworkId The primary azure vnet Id. string (required)

VmmToAzureCreateNetworkMappingInput

Name Description Value
instanceType The instance type. 'VmmToAzure'

VmmToVmmCreateNetworkMappingInput

Name Description Value
instanceType The instance type. 'VmmToVmm'