Microsoft.Batch (stable:2025-06-01)

2026/01/06 • 42 new methods

BatchAccount_Create (new)
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 ,
]
,
}
,
}
BatchAccount_Update (new)
Description Updates the properties of an existing Batch account.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}
{
resourceGroupName: string ,
accountName: string ,
parameters:
{
tags: object ,
properties:
{
autoStorage:
{
storageAccountId: string ,
authenticationMode: enum ,
nodeIdentityReference:
{
resourceId: string ,
}
,
}
,
encryption:
{
keySource: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
}
,
}
,
allowedAuthenticationModes:
[
string ,
]
,
publicNetworkAccess: enum ,
networkProfile:
{
accountAccess:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
nodeManagementAccess:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: 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 (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BatchAccount_Delete (new)
Description Deletes the specified Batch account.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BatchAccount_Get (new)
Description Gets information about the specified Batch account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}
{
resourceGroupName: string ,
accountName: string ,
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 (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BatchAccount_List (new)
Description Gets information about the Batch accounts associated with the subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BatchAccount_ListByResourceGroup (new)
Description Gets information about the Batch accounts associated with the specified resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BatchAccount_SynchronizeAutoStorageKeys (new)
Description Synchronizes access keys for the auto-storage account configured for the specified Batch account, only if storage key authentication is being used.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/syncAutoStorageKeys
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BatchAccount_RegenerateKey (new)
Description This operation applies only to Batch accounts with allowedAuthenticationModes containing 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode, clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes instead. In this case, regenerating the keys will fail.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/regenerateKeys
{
resourceGroupName: string ,
accountName: string ,
parameters:
{
keyName: enum ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
accountName: string ,
primary: string ,
secondary: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BatchAccount_GetKeys (new)
Description This operation applies only to Batch accounts with allowedAuthenticationModes containing 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode, clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes instead. In this case, getting the keys will fail.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/listKeys
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
accountName: string ,
primary: string ,
secondary: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ApplicationPackage_Activate (new)
Description Activates the specified application package. This should be done after the `ApplicationPackage` was created and uploaded. This needs to be done before an `ApplicationPackage` can be used on Pools or Tasks.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}/activate
{
resourceGroupName: string ,
accountName: string ,
applicationName: string ,
versionName: string ,
parameters:
{
format: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
state: enum ,
format: string ,
storageUrl: string ,
storageUrlExpiry: string ,
lastActivationTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Application_Create (new)
Description Adds an application to the specified Batch account.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}
{
resourceGroupName: string ,
accountName: string ,
applicationName: string ,
parameters:
{
properties:
{
displayName: string ,
allowUpdates: boolean ,
defaultVersion: string ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
allowUpdates: boolean ,
defaultVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Application_Delete (new)
Description Deletes an application.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}
{
resourceGroupName: string ,
accountName: string ,
applicationName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Application_Get (new)
Description Gets information about the specified application.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}
{
resourceGroupName: string ,
accountName: string ,
applicationName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
allowUpdates: boolean ,
defaultVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Application_Update (new)
Description Updates settings for the specified application.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}
{
resourceGroupName: string ,
accountName: string ,
applicationName: string ,
parameters:
{
properties:
{
displayName: string ,
allowUpdates: boolean ,
defaultVersion: string ,
}
,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
allowUpdates: boolean ,
defaultVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ApplicationPackage_Create (new)
Description Creates an application package record. The record contains a storageUrl where the package should be uploaded to. Once it is uploaded the `ApplicationPackage` needs to be activated using `ApplicationPackageActive` before it can be used. If the auto storage account was configured to use storage keys, the URL returned will contain a SAS.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}
{
resourceGroupName: string ,
accountName: string ,
applicationName: string ,
versionName: string ,
api-version: string ,
subscriptionId: string ,
parameters:
{
properties:
{
state: enum ,
format: string ,
storageUrl: string ,
storageUrlExpiry: string ,
lastActivationTime: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
state: enum ,
format: string ,
storageUrl: string ,
storageUrlExpiry: string ,
lastActivationTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ApplicationPackage_Delete (new)
Description Deletes an application package record and its associated binary file.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}
{
resourceGroupName: string ,
accountName: string ,
applicationName: string ,
versionName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ApplicationPackage_Get (new)
Description Gets information about the specified application package.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}
{
resourceGroupName: string ,
accountName: string ,
applicationName: string ,
versionName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
state: enum ,
format: string ,
storageUrl: string ,
storageUrlExpiry: string ,
lastActivationTime: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Application_List (new)
Description Lists all of the applications in the specified account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications
{
resourceGroupName: string ,
accountName: string ,
maxresults: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
allowUpdates: boolean ,
defaultVersion: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ApplicationPackage_List (new)
Description Lists all of the application packages in the specified application.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions
{
resourceGroupName: string ,
accountName: string ,
applicationName: string ,
maxresults: integer ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
state: enum ,
format: string ,
storageUrl: string ,
storageUrlExpiry: string ,
lastActivationTime: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Location_GetQuotas (new)
Description Gets the Batch service quotas for the specified subscription at the given location.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/quotas
{
locationName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
accountQuota: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Location_ListSupportedVirtualMachineSkus (new)
Description Gets the list of Batch supported Virtual Machine VM sizes available at the given location.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/virtualMachineSkus
{
locationName: string ,
maxresults: integer ,
$filter: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
familyName: string ,
capabilities:
[
{
name: string ,
value: string ,
}
,
]
,
batchSupportEndOfLife: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Operations_List (new)
Description Lists available operations for the Microsoft.Batch provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Batch/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
operation: string ,
resource: string ,
description: string ,
}
,
origin: string ,
properties: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Location_CheckNameAvailability (new)
Description Checks whether the Batch account name is available in the specified region.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.Batch/locations/{locationName}/checkNameAvailability
{
locationName: string ,
api-version: string ,
subscriptionId: string ,
parameters:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BatchAccount_ListDetectors (new)
Description Gets information about the detectors available for a given Batch account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
accountName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BatchAccount_GetDetector (new)
Description Gets information about the given detector for a given Batch account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors/{detectorId}
{
resourceGroupName: string ,
api-version: string ,
subscriptionId: string ,
accountName: string ,
detectorId: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateLinkResource_ListByBatchAccount (new)
Description Lists all of the private link resources in the specified account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
maxresults: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateLinkResource_Get (new)
Description Gets information about the specified private link resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateLinkResources/{privateLinkResourceName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
privateLinkResourceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnection_ListByBatchAccount (new)
Description Lists all of the private endpoint connections in the specified account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
maxresults: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnection_Get (new)
Description Gets information about the specified private endpoint connection.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnection_Update (new)
Description Updates the properties of an existing private endpoint connection.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
If-Match: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
PrivateEndpointConnection_Delete (new)
Description Deletes the specified private endpoint connection.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Pool_ListByBatchAccount (new)
Description Lists all of the pools in the specified account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools
{
resourceGroupName: string ,
accountName: string ,
maxresults: integer ,
$select: string ,
$filter: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
lastModified: string ,
creationTime: string ,
provisioningState: enum ,
provisioningStateTransitionTime: string ,
allocationState: enum ,
allocationStateTransitionTime: string ,
vmSize: string ,
deploymentConfiguration:
{
virtualMachineConfiguration:
{
imageReference:
{
publisher: string ,
offer: string ,
sku: string ,
version: string ,
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
}
,
nodeAgentSkuId: string ,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
}
,
dataDisks:
[
{
lun: integer ,
caching: enum ,
diskSizeGB: integer ,
storageAccountType: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
}
,
]
,
licenseType: string ,
containerConfiguration:
{
type: enum ,
containerImageNames:
[
string ,
]
,
containerRegistries:
[
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
}
,
diskEncryptionConfiguration:
{
targets:
[
string ,
]
,
customerManagedKey:
{
keyUrl: string ,
rotationToLatestKeyVersionEnabled: boolean ,
identityReference:
{
resourceId: string ,
}
,
}
,
}
,
nodePlacementConfiguration:
{
policy: enum ,
}
,
extensions:
[
{
name: string ,
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
enableAutomaticUpgrade: boolean ,
settings: object ,
protectedSettings: object ,
provisionAfterExtensions:
[
string ,
]
,
}
,
]
,
osDisk:
{
ephemeralOSDiskSettings:
{
placement: enum ,
}
,
caching: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskSizeGB: integer ,
writeAcceleratorEnabled: boolean ,
}
,
securityProfile:
{
securityType: enum ,
encryptionAtHost: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
vTpmEnabled: boolean ,
}
,
proxyAgentSettings:
{
enabled: boolean ,
imds:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
wireServer:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
}
,
}
,
serviceArtifactReference:
{
id: string ,
}
,
}
,
}
,
currentDedicatedNodes: integer ,
currentLowPriorityNodes: integer ,
scaleSettings:
{
fixedScale:
{
resizeTimeout: string ,
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
nodeDeallocationOption: enum ,
}
,
autoScale:
{
formula: string ,
evaluationInterval: string ,
}
,
}
,
autoScaleRun:
{
evaluationTime: string ,
results: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
,
interNodeCommunication: enum ,
networkConfiguration:
{
subnetId: string ,
dynamicVnetAssignmentScope: enum ,
endpointConfiguration:
{
inboundNatPools:
[
{
name: string ,
protocol: enum ,
backendPort: integer ,
frontendPortRangeStart: integer ,
frontendPortRangeEnd: integer ,
networkSecurityGroupRules:
[
{
priority: integer ,
access: enum ,
sourceAddressPrefix: string ,
sourcePortRanges:
[
string ,
]
,
}
,
]
,
}
,
]
,
}
,
publicIPAddressConfiguration:
{
provision: enum ,
ipAddressIds:
[
string ,
]
,
ipFamilies:
[
string ,
]
,
ipTags:
[
{
ipTagType: string ,
tag: string ,
}
,
]
,
}
,
enableAcceleratedNetworking: boolean ,
}
,
taskSlotsPerNode: integer ,
taskSchedulingPolicy:
{
jobDefaultOrder: enum ,
nodeFillType: enum ,
}
,
userAccounts:
[
{
name: string ,
password: string ,
elevationLevel: enum ,
linuxUserConfiguration:
{
uid: integer ,
gid: integer ,
sshPrivateKey: string ,
}
,
windowsUserConfiguration:
{
loginMode: enum ,
}
,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
startTask:
{
commandLine: string ,
resourceFiles:
[
{
autoStorageContainerName: string ,
storageContainerUrl: string ,
httpUrl: string ,
blobPrefix: string ,
filePath: string ,
fileMode: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
environmentSettings:
[
{
name: string ,
value: string ,
}
,
]
,
userIdentity:
{
userName: string ,
autoUser:
{
scope: enum ,
elevationLevel: enum ,
}
,
}
,
maxTaskRetryCount: integer ,
waitForSuccess: boolean ,
containerSettings:
{
containerRunOptions: string ,
imageName: string ,
registry:
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
workingDirectory: enum ,
containerHostBatchBindMounts:
[
{
source: enum ,
isReadOnly: boolean ,
}
,
]
,
}
,
}
,
applicationPackages:
[
{
id: string ,
version: string ,
}
,
]
,
resizeOperationStatus:
{
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
resizeTimeout: string ,
nodeDeallocationOption: enum ,
startTime: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
}
,
mountConfiguration:
[
{
azureBlobFileSystemConfiguration:
{
accountName: string ,
containerName: string ,
accountKey: string ,
sasKey: string ,
blobfuseOptions: string ,
relativeMountPath: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
nfsMountConfiguration:
{
source: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
cifsMountConfiguration:
{
userName: string ,
source: string ,
relativeMountPath: string ,
mountOptions: string ,
password: string ,
}
,
azureFileShareConfiguration:
{
accountName: string ,
azureFileUrl: string ,
accountKey: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
}
,
]
,
upgradePolicy:
{
mode: enum ,
automaticOSUpgradePolicy:
{
disableAutomaticRollback: boolean ,
enableAutomaticOSUpgrade: boolean ,
useRollingUpgradePolicy: boolean ,
osRollingUpgradeDeferral: boolean ,
}
,
rollingUpgradePolicy:
{
enableCrossZoneUpgrade: boolean ,
maxBatchInstancePercent: integer ,
maxUnhealthyInstancePercent: integer ,
maxUnhealthyUpgradedInstancePercent: integer ,
pauseTimeBetweenBatches: string ,
prioritizeUnhealthyInstances: boolean ,
rollbackFailedInstancesOnPolicyBreach: boolean ,
}
,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Pool_Create (new)
Description Creates a new pool inside the specified account.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
{
resourceGroupName: string ,
accountName: string ,
poolName: string ,
parameters:
{
properties:
{
displayName: string ,
lastModified: string ,
creationTime: string ,
provisioningState: enum ,
provisioningStateTransitionTime: string ,
allocationState: enum ,
allocationStateTransitionTime: string ,
vmSize: string ,
deploymentConfiguration:
{
virtualMachineConfiguration:
{
imageReference:
{
publisher: string ,
offer: string ,
sku: string ,
version: string ,
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
}
,
nodeAgentSkuId: string ,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
}
,
dataDisks:
[
{
lun: integer ,
caching: enum ,
diskSizeGB: integer ,
storageAccountType: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
}
,
]
,
licenseType: string ,
containerConfiguration:
{
type: enum ,
containerImageNames:
[
string ,
]
,
containerRegistries:
[
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
}
,
diskEncryptionConfiguration:
{
targets:
[
string ,
]
,
customerManagedKey:
{
keyUrl: string ,
rotationToLatestKeyVersionEnabled: boolean ,
identityReference:
{
resourceId: string ,
}
,
}
,
}
,
nodePlacementConfiguration:
{
policy: enum ,
}
,
extensions:
[
{
name: string ,
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
enableAutomaticUpgrade: boolean ,
settings: object ,
protectedSettings: object ,
provisionAfterExtensions:
[
string ,
]
,
}
,
]
,
osDisk:
{
ephemeralOSDiskSettings:
{
placement: enum ,
}
,
caching: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskSizeGB: integer ,
writeAcceleratorEnabled: boolean ,
}
,
securityProfile:
{
securityType: enum ,
encryptionAtHost: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
vTpmEnabled: boolean ,
}
,
proxyAgentSettings:
{
enabled: boolean ,
imds:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
wireServer:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
}
,
}
,
serviceArtifactReference:
{
id: string ,
}
,
}
,
}
,
currentDedicatedNodes: integer ,
currentLowPriorityNodes: integer ,
scaleSettings:
{
fixedScale:
{
resizeTimeout: string ,
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
nodeDeallocationOption: enum ,
}
,
autoScale:
{
formula: string ,
evaluationInterval: string ,
}
,
}
,
autoScaleRun:
{
evaluationTime: string ,
results: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
,
interNodeCommunication: enum ,
networkConfiguration:
{
subnetId: string ,
dynamicVnetAssignmentScope: enum ,
endpointConfiguration:
{
inboundNatPools:
[
{
name: string ,
protocol: enum ,
backendPort: integer ,
frontendPortRangeStart: integer ,
frontendPortRangeEnd: integer ,
networkSecurityGroupRules:
[
{
priority: integer ,
access: enum ,
sourceAddressPrefix: string ,
sourcePortRanges:
[
string ,
]
,
}
,
]
,
}
,
]
,
}
,
publicIPAddressConfiguration:
{
provision: enum ,
ipAddressIds:
[
string ,
]
,
ipFamilies:
[
string ,
]
,
ipTags:
[
{
ipTagType: string ,
tag: string ,
}
,
]
,
}
,
enableAcceleratedNetworking: boolean ,
}
,
taskSlotsPerNode: integer ,
taskSchedulingPolicy:
{
jobDefaultOrder: enum ,
nodeFillType: enum ,
}
,
userAccounts:
[
{
name: string ,
password: string ,
elevationLevel: enum ,
linuxUserConfiguration:
{
uid: integer ,
gid: integer ,
sshPrivateKey: string ,
}
,
windowsUserConfiguration:
{
loginMode: enum ,
}
,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
startTask:
{
commandLine: string ,
resourceFiles:
[
{
autoStorageContainerName: string ,
storageContainerUrl: string ,
httpUrl: string ,
blobPrefix: string ,
filePath: string ,
fileMode: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
environmentSettings:
[
{
name: string ,
value: string ,
}
,
]
,
userIdentity:
{
userName: string ,
autoUser:
{
scope: enum ,
elevationLevel: enum ,
}
,
}
,
maxTaskRetryCount: integer ,
waitForSuccess: boolean ,
containerSettings:
{
containerRunOptions: string ,
imageName: string ,
registry:
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
workingDirectory: enum ,
containerHostBatchBindMounts:
[
{
source: enum ,
isReadOnly: boolean ,
}
,
]
,
}
,
}
,
applicationPackages:
[
{
id: string ,
version: string ,
}
,
]
,
resizeOperationStatus:
{
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
resizeTimeout: string ,
nodeDeallocationOption: enum ,
startTime: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
}
,
mountConfiguration:
[
{
azureBlobFileSystemConfiguration:
{
accountName: string ,
containerName: string ,
accountKey: string ,
sasKey: string ,
blobfuseOptions: string ,
relativeMountPath: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
nfsMountConfiguration:
{
source: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
cifsMountConfiguration:
{
userName: string ,
source: string ,
relativeMountPath: string ,
mountOptions: string ,
password: string ,
}
,
azureFileShareConfiguration:
{
accountName: string ,
azureFileUrl: string ,
accountKey: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
}
,
]
,
upgradePolicy:
{
mode: enum ,
automaticOSUpgradePolicy:
{
disableAutomaticRollback: boolean ,
enableAutomaticOSUpgrade: boolean ,
useRollingUpgradePolicy: boolean ,
osRollingUpgradeDeferral: boolean ,
}
,
rollingUpgradePolicy:
{
enableCrossZoneUpgrade: boolean ,
maxBatchInstancePercent: integer ,
maxUnhealthyInstancePercent: integer ,
maxUnhealthyUpgradedInstancePercent: integer ,
pauseTimeBetweenBatches: string ,
prioritizeUnhealthyInstances: boolean ,
rollbackFailedInstancesOnPolicyBreach: boolean ,
}
,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
If-Match: string ,
If-None-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema:
{
properties:
{
displayName: string ,
lastModified: string ,
creationTime: string ,
provisioningState: enum ,
provisioningStateTransitionTime: string ,
allocationState: enum ,
allocationStateTransitionTime: string ,
vmSize: string ,
deploymentConfiguration:
{
virtualMachineConfiguration:
{
imageReference:
{
publisher: string ,
offer: string ,
sku: string ,
version: string ,
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
}
,
nodeAgentSkuId: string ,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
}
,
dataDisks:
[
{
lun: integer ,
caching: enum ,
diskSizeGB: integer ,
storageAccountType: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
}
,
]
,
licenseType: string ,
containerConfiguration:
{
type: enum ,
containerImageNames:
[
string ,
]
,
containerRegistries:
[
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
}
,
diskEncryptionConfiguration:
{
targets:
[
string ,
]
,
customerManagedKey:
{
keyUrl: string ,
rotationToLatestKeyVersionEnabled: boolean ,
identityReference:
{
resourceId: string ,
}
,
}
,
}
,
nodePlacementConfiguration:
{
policy: enum ,
}
,
extensions:
[
{
name: string ,
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
enableAutomaticUpgrade: boolean ,
settings: object ,
protectedSettings: object ,
provisionAfterExtensions:
[
string ,
]
,
}
,
]
,
osDisk:
{
ephemeralOSDiskSettings:
{
placement: enum ,
}
,
caching: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskSizeGB: integer ,
writeAcceleratorEnabled: boolean ,
}
,
securityProfile:
{
securityType: enum ,
encryptionAtHost: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
vTpmEnabled: boolean ,
}
,
proxyAgentSettings:
{
enabled: boolean ,
imds:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
wireServer:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
}
,
}
,
serviceArtifactReference:
{
id: string ,
}
,
}
,
}
,
currentDedicatedNodes: integer ,
currentLowPriorityNodes: integer ,
scaleSettings:
{
fixedScale:
{
resizeTimeout: string ,
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
nodeDeallocationOption: enum ,
}
,
autoScale:
{
formula: string ,
evaluationInterval: string ,
}
,
}
,
autoScaleRun:
{
evaluationTime: string ,
results: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
,
interNodeCommunication: enum ,
networkConfiguration:
{
subnetId: string ,
dynamicVnetAssignmentScope: enum ,
endpointConfiguration:
{
inboundNatPools:
[
{
name: string ,
protocol: enum ,
backendPort: integer ,
frontendPortRangeStart: integer ,
frontendPortRangeEnd: integer ,
networkSecurityGroupRules:
[
{
priority: integer ,
access: enum ,
sourceAddressPrefix: string ,
sourcePortRanges:
[
string ,
]
,
}
,
]
,
}
,
]
,
}
,
publicIPAddressConfiguration:
{
provision: enum ,
ipAddressIds:
[
string ,
]
,
ipFamilies:
[
string ,
]
,
ipTags:
[
{
ipTagType: string ,
tag: string ,
}
,
]
,
}
,
enableAcceleratedNetworking: boolean ,
}
,
taskSlotsPerNode: integer ,
taskSchedulingPolicy:
{
jobDefaultOrder: enum ,
nodeFillType: enum ,
}
,
userAccounts:
[
{
name: string ,
password: string ,
elevationLevel: enum ,
linuxUserConfiguration:
{
uid: integer ,
gid: integer ,
sshPrivateKey: string ,
}
,
windowsUserConfiguration:
{
loginMode: enum ,
}
,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
startTask:
{
commandLine: string ,
resourceFiles:
[
{
autoStorageContainerName: string ,
storageContainerUrl: string ,
httpUrl: string ,
blobPrefix: string ,
filePath: string ,
fileMode: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
environmentSettings:
[
{
name: string ,
value: string ,
}
,
]
,
userIdentity:
{
userName: string ,
autoUser:
{
scope: enum ,
elevationLevel: enum ,
}
,
}
,
maxTaskRetryCount: integer ,
waitForSuccess: boolean ,
containerSettings:
{
containerRunOptions: string ,
imageName: string ,
registry:
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
workingDirectory: enum ,
containerHostBatchBindMounts:
[
{
source: enum ,
isReadOnly: boolean ,
}
,
]
,
}
,
}
,
applicationPackages:
[
{
id: string ,
version: string ,
}
,
]
,
resizeOperationStatus:
{
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
resizeTimeout: string ,
nodeDeallocationOption: enum ,
startTime: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
}
,
mountConfiguration:
[
{
azureBlobFileSystemConfiguration:
{
accountName: string ,
containerName: string ,
accountKey: string ,
sasKey: string ,
blobfuseOptions: string ,
relativeMountPath: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
nfsMountConfiguration:
{
source: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
cifsMountConfiguration:
{
userName: string ,
source: string ,
relativeMountPath: string ,
mountOptions: string ,
password: string ,
}
,
azureFileShareConfiguration:
{
accountName: string ,
azureFileUrl: string ,
accountKey: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
}
,
]
,
upgradePolicy:
{
mode: enum ,
automaticOSUpgradePolicy:
{
disableAutomaticRollback: boolean ,
enableAutomaticOSUpgrade: boolean ,
useRollingUpgradePolicy: boolean ,
osRollingUpgradeDeferral: boolean ,
}
,
rollingUpgradePolicy:
{
enableCrossZoneUpgrade: boolean ,
maxBatchInstancePercent: integer ,
maxUnhealthyInstancePercent: integer ,
maxUnhealthyUpgradedInstancePercent: integer ,
pauseTimeBetweenBatches: string ,
prioritizeUnhealthyInstances: boolean ,
rollbackFailedInstancesOnPolicyBreach: boolean ,
}
,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Pool_Update (new)
Description Updates the properties of an existing pool.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
{
resourceGroupName: string ,
accountName: string ,
poolName: string ,
parameters:
{
properties:
{
displayName: string ,
lastModified: string ,
creationTime: string ,
provisioningState: enum ,
provisioningStateTransitionTime: string ,
allocationState: enum ,
allocationStateTransitionTime: string ,
vmSize: string ,
deploymentConfiguration:
{
virtualMachineConfiguration:
{
imageReference:
{
publisher: string ,
offer: string ,
sku: string ,
version: string ,
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
}
,
nodeAgentSkuId: string ,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
}
,
dataDisks:
[
{
lun: integer ,
caching: enum ,
diskSizeGB: integer ,
storageAccountType: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
}
,
]
,
licenseType: string ,
containerConfiguration:
{
type: enum ,
containerImageNames:
[
string ,
]
,
containerRegistries:
[
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
}
,
diskEncryptionConfiguration:
{
targets:
[
string ,
]
,
customerManagedKey:
{
keyUrl: string ,
rotationToLatestKeyVersionEnabled: boolean ,
identityReference:
{
resourceId: string ,
}
,
}
,
}
,
nodePlacementConfiguration:
{
policy: enum ,
}
,
extensions:
[
{
name: string ,
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
enableAutomaticUpgrade: boolean ,
settings: object ,
protectedSettings: object ,
provisionAfterExtensions:
[
string ,
]
,
}
,
]
,
osDisk:
{
ephemeralOSDiskSettings:
{
placement: enum ,
}
,
caching: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskSizeGB: integer ,
writeAcceleratorEnabled: boolean ,
}
,
securityProfile:
{
securityType: enum ,
encryptionAtHost: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
vTpmEnabled: boolean ,
}
,
proxyAgentSettings:
{
enabled: boolean ,
imds:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
wireServer:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
}
,
}
,
serviceArtifactReference:
{
id: string ,
}
,
}
,
}
,
currentDedicatedNodes: integer ,
currentLowPriorityNodes: integer ,
scaleSettings:
{
fixedScale:
{
resizeTimeout: string ,
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
nodeDeallocationOption: enum ,
}
,
autoScale:
{
formula: string ,
evaluationInterval: string ,
}
,
}
,
autoScaleRun:
{
evaluationTime: string ,
results: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
,
interNodeCommunication: enum ,
networkConfiguration:
{
subnetId: string ,
dynamicVnetAssignmentScope: enum ,
endpointConfiguration:
{
inboundNatPools:
[
{
name: string ,
protocol: enum ,
backendPort: integer ,
frontendPortRangeStart: integer ,
frontendPortRangeEnd: integer ,
networkSecurityGroupRules:
[
{
priority: integer ,
access: enum ,
sourceAddressPrefix: string ,
sourcePortRanges:
[
string ,
]
,
}
,
]
,
}
,
]
,
}
,
publicIPAddressConfiguration:
{
provision: enum ,
ipAddressIds:
[
string ,
]
,
ipFamilies:
[
string ,
]
,
ipTags:
[
{
ipTagType: string ,
tag: string ,
}
,
]
,
}
,
enableAcceleratedNetworking: boolean ,
}
,
taskSlotsPerNode: integer ,
taskSchedulingPolicy:
{
jobDefaultOrder: enum ,
nodeFillType: enum ,
}
,
userAccounts:
[
{
name: string ,
password: string ,
elevationLevel: enum ,
linuxUserConfiguration:
{
uid: integer ,
gid: integer ,
sshPrivateKey: string ,
}
,
windowsUserConfiguration:
{
loginMode: enum ,
}
,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
startTask:
{
commandLine: string ,
resourceFiles:
[
{
autoStorageContainerName: string ,
storageContainerUrl: string ,
httpUrl: string ,
blobPrefix: string ,
filePath: string ,
fileMode: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
environmentSettings:
[
{
name: string ,
value: string ,
}
,
]
,
userIdentity:
{
userName: string ,
autoUser:
{
scope: enum ,
elevationLevel: enum ,
}
,
}
,
maxTaskRetryCount: integer ,
waitForSuccess: boolean ,
containerSettings:
{
containerRunOptions: string ,
imageName: string ,
registry:
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
workingDirectory: enum ,
containerHostBatchBindMounts:
[
{
source: enum ,
isReadOnly: boolean ,
}
,
]
,
}
,
}
,
applicationPackages:
[
{
id: string ,
version: string ,
}
,
]
,
resizeOperationStatus:
{
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
resizeTimeout: string ,
nodeDeallocationOption: enum ,
startTime: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
}
,
mountConfiguration:
[
{
azureBlobFileSystemConfiguration:
{
accountName: string ,
containerName: string ,
accountKey: string ,
sasKey: string ,
blobfuseOptions: string ,
relativeMountPath: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
nfsMountConfiguration:
{
source: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
cifsMountConfiguration:
{
userName: string ,
source: string ,
relativeMountPath: string ,
mountOptions: string ,
password: string ,
}
,
azureFileShareConfiguration:
{
accountName: string ,
azureFileUrl: string ,
accountKey: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
}
,
]
,
upgradePolicy:
{
mode: enum ,
automaticOSUpgradePolicy:
{
disableAutomaticRollback: boolean ,
enableAutomaticOSUpgrade: boolean ,
useRollingUpgradePolicy: boolean ,
osRollingUpgradeDeferral: boolean ,
}
,
rollingUpgradePolicy:
{
enableCrossZoneUpgrade: boolean ,
maxBatchInstancePercent: integer ,
maxUnhealthyInstancePercent: integer ,
maxUnhealthyUpgradedInstancePercent: integer ,
pauseTimeBetweenBatches: string ,
prioritizeUnhealthyInstances: boolean ,
rollbackFailedInstancesOnPolicyBreach: boolean ,
}
,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
If-Match: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema:
{
properties:
{
displayName: string ,
lastModified: string ,
creationTime: string ,
provisioningState: enum ,
provisioningStateTransitionTime: string ,
allocationState: enum ,
allocationStateTransitionTime: string ,
vmSize: string ,
deploymentConfiguration:
{
virtualMachineConfiguration:
{
imageReference:
{
publisher: string ,
offer: string ,
sku: string ,
version: string ,
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
}
,
nodeAgentSkuId: string ,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
}
,
dataDisks:
[
{
lun: integer ,
caching: enum ,
diskSizeGB: integer ,
storageAccountType: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
}
,
]
,
licenseType: string ,
containerConfiguration:
{
type: enum ,
containerImageNames:
[
string ,
]
,
containerRegistries:
[
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
}
,
diskEncryptionConfiguration:
{
targets:
[
string ,
]
,
customerManagedKey:
{
keyUrl: string ,
rotationToLatestKeyVersionEnabled: boolean ,
identityReference:
{
resourceId: string ,
}
,
}
,
}
,
nodePlacementConfiguration:
{
policy: enum ,
}
,
extensions:
[
{
name: string ,
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
enableAutomaticUpgrade: boolean ,
settings: object ,
protectedSettings: object ,
provisionAfterExtensions:
[
string ,
]
,
}
,
]
,
osDisk:
{
ephemeralOSDiskSettings:
{
placement: enum ,
}
,
caching: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskSizeGB: integer ,
writeAcceleratorEnabled: boolean ,
}
,
securityProfile:
{
securityType: enum ,
encryptionAtHost: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
vTpmEnabled: boolean ,
}
,
proxyAgentSettings:
{
enabled: boolean ,
imds:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
wireServer:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
}
,
}
,
serviceArtifactReference:
{
id: string ,
}
,
}
,
}
,
currentDedicatedNodes: integer ,
currentLowPriorityNodes: integer ,
scaleSettings:
{
fixedScale:
{
resizeTimeout: string ,
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
nodeDeallocationOption: enum ,
}
,
autoScale:
{
formula: string ,
evaluationInterval: string ,
}
,
}
,
autoScaleRun:
{
evaluationTime: string ,
results: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
,
interNodeCommunication: enum ,
networkConfiguration:
{
subnetId: string ,
dynamicVnetAssignmentScope: enum ,
endpointConfiguration:
{
inboundNatPools:
[
{
name: string ,
protocol: enum ,
backendPort: integer ,
frontendPortRangeStart: integer ,
frontendPortRangeEnd: integer ,
networkSecurityGroupRules:
[
{
priority: integer ,
access: enum ,
sourceAddressPrefix: string ,
sourcePortRanges:
[
string ,
]
,
}
,
]
,
}
,
]
,
}
,
publicIPAddressConfiguration:
{
provision: enum ,
ipAddressIds:
[
string ,
]
,
ipFamilies:
[
string ,
]
,
ipTags:
[
{
ipTagType: string ,
tag: string ,
}
,
]
,
}
,
enableAcceleratedNetworking: boolean ,
}
,
taskSlotsPerNode: integer ,
taskSchedulingPolicy:
{
jobDefaultOrder: enum ,
nodeFillType: enum ,
}
,
userAccounts:
[
{
name: string ,
password: string ,
elevationLevel: enum ,
linuxUserConfiguration:
{
uid: integer ,
gid: integer ,
sshPrivateKey: string ,
}
,
windowsUserConfiguration:
{
loginMode: enum ,
}
,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
startTask:
{
commandLine: string ,
resourceFiles:
[
{
autoStorageContainerName: string ,
storageContainerUrl: string ,
httpUrl: string ,
blobPrefix: string ,
filePath: string ,
fileMode: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
environmentSettings:
[
{
name: string ,
value: string ,
}
,
]
,
userIdentity:
{
userName: string ,
autoUser:
{
scope: enum ,
elevationLevel: enum ,
}
,
}
,
maxTaskRetryCount: integer ,
waitForSuccess: boolean ,
containerSettings:
{
containerRunOptions: string ,
imageName: string ,
registry:
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
workingDirectory: enum ,
containerHostBatchBindMounts:
[
{
source: enum ,
isReadOnly: boolean ,
}
,
]
,
}
,
}
,
applicationPackages:
[
{
id: string ,
version: string ,
}
,
]
,
resizeOperationStatus:
{
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
resizeTimeout: string ,
nodeDeallocationOption: enum ,
startTime: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
}
,
mountConfiguration:
[
{
azureBlobFileSystemConfiguration:
{
accountName: string ,
containerName: string ,
accountKey: string ,
sasKey: string ,
blobfuseOptions: string ,
relativeMountPath: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
nfsMountConfiguration:
{
source: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
cifsMountConfiguration:
{
userName: string ,
source: string ,
relativeMountPath: string ,
mountOptions: string ,
password: string ,
}
,
azureFileShareConfiguration:
{
accountName: string ,
azureFileUrl: string ,
accountKey: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
}
,
]
,
upgradePolicy:
{
mode: enum ,
automaticOSUpgradePolicy:
{
disableAutomaticRollback: boolean ,
enableAutomaticOSUpgrade: boolean ,
useRollingUpgradePolicy: boolean ,
osRollingUpgradeDeferral: boolean ,
}
,
rollingUpgradePolicy:
{
enableCrossZoneUpgrade: boolean ,
maxBatchInstancePercent: integer ,
maxUnhealthyInstancePercent: integer ,
maxUnhealthyUpgradedInstancePercent: integer ,
pauseTimeBetweenBatches: string ,
prioritizeUnhealthyInstances: boolean ,
rollbackFailedInstancesOnPolicyBreach: boolean ,
}
,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Pool_Delete (new)
Description Deletes the specified pool.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
{
resourceGroupName: string ,
accountName: string ,
poolName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Pool_Get (new)
Description Gets information about the specified pool.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
{
resourceGroupName: string ,
accountName: string ,
poolName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema:
{
properties:
{
displayName: string ,
lastModified: string ,
creationTime: string ,
provisioningState: enum ,
provisioningStateTransitionTime: string ,
allocationState: enum ,
allocationStateTransitionTime: string ,
vmSize: string ,
deploymentConfiguration:
{
virtualMachineConfiguration:
{
imageReference:
{
publisher: string ,
offer: string ,
sku: string ,
version: string ,
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
}
,
nodeAgentSkuId: string ,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
}
,
dataDisks:
[
{
lun: integer ,
caching: enum ,
diskSizeGB: integer ,
storageAccountType: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
}
,
]
,
licenseType: string ,
containerConfiguration:
{
type: enum ,
containerImageNames:
[
string ,
]
,
containerRegistries:
[
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
}
,
diskEncryptionConfiguration:
{
targets:
[
string ,
]
,
customerManagedKey:
{
keyUrl: string ,
rotationToLatestKeyVersionEnabled: boolean ,
identityReference:
{
resourceId: string ,
}
,
}
,
}
,
nodePlacementConfiguration:
{
policy: enum ,
}
,
extensions:
[
{
name: string ,
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
enableAutomaticUpgrade: boolean ,
settings: object ,
protectedSettings: object ,
provisionAfterExtensions:
[
string ,
]
,
}
,
]
,
osDisk:
{
ephemeralOSDiskSettings:
{
placement: enum ,
}
,
caching: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskSizeGB: integer ,
writeAcceleratorEnabled: boolean ,
}
,
securityProfile:
{
securityType: enum ,
encryptionAtHost: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
vTpmEnabled: boolean ,
}
,
proxyAgentSettings:
{
enabled: boolean ,
imds:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
wireServer:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
}
,
}
,
serviceArtifactReference:
{
id: string ,
}
,
}
,
}
,
currentDedicatedNodes: integer ,
currentLowPriorityNodes: integer ,
scaleSettings:
{
fixedScale:
{
resizeTimeout: string ,
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
nodeDeallocationOption: enum ,
}
,
autoScale:
{
formula: string ,
evaluationInterval: string ,
}
,
}
,
autoScaleRun:
{
evaluationTime: string ,
results: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
,
interNodeCommunication: enum ,
networkConfiguration:
{
subnetId: string ,
dynamicVnetAssignmentScope: enum ,
endpointConfiguration:
{
inboundNatPools:
[
{
name: string ,
protocol: enum ,
backendPort: integer ,
frontendPortRangeStart: integer ,
frontendPortRangeEnd: integer ,
networkSecurityGroupRules:
[
{
priority: integer ,
access: enum ,
sourceAddressPrefix: string ,
sourcePortRanges:
[
string ,
]
,
}
,
]
,
}
,
]
,
}
,
publicIPAddressConfiguration:
{
provision: enum ,
ipAddressIds:
[
string ,
]
,
ipFamilies:
[
string ,
]
,
ipTags:
[
{
ipTagType: string ,
tag: string ,
}
,
]
,
}
,
enableAcceleratedNetworking: boolean ,
}
,
taskSlotsPerNode: integer ,
taskSchedulingPolicy:
{
jobDefaultOrder: enum ,
nodeFillType: enum ,
}
,
userAccounts:
[
{
name: string ,
password: string ,
elevationLevel: enum ,
linuxUserConfiguration:
{
uid: integer ,
gid: integer ,
sshPrivateKey: string ,
}
,
windowsUserConfiguration:
{
loginMode: enum ,
}
,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
startTask:
{
commandLine: string ,
resourceFiles:
[
{
autoStorageContainerName: string ,
storageContainerUrl: string ,
httpUrl: string ,
blobPrefix: string ,
filePath: string ,
fileMode: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
environmentSettings:
[
{
name: string ,
value: string ,
}
,
]
,
userIdentity:
{
userName: string ,
autoUser:
{
scope: enum ,
elevationLevel: enum ,
}
,
}
,
maxTaskRetryCount: integer ,
waitForSuccess: boolean ,
containerSettings:
{
containerRunOptions: string ,
imageName: string ,
registry:
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
workingDirectory: enum ,
containerHostBatchBindMounts:
[
{
source: enum ,
isReadOnly: boolean ,
}
,
]
,
}
,
}
,
applicationPackages:
[
{
id: string ,
version: string ,
}
,
]
,
resizeOperationStatus:
{
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
resizeTimeout: string ,
nodeDeallocationOption: enum ,
startTime: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
}
,
mountConfiguration:
[
{
azureBlobFileSystemConfiguration:
{
accountName: string ,
containerName: string ,
accountKey: string ,
sasKey: string ,
blobfuseOptions: string ,
relativeMountPath: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
nfsMountConfiguration:
{
source: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
cifsMountConfiguration:
{
userName: string ,
source: string ,
relativeMountPath: string ,
mountOptions: string ,
password: string ,
}
,
azureFileShareConfiguration:
{
accountName: string ,
azureFileUrl: string ,
accountKey: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
}
,
]
,
upgradePolicy:
{
mode: enum ,
automaticOSUpgradePolicy:
{
disableAutomaticRollback: boolean ,
enableAutomaticOSUpgrade: boolean ,
useRollingUpgradePolicy: boolean ,
osRollingUpgradeDeferral: boolean ,
}
,
rollingUpgradePolicy:
{
enableCrossZoneUpgrade: boolean ,
maxBatchInstancePercent: integer ,
maxUnhealthyInstancePercent: integer ,
maxUnhealthyUpgradedInstancePercent: integer ,
pauseTimeBetweenBatches: string ,
prioritizeUnhealthyInstances: boolean ,
rollbackFailedInstancesOnPolicyBreach: boolean ,
}
,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Pool_DisableAutoScale (new)
Description Disables automatic scaling for a pool.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/disableAutoScale
{
resourceGroupName: string ,
accountName: string ,
poolName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema:
{
properties:
{
displayName: string ,
lastModified: string ,
creationTime: string ,
provisioningState: enum ,
provisioningStateTransitionTime: string ,
allocationState: enum ,
allocationStateTransitionTime: string ,
vmSize: string ,
deploymentConfiguration:
{
virtualMachineConfiguration:
{
imageReference:
{
publisher: string ,
offer: string ,
sku: string ,
version: string ,
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
}
,
nodeAgentSkuId: string ,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
}
,
dataDisks:
[
{
lun: integer ,
caching: enum ,
diskSizeGB: integer ,
storageAccountType: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
}
,
]
,
licenseType: string ,
containerConfiguration:
{
type: enum ,
containerImageNames:
[
string ,
]
,
containerRegistries:
[
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
}
,
diskEncryptionConfiguration:
{
targets:
[
string ,
]
,
customerManagedKey:
{
keyUrl: string ,
rotationToLatestKeyVersionEnabled: boolean ,
identityReference:
{
resourceId: string ,
}
,
}
,
}
,
nodePlacementConfiguration:
{
policy: enum ,
}
,
extensions:
[
{
name: string ,
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
enableAutomaticUpgrade: boolean ,
settings: object ,
protectedSettings: object ,
provisionAfterExtensions:
[
string ,
]
,
}
,
]
,
osDisk:
{
ephemeralOSDiskSettings:
{
placement: enum ,
}
,
caching: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskSizeGB: integer ,
writeAcceleratorEnabled: boolean ,
}
,
securityProfile:
{
securityType: enum ,
encryptionAtHost: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
vTpmEnabled: boolean ,
}
,
proxyAgentSettings:
{
enabled: boolean ,
imds:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
wireServer:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
}
,
}
,
serviceArtifactReference:
{
id: string ,
}
,
}
,
}
,
currentDedicatedNodes: integer ,
currentLowPriorityNodes: integer ,
scaleSettings:
{
fixedScale:
{
resizeTimeout: string ,
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
nodeDeallocationOption: enum ,
}
,
autoScale:
{
formula: string ,
evaluationInterval: string ,
}
,
}
,
autoScaleRun:
{
evaluationTime: string ,
results: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
,
interNodeCommunication: enum ,
networkConfiguration:
{
subnetId: string ,
dynamicVnetAssignmentScope: enum ,
endpointConfiguration:
{
inboundNatPools:
[
{
name: string ,
protocol: enum ,
backendPort: integer ,
frontendPortRangeStart: integer ,
frontendPortRangeEnd: integer ,
networkSecurityGroupRules:
[
{
priority: integer ,
access: enum ,
sourceAddressPrefix: string ,
sourcePortRanges:
[
string ,
]
,
}
,
]
,
}
,
]
,
}
,
publicIPAddressConfiguration:
{
provision: enum ,
ipAddressIds:
[
string ,
]
,
ipFamilies:
[
string ,
]
,
ipTags:
[
{
ipTagType: string ,
tag: string ,
}
,
]
,
}
,
enableAcceleratedNetworking: boolean ,
}
,
taskSlotsPerNode: integer ,
taskSchedulingPolicy:
{
jobDefaultOrder: enum ,
nodeFillType: enum ,
}
,
userAccounts:
[
{
name: string ,
password: string ,
elevationLevel: enum ,
linuxUserConfiguration:
{
uid: integer ,
gid: integer ,
sshPrivateKey: string ,
}
,
windowsUserConfiguration:
{
loginMode: enum ,
}
,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
startTask:
{
commandLine: string ,
resourceFiles:
[
{
autoStorageContainerName: string ,
storageContainerUrl: string ,
httpUrl: string ,
blobPrefix: string ,
filePath: string ,
fileMode: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
environmentSettings:
[
{
name: string ,
value: string ,
}
,
]
,
userIdentity:
{
userName: string ,
autoUser:
{
scope: enum ,
elevationLevel: enum ,
}
,
}
,
maxTaskRetryCount: integer ,
waitForSuccess: boolean ,
containerSettings:
{
containerRunOptions: string ,
imageName: string ,
registry:
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
workingDirectory: enum ,
containerHostBatchBindMounts:
[
{
source: enum ,
isReadOnly: boolean ,
}
,
]
,
}
,
}
,
applicationPackages:
[
{
id: string ,
version: string ,
}
,
]
,
resizeOperationStatus:
{
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
resizeTimeout: string ,
nodeDeallocationOption: enum ,
startTime: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
}
,
mountConfiguration:
[
{
azureBlobFileSystemConfiguration:
{
accountName: string ,
containerName: string ,
accountKey: string ,
sasKey: string ,
blobfuseOptions: string ,
relativeMountPath: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
nfsMountConfiguration:
{
source: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
cifsMountConfiguration:
{
userName: string ,
source: string ,
relativeMountPath: string ,
mountOptions: string ,
password: string ,
}
,
azureFileShareConfiguration:
{
accountName: string ,
azureFileUrl: string ,
accountKey: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
}
,
]
,
upgradePolicy:
{
mode: enum ,
automaticOSUpgradePolicy:
{
disableAutomaticRollback: boolean ,
enableAutomaticOSUpgrade: boolean ,
useRollingUpgradePolicy: boolean ,
osRollingUpgradeDeferral: boolean ,
}
,
rollingUpgradePolicy:
{
enableCrossZoneUpgrade: boolean ,
maxBatchInstancePercent: integer ,
maxUnhealthyInstancePercent: integer ,
maxUnhealthyUpgradedInstancePercent: integer ,
pauseTimeBetweenBatches: string ,
prioritizeUnhealthyInstances: boolean ,
rollbackFailedInstancesOnPolicyBreach: boolean ,
}
,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Pool_StopResize (new)
Description This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/stopResize
{
resourceGroupName: string ,
accountName: string ,
poolName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
$headers:
{
etag: string ,
}
,
$schema:
{
properties:
{
displayName: string ,
lastModified: string ,
creationTime: string ,
provisioningState: enum ,
provisioningStateTransitionTime: string ,
allocationState: enum ,
allocationStateTransitionTime: string ,
vmSize: string ,
deploymentConfiguration:
{
virtualMachineConfiguration:
{
imageReference:
{
publisher: string ,
offer: string ,
sku: string ,
version: string ,
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
}
,
nodeAgentSkuId: string ,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
}
,
dataDisks:
[
{
lun: integer ,
caching: enum ,
diskSizeGB: integer ,
storageAccountType: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
}
,
]
,
licenseType: string ,
containerConfiguration:
{
type: enum ,
containerImageNames:
[
string ,
]
,
containerRegistries:
[
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
}
,
diskEncryptionConfiguration:
{
targets:
[
string ,
]
,
customerManagedKey:
{
keyUrl: string ,
rotationToLatestKeyVersionEnabled: boolean ,
identityReference:
{
resourceId: string ,
}
,
}
,
}
,
nodePlacementConfiguration:
{
policy: enum ,
}
,
extensions:
[
{
name: string ,
publisher: string ,
type: string ,
typeHandlerVersion: string ,
autoUpgradeMinorVersion: boolean ,
enableAutomaticUpgrade: boolean ,
settings: object ,
protectedSettings: object ,
provisionAfterExtensions:
[
string ,
]
,
}
,
]
,
osDisk:
{
ephemeralOSDiskSettings:
{
placement: enum ,
}
,
caching: enum ,
managedDisk:
{
storageAccountType: enum ,
securityProfile:
{
securityEncryptionType: enum ,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskEncryptionSet:
{
id: string ,
}
,
}
,
diskSizeGB: integer ,
writeAcceleratorEnabled: boolean ,
}
,
securityProfile:
{
securityType: enum ,
encryptionAtHost: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
vTpmEnabled: boolean ,
}
,
proxyAgentSettings:
{
enabled: boolean ,
imds:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
wireServer:
{
mode: enum ,
inVMAccessControlProfileReferenceId: string ,
}
,
}
,
}
,
serviceArtifactReference:
{
id: string ,
}
,
}
,
}
,
currentDedicatedNodes: integer ,
currentLowPriorityNodes: integer ,
scaleSettings:
{
fixedScale:
{
resizeTimeout: string ,
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
nodeDeallocationOption: enum ,
}
,
autoScale:
{
formula: string ,
evaluationInterval: string ,
}
,
}
,
autoScaleRun:
{
evaluationTime: string ,
results: string ,
error:
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
}
,
interNodeCommunication: enum ,
networkConfiguration:
{
subnetId: string ,
dynamicVnetAssignmentScope: enum ,
endpointConfiguration:
{
inboundNatPools:
[
{
name: string ,
protocol: enum ,
backendPort: integer ,
frontendPortRangeStart: integer ,
frontendPortRangeEnd: integer ,
networkSecurityGroupRules:
[
{
priority: integer ,
access: enum ,
sourceAddressPrefix: string ,
sourcePortRanges:
[
string ,
]
,
}
,
]
,
}
,
]
,
}
,
publicIPAddressConfiguration:
{
provision: enum ,
ipAddressIds:
[
string ,
]
,
ipFamilies:
[
string ,
]
,
ipTags:
[
{
ipTagType: string ,
tag: string ,
}
,
]
,
}
,
enableAcceleratedNetworking: boolean ,
}
,
taskSlotsPerNode: integer ,
taskSchedulingPolicy:
{
jobDefaultOrder: enum ,
nodeFillType: enum ,
}
,
userAccounts:
[
{
name: string ,
password: string ,
elevationLevel: enum ,
linuxUserConfiguration:
{
uid: integer ,
gid: integer ,
sshPrivateKey: string ,
}
,
windowsUserConfiguration:
{
loginMode: enum ,
}
,
}
,
]
,
metadata:
[
{
name: string ,
value: string ,
}
,
]
,
startTask:
{
commandLine: string ,
resourceFiles:
[
{
autoStorageContainerName: string ,
storageContainerUrl: string ,
httpUrl: string ,
blobPrefix: string ,
filePath: string ,
fileMode: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
]
,
environmentSettings:
[
{
name: string ,
value: string ,
}
,
]
,
userIdentity:
{
userName: string ,
autoUser:
{
scope: enum ,
elevationLevel: enum ,
}
,
}
,
maxTaskRetryCount: integer ,
waitForSuccess: boolean ,
containerSettings:
{
containerRunOptions: string ,
imageName: string ,
registry:
{
username: string ,
password: string ,
registryServer: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
workingDirectory: enum ,
containerHostBatchBindMounts:
[
{
source: enum ,
isReadOnly: boolean ,
}
,
]
,
}
,
}
,
applicationPackages:
[
{
id: string ,
version: string ,
}
,
]
,
resizeOperationStatus:
{
targetDedicatedNodes: integer ,
targetLowPriorityNodes: integer ,
resizeTimeout: string ,
nodeDeallocationOption: enum ,
startTime: string ,
errors:
[
{
code: string ,
message: string ,
details:
[
string ,
]
,
}
,
]
,
}
,
mountConfiguration:
[
{
azureBlobFileSystemConfiguration:
{
accountName: string ,
containerName: string ,
accountKey: string ,
sasKey: string ,
blobfuseOptions: string ,
relativeMountPath: string ,
identityReference:
{
resourceId: string ,
}
,
}
,
nfsMountConfiguration:
{
source: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
cifsMountConfiguration:
{
userName: string ,
source: string ,
relativeMountPath: string ,
mountOptions: string ,
password: string ,
}
,
azureFileShareConfiguration:
{
accountName: string ,
azureFileUrl: string ,
accountKey: string ,
relativeMountPath: string ,
mountOptions: string ,
}
,
}
,
]
,
upgradePolicy:
{
mode: enum ,
automaticOSUpgradePolicy:
{
disableAutomaticRollback: boolean ,
enableAutomaticOSUpgrade: boolean ,
useRollingUpgradePolicy: boolean ,
osRollingUpgradeDeferral: boolean ,
}
,
rollingUpgradePolicy:
{
enableCrossZoneUpgrade: boolean ,
maxBatchInstancePercent: integer ,
maxUnhealthyInstancePercent: integer ,
maxUnhealthyUpgradedInstancePercent: integer ,
pauseTimeBetweenBatches: string ,
prioritizeUnhealthyInstances: boolean ,
rollbackFailedInstancesOnPolicyBreach: boolean ,
}
,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
BatchAccount_ListOutboundNetworkDependenciesEndpoints (new)
Description Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch service administration. If you are deploying a Pool inside of a virtual network that you specify, you must make sure your network allows outbound access to these endpoints. Failure to allow access to these endpoints may cause Batch to mark the affected nodes as unusable. For more information about creating a pool inside of a virtual network, see https://learn.microsoft.com/azure/batch/batch-virtual-network.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints
{
resourceGroupName: string ,
accountName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
category: string ,
endpoints:
[
{
domainName: string ,
description: string ,
endpointDetails:
[
{
port: integer ,
}
,
]
,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
NetworkSecurityPerimeter_ListConfigurations (new)
Description Lists all of the NSP configurations in the specified account.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
provisioningIssues:
[
{
name: string ,
properties:
{
issueType: enum ,
severity: enum ,
description: string ,
suggestedResourceIds:
[
string ,
]
,
suggestedAccessRules:
[
{
name: string ,
properties:
{
direction: enum ,
addressPrefixes:
[
string ,
]
,
subscriptions:
[
{
id: string ,
}
,
]
,
networkSecurityPerimeters:
[
{
id: string ,
perimeterGuid: string ,
location: string ,
}
,
]
,
fullyQualifiedDomainNames:
[
string ,
]
,
emailAddresses:
[
string ,
]
,
phoneNumbers:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
networkSecurityPerimeter:
{
id: string ,
perimeterGuid: string ,
location: string ,
}
,
resourceAssociation:
{
name: string ,
accessMode: enum ,
}
,
profile:
{
name: string ,
accessRulesVersion: integer ,
accessRules:
[
{
name: string ,
properties:
{
direction: enum ,
addressPrefixes:
[
string ,
]
,
subscriptions:
[
{
id: string ,
}
,
]
,
networkSecurityPerimeters:
[
{
id: string ,
perimeterGuid: string ,
location: string ,
}
,
]
,
fullyQualifiedDomainNames:
[
string ,
]
,
emailAddresses:
[
string ,
]
,
phoneNumbers:
[
string ,
]
,
}
,
}
,
]
,
diagnosticSettingsVersion: integer ,
enabledLogCategories:
[
string ,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
NetworkSecurityPerimeter_GetConfiguration (new)
Description Gets information about the specified NSP configuration.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
networkSecurityPerimeterConfigurationName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
provisioningIssues:
[
{
name: string ,
properties:
{
issueType: enum ,
severity: enum ,
description: string ,
suggestedResourceIds:
[
string ,
]
,
suggestedAccessRules:
[
{
name: string ,
properties:
{
direction: enum ,
addressPrefixes:
[
string ,
]
,
subscriptions:
[
{
id: string ,
}
,
]
,
networkSecurityPerimeters:
[
{
id: string ,
perimeterGuid: string ,
location: string ,
}
,
]
,
fullyQualifiedDomainNames:
[
string ,
]
,
emailAddresses:
[
string ,
]
,
phoneNumbers:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
networkSecurityPerimeter:
{
id: string ,
perimeterGuid: string ,
location: string ,
}
,
resourceAssociation:
{
name: string ,
accessMode: enum ,
}
,
profile:
{
name: string ,
accessRulesVersion: integer ,
accessRules:
[
{
name: string ,
properties:
{
direction: enum ,
addressPrefixes:
[
string ,
]
,
subscriptions:
[
{
id: string ,
}
,
]
,
networkSecurityPerimeters:
[
{
id: string ,
perimeterGuid: string ,
location: string ,
}
,
]
,
fullyQualifiedDomainNames:
[
string ,
]
,
emailAddresses:
[
string ,
]
,
phoneNumbers:
[
string ,
]
,
}
,
}
,
]
,
diagnosticSettingsVersion: integer ,
enabledLogCategories:
[
string ,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
NetworkSecurityPerimeter_ReconcileConfiguration (new)
Description Reconciles the specified NSP configuration.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile
{
subscriptionId: string ,
resourceGroupName: string ,
accountName: string ,
networkSecurityPerimeterConfigurationName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}