SourceControlSyncJobOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates the sync job for a source control. 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)
Parameters
- operations
- ISourceControlSyncJobOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of an Azure Resource group.
- automationAccountName
- String
The name of the automation account.
- sourceControlName
- String
The source control name.
- sourceControlSyncJobId
- Guid
The source control sync job id.
- parameters
- SourceControlSyncJobCreateParameters
The parameters supplied to the create source control sync job operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for