ModuleOperationsExtensions.ListByAutomationAccountAsync(IModuleOperations, String, String, CancellationToken) Method

Definition

Retrieve a list of modules.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.Module>> ListByAutomationAccountAsync (this Microsoft.Azure.Management.Automation.IModuleOperations operations, string resourceGroupName, string automationAccountName, System.Threading.CancellationToken cancellationToken = null);
static member ListByAutomationAccountAsync : Microsoft.Azure.Management.Automation.IModuleOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Automation.Models.Module>>

Parameters

operations
IModuleOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to