Partilhar via


AutomationSourceControlResource.GetSourceControlSyncJobAsync Método

Definição

Recupere o trabalho de sincronização do controle do código-fonte identificado pela ID do trabalho.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}/sourceControlSyncJobs/{sourceControlSyncJobId}
  • IdSourceControlSyncJob_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.SourceControlSyncJobResult>> GetSourceControlSyncJobAsync (Guid sourceControlSyncJobId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSourceControlSyncJobAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.SourceControlSyncJobResult>>
override this.GetSourceControlSyncJobAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.SourceControlSyncJobResult>>
Public Overridable Function GetSourceControlSyncJobAsync (sourceControlSyncJobId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SourceControlSyncJobResult))

Parâmetros

sourceControlSyncJobId
Guid

A ID do trabalho de sincronização do controle do código-fonte.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a