AutomationSourceControlResource.GetSourceControlSyncJobsAsync Method

Definition

Retrieve a list of source control sync jobs.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}/sourceControlSyncJobs
  • Operation Id: SourceControlSyncJob_ListByAutomationAccount
public virtual Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.SourceControlSyncJob> GetSourceControlSyncJobsAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSourceControlSyncJobsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.SourceControlSyncJob>
override this.GetSourceControlSyncJobsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.SourceControlSyncJob>
Public Overridable Function GetSourceControlSyncJobsAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SourceControlSyncJob)

Parameters

filter
String

The filter to apply on the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SourceControlSyncJob that may take multiple service requests to iterate over.

Applies to