Partilhar via


DataReplicationFabricCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém os detalhes da malha.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}
  • Operação IdFabric_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationFabricResource>> GetAsync (string fabricName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationFabricResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationFabricResource>>
Public Overridable Function GetAsync (fabricName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataReplicationFabricResource))

Parâmetros

fabricName
String

O nome da malha.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

fabricName é nulo.

Aplica-se a