Share via


ActivityOperationsExtensions.ListByModuleAsync Method

Definition

Retrieve a list of activities in the module identified by module name. http://aka.ms/azureautomationsdk/activityoperations

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

Parameters

operations
IActivityOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

moduleName
String

The name of module.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to