AutomationCredentialCollection.GetAllAsync(CancellationToken) Method

Definition

Retrieve a list of credentials.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to