Compartilhar via


StorageSyncServiceCollection.GetAsync(String, CancellationToken) Método

Definição

Obtenha um determinado StorageSyncService.

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

Parâmetros

storageSyncServiceName
String

Nome do recurso serviço de sincronização de armazenamento.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

storageSyncServiceName é nulo.

Aplica-se a