v7

latestSwagger 2.0raw.githubusercontent.com2019-12-163581169.9 KB
BatchAccount

Regenerates the specified account key for the Batch account.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/regenerateKeys

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.

Request body

keyName'Primary' | 'Secondary' required

The type of account key to regenerate.

Response

The operation was successful. The response contains the Batch account keys.

accountNamestring

The Batch account name.

primarystring

The primary key associated with the account.

secondarystring

The secondary key associated with the account.