Share via


IModuleOperations.ListAsync Method (String, CancellationToken)

 

Retrieve a list of modules. (see https://aka.ms/azureautomationsdk/moduleoperations for more information)

Namespace:   Microsoft.WindowsAzure.Management.Automation
Assembly:  Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Syntax

Task<ModuleListResponse> ListAsync(
    string automationAccount,
    CancellationToken cancellationToken
)
Task<ModuleListResponse^>^ ListAsync(
    String^ automationAccount,
    CancellationToken cancellationToken
)
abstract ListAsync : 
        automationAccount:string *
        cancellationToken:CancellationToken -> Task<ModuleListResponse>
Function ListAsync (
    automationAccount As String,
    cancellationToken As CancellationToken
) As Task(Of ModuleListResponse)

Parameters

  • automationAccount
    Type: System.String

    The automation account name.

Return Value

Type: System.Threading.Tasks.Task<ModuleListResponse>

The response model for the list module operation.

See Also

IModuleOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top