Compartilhar via


DataReplicationVaultResource.GetDataReplicationWorkflowAsync Método

Definição

Obtém os detalhes do trabalho.

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

Parâmetros

jobName
String

O nome do trabalho (fluxo de trabalho).

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

jobName é nulo.

Aplica-se a