Compartilhar via


SiteRecoveryNetworkResource.GetSiteRecoveryNetworkMappingAsync Método

Definição

Obtém os detalhes de um mapeamento de rede ASR.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationNetworks/{networkName}/replicationNetworkMappings/{networkMappingName}
  • Operação IdReplicationNetworkMappings_Get
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

Nome do mapeamento de rede.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

networkMappingName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

networkMappingName é nulo.

Aplica-se a