Batch accounts - az batch account

Manage your Batch accounts.

Commands

az batch account autostorage-keys Manage the access keys for the auto storage account configured for your Batch account.
az batch account autostorage-keys sync Synchronizes access keys for the auto-storage account configured for the specified Batch account.
az batch account create Create a Batch account with the specified parameters.
az batch account delete Deletes the specified Batch account.
az batch account keys Manage your Batch account keys.
az batch account keys list Gets the account keys for the specified Batch account.
az batch account keys renew Regenerates the specified account key for the Batch account.
az batch account list List the Batch accounts associated with a subscription or resource group.
az batch account login Log in with specified Batch account through Azure Active Directory or Shared Key authentication.
az batch account set Update the properties of the specified Batch account. Properties that are not specified remain unchanged.
az batch account show Gets information about the specified Batch account.

az batch account create

Create a Batch account with the specified parameters.

az batch account create --location
--name
--resource-group
[--keyvault]
[--storage-account]
[--tags]

Required Parameters

--location -l

The region in which to create the account.

--name -n

Name of the Batch account.

--resource-group -g

Name of the resource group.

Optional Parameters

--keyvault

The KeyVault name or resource ID to be used for an account with a pool allocation mode of 'User Subscription'.

--storage-account

The storage account name or resource ID to be used for auto storage.

--tags

Space separated tags in 'key[=value]' format.

az batch account delete

Deletes the specified Batch account.

az batch account delete --name
--resource-group
[--yes]

Required Parameters

--name -n

Name of the Batch account.

--resource-group -g

Name of the resource group.

Optional Parameters

--yes -y

Do not prompt for confirmation.

az batch account list

List the Batch accounts associated with a subscription or resource group.

az batch account list [--resource-group]

Optional Parameters

--resource-group -g

Name of the resource group.

az batch account login

Log in with specified Batch account through Azure Active Directory or Shared Key authentication.

az batch account login --name
--resource-group
[--shared-key-auth]

Required Parameters

--name -n

Name of the Batch account.

--resource-group -g

Name of the resource group.

Optional Parameters

--shared-key-auth

Using Shared Key authentication, if not specified, it will use Azure Active Directory authentication.

az batch account set

Update the properties of the specified Batch account. Properties that are not specified remain unchanged.

az batch account set --name
--resource-group
[--storage-account]
[--tags]

Required Parameters

--name -n

Name of the Batch account.

--resource-group -g

Name of the resource group.

Optional Parameters

--storage-account

The storage account name or resource ID to be used for auto storage.

--tags

Space separated tags in 'key[=value]' format. Use "" to clear existing tags.

az batch account show

Gets information about the specified Batch account.

az batch account show --name
--resource-group

Required Parameters

--name -n

Name of the Batch account.

--resource-group -g

Name of the resource group.