IAccountOperations.ListKeysAsync Method (String, String, CancellationToken)
The ListKeys operation gets the account keys for the given Batch account.
Namespace: Microsoft.Azure.Management.Batch
Assembly: Microsoft.Azure.Management.Batch (in Microsoft.Azure.Management.Batch.dll)
Syntax
Task<BatchAccountListKeyResponse> ListKeysAsync(
string resourceGroupName,
string accountName,
CancellationToken cancellationToken
)
Task<BatchAccountListKeyResponse^>^ ListKeysAsync(
String^ resourceGroupName,
String^ accountName,
CancellationToken cancellationToken
)
abstract ListKeysAsync :
resourceGroupName:string *
accountName:string *
cancellationToken:CancellationToken -> Task<BatchAccountListKeyResponse>
Function ListKeysAsync (
resourceGroupName As String,
accountName As String,
cancellationToken As CancellationToken
) As Task(Of BatchAccountListKeyResponse)
Parameters
resourceGroupName
Type: System.StringThe name of the resource group that contains the Batch account.
accountName
Type: System.StringThe name of the account.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<BatchAccountListKeyResponse>
Values returned by the GetKeys operation.
See Also
IAccountOperations Interface
Microsoft.Azure.Management.Batch Namespace
Return to top