BatchPoolOutput interface
A Pool in the Azure Batch service.
Properties
| allocation |
Whether the Pool is resizing. Possible values: "steady", "resizing", "stopping" |
| allocation |
The time at which the Pool entered its current allocation state. |
| application |
The list of Packages to be installed on each Compute Node in the Pool. Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Package references on any given Pool. |
| auto |
The time interval at which to automatically adjust the Pool size according to the autoscale formula. This property is set only if the Pool automatically scales, i.e. enableAutoScale is true. |
| auto |
A formula for the desired number of Compute Nodes in the Pool. This property is set only if the Pool automatically scales, i.e. enableAutoScale is true. |
| auto |
The results and errors from the last execution of the autoscale formula. This property is set only if the Pool automatically scales, i.e. enableAutoScale is true. |
| creation |
The creation time of the Pool. |
| current |
The number of dedicated Compute Nodes currently in the Pool. |
| current |
The number of Spot/Low-priority Compute Nodes currently in the Pool. Spot/Low-priority Compute Nodes which have been preempted are included in this count. |
| display |
The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024. |
| enable |
Whether the Pool size should automatically adjust over time. If false, at least one of targetDedicatedNodes and targetLowPriorityNodes must be specified. If true, the autoScaleFormula property is required and the Pool automatically resizes according to the formula. The default value is false. |
| enable |
Whether the Pool permits direct communication between Compute Nodes. Enabling inter-node communication limits the maximum size of the Pool due to deployment restrictions on the Compute Nodes of the Pool. This may result in the Pool not reaching its desired size. The default value is false. |
| e |
The ETag of the Pool. This is an opaque string. You can use it to detect whether the Pool has changed between requests. In particular, you can be pass the ETag when updating a Pool to specify that your changes should take effect only if nobody else has modified the Pool in the meantime. |
| id | A string that uniquely identifies the Pool within the Account. The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case). |
| identity | The identity of the Batch pool, if configured. The list of user identities associated with the Batch pool. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. |
| last |
The last modified time of the Pool. This is the last time at which the Pool level data, such as the targetDedicatedNodes or enableAutoscale settings, changed. It does not factor in node-level changes such as a Compute Node changing state. |
| metadata | A list of name-value pairs associated with the Pool as metadata. |
| mount |
Mount storage using specified file system for the entire lifetime of the pool. Mount the storage using Azure fileshare, NFS, CIFS or Blobfuse based file system. |
| network |
The network configuration for the Pool. |
| resize |
A list of errors encountered while performing the last resize on the Pool. This property is set only if one or more errors occurred during the last Pool resize, and only when the Pool allocationState is Steady. |
| resize |
The timeout for allocation of Compute Nodes to the Pool. This is the timeout for the most recent resize operation. (The initial sizing when the Pool is created counts as a resize.) The default value is 15 minutes. |
| start |
A Task specified to run on each Compute Node as it joins the Pool. |
| state | The current state of the Pool. Possible values: "active", "deleting" |
| state |
The time at which the Pool entered its current state. |
| stats | Utilization and resource usage statistics for the entire lifetime of the Pool. This property is populated only if the BatchPool was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes. |
| target |
The desired number of dedicated Compute Nodes in the Pool. |
| target |
The desired number of Spot/Low-priority Compute Nodes in the Pool. |
| task |
How Tasks are distributed across Compute Nodes in a Pool. If not specified, the default is spread. |
| task |
The number of task slots that can be used to run concurrent tasks on a single compute node in the pool. The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256. |
| upgrade |
The upgrade policy for the Pool. Describes an upgrade policy - automatic, manual, or rolling. |
| url | The URL of the Pool. |
| user |
The list of user Accounts to be created on each Compute Node in the Pool. |
| virtual |
The virtual machine configuration for the Pool. This property must be specified. |
| vm |
The size of virtual machines in the Pool. All virtual machines in a Pool are the same size. For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes). |
Property Details
allocationState
Whether the Pool is resizing.
Possible values: "steady", "resizing", "stopping"
allocationState?: string
Property Value
string
allocationStateTransitionTime
The time at which the Pool entered its current allocation state.
allocationStateTransitionTime?: string
Property Value
string
applicationPackageReferences
The list of Packages to be installed on each Compute Node in the Pool. Changes to Package references affect all new Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Package references on any given Pool.
applicationPackageReferences?: BatchApplicationPackageReferenceOutput[]
Property Value
autoScaleEvaluationInterval
The time interval at which to automatically adjust the Pool size according to the autoscale formula. This property is set only if the Pool automatically scales, i.e. enableAutoScale is true.
autoScaleEvaluationInterval?: string
Property Value
string
autoScaleFormula
A formula for the desired number of Compute Nodes in the Pool. This property is set only if the Pool automatically scales, i.e. enableAutoScale is true.
autoScaleFormula?: string
Property Value
string
autoScaleRun
The results and errors from the last execution of the autoscale formula. This property is set only if the Pool automatically scales, i.e. enableAutoScale is true.
autoScaleRun?: AutoScaleRunOutput
Property Value
creationTime
The creation time of the Pool.
creationTime: string
Property Value
string
currentDedicatedNodes
The number of dedicated Compute Nodes currently in the Pool.
currentDedicatedNodes: number
Property Value
number
currentLowPriorityNodes
The number of Spot/Low-priority Compute Nodes currently in the Pool. Spot/Low-priority Compute Nodes which have been preempted are included in this count.
currentLowPriorityNodes: number
Property Value
number
displayName
The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
displayName?: string
Property Value
string
enableAutoScale
Whether the Pool size should automatically adjust over time. If false, at least one of targetDedicatedNodes and targetLowPriorityNodes must be specified. If true, the autoScaleFormula property is required and the Pool automatically resizes according to the formula. The default value is false.
enableAutoScale?: boolean
Property Value
boolean
enableInterNodeCommunication
Whether the Pool permits direct communication between Compute Nodes. Enabling inter-node communication limits the maximum size of the Pool due to deployment restrictions on the Compute Nodes of the Pool. This may result in the Pool not reaching its desired size. The default value is false.
enableInterNodeCommunication?: boolean
Property Value
boolean
eTag
The ETag of the Pool. This is an opaque string. You can use it to detect whether the Pool has changed between requests. In particular, you can be pass the ETag when updating a Pool to specify that your changes should take effect only if nobody else has modified the Pool in the meantime.
eTag: string
Property Value
string
id
A string that uniquely identifies the Pool within the Account. The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case).
id: string
Property Value
string
identity
The identity of the Batch pool, if configured. The list of user identities associated with the Batch pool. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
identity?: BatchPoolIdentityOutput
Property Value
lastModified
The last modified time of the Pool. This is the last time at which the Pool level data, such as the targetDedicatedNodes or enableAutoscale settings, changed. It does not factor in node-level changes such as a Compute Node changing state.
lastModified: string
Property Value
string
metadata
A list of name-value pairs associated with the Pool as metadata.
metadata?: BatchMetadataItemOutput[]
Property Value
mountConfiguration
Mount storage using specified file system for the entire lifetime of the pool. Mount the storage using Azure fileshare, NFS, CIFS or Blobfuse based file system.
mountConfiguration?: MountConfigurationOutput[]
Property Value
networkConfiguration
The network configuration for the Pool.
networkConfiguration?: NetworkConfigurationOutput
Property Value
resizeErrors
A list of errors encountered while performing the last resize on the Pool. This property is set only if one or more errors occurred during the last Pool resize, and only when the Pool allocationState is Steady.
resizeErrors?: ResizeErrorOutput[]
Property Value
resizeTimeout
The timeout for allocation of Compute Nodes to the Pool. This is the timeout for the most recent resize operation. (The initial sizing when the Pool is created counts as a resize.) The default value is 15 minutes.
resizeTimeout?: string
Property Value
string
startTask
A Task specified to run on each Compute Node as it joins the Pool.
startTask?: BatchStartTaskOutput
Property Value
state
The current state of the Pool.
Possible values: "active", "deleting"
state: string
Property Value
string
stateTransitionTime
The time at which the Pool entered its current state.
stateTransitionTime: string
Property Value
string
stats
Utilization and resource usage statistics for the entire lifetime of the Pool. This property is populated only if the BatchPool was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.
stats?: BatchPoolStatisticsOutput
Property Value
targetDedicatedNodes
The desired number of dedicated Compute Nodes in the Pool.
targetDedicatedNodes?: number
Property Value
number
targetLowPriorityNodes
The desired number of Spot/Low-priority Compute Nodes in the Pool.
targetLowPriorityNodes?: number
Property Value
number
taskSchedulingPolicy
How Tasks are distributed across Compute Nodes in a Pool. If not specified, the default is spread.
taskSchedulingPolicy?: BatchTaskSchedulingPolicyOutput
Property Value
taskSlotsPerNode
The number of task slots that can be used to run concurrent tasks on a single compute node in the pool. The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256.
taskSlotsPerNode?: number
Property Value
number
upgradePolicy
The upgrade policy for the Pool. Describes an upgrade policy - automatic, manual, or rolling.
upgradePolicy?: UpgradePolicyOutput
Property Value
url
The URL of the Pool.
url: string
Property Value
string
userAccounts
The list of user Accounts to be created on each Compute Node in the Pool.
userAccounts?: UserAccountOutput[]
Property Value
virtualMachineConfiguration
The virtual machine configuration for the Pool. This property must be specified.
virtualMachineConfiguration?: VirtualMachineConfigurationOutput
Property Value
vmSize
The size of virtual machines in the Pool. All virtual machines in a Pool are the same size. For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes).
vmSize: string
Property Value
string