Partager via


StorageSyncServiceResource.GetStorageSyncWorkflowAsync Méthode

Définition

Obtenir la ressource Flux de travail

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}
  • IdWorkflows_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncWorkflowResource>> GetStorageSyncWorkflowAsync (string workflowId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageSyncWorkflowAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncWorkflowResource>>
override this.GetStorageSyncWorkflowAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncWorkflowResource>>
Public Overridable Function GetStorageSyncWorkflowAsync (workflowId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageSyncWorkflowResource))

Paramètres

workflowId
String

ID de workflow.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

workflowId est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

workflowId a la valeur null.

S’applique à