BatchAccount
Gets the account keys for the specified Batch account.
This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.
post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/listKeys
Path parameters
resourceGroupNamestring required
The name of the resource group that contains the Batch account.
accountNamestring required
The name of the Batch account.
subscriptionIdstring required
The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
Query parameters
api-versionstring required
The API version to be used with the HTTP request.
Response
The operation was successful. The response contains the keys of the Batch account.