Share via


AutomationVariableCollection.GetAllAsync(CancellationToken) Method

Definition

Retrieve a list of variables.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to