| Description | : Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API. |
| Reference | : Link ¶ |
⚼ Request
PUT:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}
{
resourceGroupName:
string
,
accountName:
string
,
parameters:
{
,
location:
string
,
tags:
object
,
properties:
{
,
autoStorage:
{
,
storageAccountId:
string
,
authenticationMode:
enum
,
nodeIdentityReference:
}
{
,
resourceId:
string
,
}
poolAllocationMode:
enum
,
keyVaultReference:
{
,
id:
string
,
url:
string
,
}
publicNetworkAccess:
enum
,
networkProfile:
{
,
accountAccess:
{
,
defaultAction:
enum
,
ipRules:
}
[
]
,
{
,
action:
enum
,
value:
string
,
}
nodeManagementAccess:
}
{
,
defaultAction:
enum
,
ipRules:
}
[
]
,
{
,
action:
enum
,
value:
string
,
}
encryption:
{
,
keySource:
enum
,
keyVaultProperties:
}
{
,
keyIdentifier:
string
,
}
allowedAuthenticationModes:
}
[
,
string
,
]
identity:
}
{
,
principalId:
string
,
tenantId:
string
,
type:
enum
,
userAssignedIdentities:
object
,
}
api-version:
string
,
subscriptionId:
string
,
}
⚐ Response (200)
{
properties:
{
,
accountEndpoint:
string
,
nodeManagementEndpoint:
string
,
provisioningState:
enum
,
poolAllocationMode:
enum
,
keyVaultReference:
{
,
id:
string
,
url:
string
,
}
publicNetworkAccess:
enum
,
networkProfile:
{
,
accountAccess:
{
,
defaultAction:
enum
,
ipRules:
}
[
]
,
{
,
action:
enum
,
value:
string
,
}
nodeManagementAccess:
}
{
,
defaultAction:
enum
,
ipRules:
}
[
]
,
{
,
action:
enum
,
value:
string
,
}
privateEndpointConnections:
[
]
,
{
,
properties:
}
{
,
provisioningState:
enum
,
privateEndpoint:
{
,
id:
string
,
}
groupIds:
[
,
string
,
]
privateLinkServiceConnectionState:
}
{
,
status:
enum
,
description:
string
,
actionsRequired:
string
,
}
autoStorage:
{
,
lastKeySync:
string
,
}
encryption:
{
,
keySource:
enum
,
keyVaultProperties:
}
{
,
keyIdentifier:
string
,
}
dedicatedCoreQuota:
integer
,
lowPriorityCoreQuota:
integer
,
dedicatedCoreQuotaPerVMFamily:
[
]
,
{
,
name:
string
,
coreQuota:
integer
,
}
dedicatedCoreQuotaPerVMFamilyEnforced:
boolean
,
poolQuota:
integer
,
activeJobAndJobScheduleQuota:
integer
,
allowedAuthenticationModes:
}
[
,
string
,
]
identity:
}
{
,
principalId:
string
,
tenantId:
string
,
type:
enum
,
userAssignedIdentities:
object
,
}
⚐ Response (202)
{
location:
string
,
retry-after:
integer
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
}
[
,
string
,
]