Replication Network Mappings - Get
Gets network mapping by name.
Gets the details of an ASR network mapping.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}?api-version=2025-01-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
fabric
|
path | True |
string |
Primary fabric name. |
network
|
path | True |
string |
Network mapping name. |
network
|
path | True |
string |
Primary network name. |
resource
|
path | True |
string |
The name of the resource group where the recovery services vault is present. |
resource
|
path | True |
string |
The name of the recovery services vault. |
subscription
|
path | True |
string |
The subscription Id. |
api-version
|
query | True |
string |
Client Api Version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account. |
Examples
Gets network mapping by name.
Sample request
GET https://management.azure.com/subscriptions/9112a37f-0f3e-46ec-9c00-060c6edca071/resourceGroups/srcBvte2a14C27/providers/Microsoft.RecoveryServices/vaults/srce2avaultbvtaC27/replicationFabrics/b0cef6e9a4437b81803d0b55ada4f700ab66caae59c35d62723a1589c0cd13ac/replicationNetworks/e2267b5c-2650-49bd-ab3f-d66aae694c06/replicationNetworkMappings/corpe2amap?api-version=2025-01-01
Sample response
Azure-AsyncOperation: https://management.azure.com/Subscriptions/9112a37f-0f3e-46ec-9c00-060c6edca071/resourceGroups/srcBvte2a14C27/providers/Microsoft.RecoveryServices/vaults/srce2avaultbvtaC27/replicationOperationStatus/a93f3cd5-9035-4b1e-a2c9-b16df6d5d34b?api-version=2025-01-01
{
"type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings",
"id": "/Subscriptions/9112a37f-0f3e-46ec-9c00-060c6edca071/resourceGroups/srcBvte2a14C27/providers/Microsoft.RecoveryServices/vaults/srce2avaultbvtaC27/replicationFabrics/b0cef6e9a4437b81803d0b55ada4f700ab66caae59c35d62723a1589c0cd13ac/replicationNetworks/e2267b5c-2650-49bd-ab3f-d66aae694c06/replicationNetworkMappings/corpe2amap",
"name": "corpe2amap",
"properties": {
"state": "Paired",
"primaryNetworkFriendlyName": "corp",
"primaryNetworkId": "/Subscriptions/9112a37f-0f3e-46ec-9c00-060c6edca071/resourceGroups/srcBvte2a14C27/providers/Microsoft.RecoveryServices/vaults/srce2avaultbvtaC27/replicationFabrics/d49858f157601230a6ac5862fbbc6e63bf38d23ecd96cf953767945d457fe9d5/replicationNetworks/e2267b5c-2650-49bd-ab3f-d66aae694c06",
"primaryFabricFriendlyName": "CP-B3L30108-01.ntdev.corp.microsoft.com",
"recoveryNetworkFriendlyName": "vnetavrai",
"recoveryNetworkId": "/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/siterecoveryProd1/providers/Microsoft.Network/virtualNetworks/vnetavrai",
"recoveryFabricArmId": "/Subscriptions/9112a37f-0f3e-46ec-9c00-060c6edca071/resourceGroups/srcBvte2a14C27/providers/Microsoft.RecoveryServices/vaults/srce2avaultbvtaC27/replicationFabrics/d49858f157601230a6ac5862fbbc6e63bf38d23ecd96cf953767945d457fe9d5",
"recoveryFabricFriendlyName": "Microsoft Azure",
"fabricSpecificSettings": {
"instanceType": "VmmToAzure"
}
}
}
Definitions
Name | Description |
---|---|
Azure |
A2A Network Mapping fabric specific settings. |
Network |
Network Mapping model. Ideally it should have been possible to inherit this class from prev version in InheritedModels as long as there is no difference in structure or method signature. Since there were no base Models for certain fields and methods viz NetworkMappingProperties and Load with required return type, the class has been introduced in its entirety with references to base models to facilitate extensions in subsequent versions. |
Network |
Network Mapping Properties. |
Vmm |
E2A Network Mapping fabric specific settings. |
Vmm |
E2E Network Mapping fabric specific settings. |
AzureToAzureNetworkMappingSettings
A2A Network Mapping fabric specific settings.
Name | Type | Description |
---|---|---|
instanceType |
string:
Azure |
Gets the Instance type. |
primaryFabricLocation |
string |
The primary fabric location. |
recoveryFabricLocation |
string |
The recovery fabric location. |
NetworkMapping
Network Mapping model. Ideally it should have been possible to inherit this class from prev version in InheritedModels as long as there is no difference in structure or method signature. Since there were no base Models for certain fields and methods viz NetworkMappingProperties and Load with required return type, the class has been introduced in its entirety with references to base models to facilitate extensions in subsequent versions.
Name | Type | Description |
---|---|---|
id |
string |
Resource Id |
location |
string |
Resource Location |
name |
string |
Resource Name |
properties |
The Network Mapping Properties. |
|
type |
string |
Resource Type |
NetworkMappingProperties
Network Mapping Properties.
Name | Type | Description |
---|---|---|
fabricSpecificSettings | NetworkMappingFabricSpecificSettings: |
The fabric specific settings. |
primaryFabricFriendlyName |
string |
The primary fabric friendly name. |
primaryNetworkFriendlyName |
string |
The primary network friendly name. |
primaryNetworkId |
string |
The primary network id for network mapping. |
recoveryFabricArmId |
string |
The recovery fabric ARM id. |
recoveryFabricFriendlyName |
string |
The recovery fabric friendly name. |
recoveryNetworkFriendlyName |
string |
The recovery network friendly name. |
recoveryNetworkId |
string |
The recovery network id for network mapping. |
state |
string |
The pairing state for network mapping. |
VmmToAzureNetworkMappingSettings
E2A Network Mapping fabric specific settings.
Name | Type | Description |
---|---|---|
instanceType |
string:
Vmm |
Gets the Instance type. |
VmmToVmmNetworkMappingSettings
E2E Network Mapping fabric specific settings.
Name | Type | Description |
---|---|---|
instanceType |
string:
Vmm |
Gets the Instance type. |