Share via


SourceControlOperationsExtensions.ListByAutomationAccountAsync Method

Definition

Retrieve a list of source controls. http://aka.ms/azureautomationsdk/sourcecontroloperations

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.SourceControl>> ListByAutomationAccountAsync (this Microsoft.Azure.Management.Automation.ISourceControlOperations operations, string resourceGroupName, string automationAccountName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByAutomationAccountAsync : Microsoft.Azure.Management.Automation.ISourceControlOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.SourceControl>>
<Extension()>
Public Function ListByAutomationAccountAsync (operations As ISourceControlOperations, resourceGroupName As String, automationAccountName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SourceControl))

Parameters

operations
ISourceControlOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

filter
String

The filter to apply on the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to