Share via


AutomationAccountModuleCollection.GetAll(CancellationToken) Method

Definition

Retrieve a list of modules.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/modules
  • Operation Id: Module_ListByAutomationAccount
public virtual Azure.Pageable<Azure.ResourceManager.Automation.AutomationAccountModuleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.AutomationAccountModuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.AutomationAccountModuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AutomationAccountModuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to