AccountOperationsExtensions.ListKeysAsync Method (IAccountOperations, String, String, CancellationToken)

 

Lists the account keys for the specified Batch account.

Namespace:   Microsoft.Azure.Management.Batch
Assembly:  Microsoft.Azure.Management.Batch (in Microsoft.Azure.Management.Batch.dll)

Syntax

public static Task<BatchAccountListKeyResult> ListKeysAsync(
    this IAccountOperations operations,
    string resourceGroupName,
    string accountName,
    CancellationToken cancellationToken = null
)
public:
[ExtensionAttribute]
static Task<BatchAccountListKeyResult^>^ ListKeysAsync(
    IAccountOperations^ operations,
    String^ resourceGroupName,
    String^ accountName,
    CancellationToken cancellationToken = null
)
static member ListKeysAsync : 
        operations:IAccountOperations *
        resourceGroupName:string *
        accountName:string *
        cancellationToken:CancellationToken = null -> Task<BatchAccountListKeyResult>
<ExtensionAttribute>
Public Shared Function ListKeysAsync (
    operations As IAccountOperations,
    resourceGroupName As String,
    accountName As String,
    cancellationToken As CancellationToken
) As Task(Of BatchAccountListKeyResult)

Parameters

  • resourceGroupName
    Type: System.String

    The name of the resource group that contains the Batch account.

Return Value

Type: System.Threading.Tasks.Task<BatchAccountListKeyResult>

See Also

AccountOperationsExtensions Class
Microsoft.Azure.Management.Batch Namespace

Return to top