AutomationSourceControlResource.CreateSourceControlSyncJob Método

Definição

Cria o trabalho de sincronização para um controle do código-fonte.

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

Parâmetros

sourceControlSyncJobId
Guid

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

content
SourceControlSyncJobCreateContent

Os parâmetros fornecidos para a operação criar trabalho de sincronização de controle do código-fonte.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a