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
operations
Type: Microsoft.Azure.Management.Batch.IAccountOperationsThe operations group for this extension method.
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.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<BatchAccountListKeyResult>
See Also
AccountOperationsExtensions Class
Microsoft.Azure.Management.Batch Namespace
Return to top