Share via


AutomationSourceControlResource.GetSourceControlSyncJobs 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.Pageable<Azure.ResourceManager.Automation.Models.SourceControlSyncJob> GetSourceControlSyncJobs (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSourceControlSyncJobs : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.Models.SourceControlSyncJob>
override this.GetSourceControlSyncJobs : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.Models.SourceControlSyncJob>
Public Overridable Function GetSourceControlSyncJobs (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SourceControlSyncJob)

Parameters

filter
String

The filter to apply on the operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to