Compartir a través de


SiteRecoveryFabricResource.GetSiteRecoveryNetworkAsync Método

Definición

Obtiene los detalles de una red.

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

Parámetros

networkName
String

Nombre de red principal.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

networkName es una cadena vacía y se esperaba que no estuviera vacía.

networkName es null.

Se aplica a