共用方式為


SourceControlSyncJobOperationsExtensions.CreateAsync 方法

定義

建立原始檔控制的同步作業。 http://aka.ms/azureautomationsdk/sourcecontrolsyncjoboperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.SourceControlSyncJob> CreateAsync (this Microsoft.Azure.Management.Automation.ISourceControlSyncJobOperations operations, string resourceGroupName, string automationAccountName, string sourceControlName, Guid sourceControlSyncJobId, Microsoft.Azure.Management.Automation.Models.SourceControlSyncJobCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Automation.ISourceControlSyncJobOperations * string * string * string * Guid * Microsoft.Azure.Management.Automation.Models.SourceControlSyncJobCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.SourceControlSyncJob>
<Extension()>
Public Function CreateAsync (operations As ISourceControlSyncJobOperations, resourceGroupName As String, automationAccountName As String, sourceControlName As String, sourceControlSyncJobId As Guid, parameters As SourceControlSyncJobCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SourceControlSyncJob)

參數

operations
ISourceControlSyncJobOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

sourceControlName
String

原始檔控制名稱。

sourceControlSyncJobId
Guid

原始檔控制同步作業識別碼。

parameters
SourceControlSyncJobCreateParameters

提供給建立原始檔控制同步作業作業的參數。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於