Compartir a través de


SiteRecoveryNetworkResource.GetSiteRecoveryNetworkMappingAsync Método

Definición

Obtiene los detalles de una asignación de red de ASR.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}
  • IdReplicationNetworkMappings_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryNetworkMappingResource>> GetSiteRecoveryNetworkMappingAsync (string networkMappingName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSiteRecoveryNetworkMappingAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryNetworkMappingResource>>
override this.GetSiteRecoveryNetworkMappingAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryNetworkMappingResource>>
Public Overridable Function GetSiteRecoveryNetworkMappingAsync (networkMappingName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteRecoveryNetworkMappingResource))

Parámetros

networkMappingName
String

Nombre de asignación de red.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

networkMappingName es una cadena vacía y se espera que no esté vacía.

networkMappingName es null.

Se aplica a