다음을 통해 공유


ISourceControlSyncJobOperations.CreateWithHttpMessagesAsync 메서드

정의

소스 제어에 대한 동기화 작업을 만듭니다. http://aka.ms/azureautomationsdk/sourcecontrolsyncjoboperations

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Automation.Models.SourceControlSyncJob>> CreateWithHttpMessagesAsync (string resourceGroupName, string automationAccountName, string sourceControlName, Guid sourceControlSyncJobId, Microsoft.Azure.Management.Automation.Models.SourceControlSyncJobCreateParameters parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateWithHttpMessagesAsync : string * string * string * Guid * Microsoft.Azure.Management.Automation.Models.SourceControlSyncJobCreateParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Automation.Models.SourceControlSyncJob>>
Public Function CreateWithHttpMessagesAsync (resourceGroupName As String, automationAccountName As String, sourceControlName As String, sourceControlSyncJobId As Guid, parameters As SourceControlSyncJobCreateParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of SourceControlSyncJob))

매개 변수

resourceGroupName
String

Azure 리소스 그룹의 이름입니다.

automationAccountName
String

자동화 계정의 이름입니다.

sourceControlName
String

소스 제어 이름입니다.

sourceControlSyncJobId
Guid

소스 제어 동기화 작업 ID입니다.

parameters
SourceControlSyncJobCreateParameters

소스 제어 동기화 작업 만들기 작업에 제공된 매개 변수입니다.

customHeaders
Dictionary<String,List<String>>

요청에 추가할 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

작업이 잘못된 상태 코드를 반환할 때 throw됨

응답을 역직렬화할 수 없는 경우 throw됨

필수 매개 변수가 null일 때 throw됨

적용 대상