SiteRecoveryNetworkResource.GetSiteRecoveryNetworkMapping Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the details of an ASR network mapping.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}
- Operation Id: ReplicationNetworkMappings_Get
- Default Api Version: 2023-08-01
- Resource: SiteRecoveryNetworkMappingResource
public virtual Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryNetworkMappingResource> GetSiteRecoveryNetworkMapping (string networkMappingName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSiteRecoveryNetworkMapping : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryNetworkMappingResource>
override this.GetSiteRecoveryNetworkMapping : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryNetworkMappingResource>
Public Overridable Function GetSiteRecoveryNetworkMapping (networkMappingName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SiteRecoveryNetworkMappingResource)
Parameters
- networkMappingName
- String
Network mapping name.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
networkMappingName
is null.
networkMappingName
is an empty string, and was expected to be non-empty.