KeysOperationsExtensions.ListByAutomationAccountAsync Method

Definition

Retrieve the automation keys for an account.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.KeyListResult> ListByAutomationAccountAsync (this Microsoft.Azure.Management.Automation.IKeysOperations operations, string resourceGroupName, string automationAccountName, System.Threading.CancellationToken cancellationToken = default);
static member ListByAutomationAccountAsync : Microsoft.Azure.Management.Automation.IKeysOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.KeyListResult>
<Extension()>
Public Function ListByAutomationAccountAsync (operations As IKeysOperations, resourceGroupName As String, automationAccountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of KeyListResult)

Parameters

operations
IKeysOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to