Compartilhar via


StorageSyncWorkflowCollection.GetAsync(String, CancellationToken) Método

Definição

Obter recurso fluxos de trabalho

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

Parâmetros

workflowId
String

ID do fluxo de trabalho.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

workflowId é nulo.

Aplica-se a