Share via


AutomationConnectionCollection.GetAllAsync(CancellationToken) Method

Definition

Retrieve a list of connections.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AutomationConnectionResource that may take multiple service requests to iterate over.

Applies to