Share via


SourceControlSyncJobOperationsExtensions.GetAsync Method

Definition

Retrieve the source control sync job identified by job id. http://aka.ms/azureautomationsdk/sourcecontrolsyncjoboperations

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

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to