The following tables describe the values you need to set in the schema.
Microsoft.Batch/batchAccounts object
Name
Type
Required
Value
name
string
Yes
A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: https://accountname.region.batch.azure.com/. Min length: 3 Max length: 24
type
enum
Yes
Microsoft.Batch/batchAccounts
apiVersion
enum
Yes
2020-03-01
location
string
Yes
The region in which to create the account.
tags
object
No
The user-specified tags associated with the account.
The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService. - BatchService or UserSubscription
keyVaultReference
object
No
A reference to the Azure key vault associated with the Batch account. - KeyVaultReference object
publicNetworkAccess
enum
No
If not specified, the default value is 'enabled'. - Enabled or Disabled