- Added new property
Encryption
of typeEncryptionProperties
toAccountCreateParameters
.- Configures how customer data is encrypted inside the Batch account.
- Added new properties
CurrentNodeCommunicationMode
(read only) andTargetCommunicationMode
of typeNodeCommunicationMode
toPSCloudPool
.- Valid values for
NodeCommunicationMode
: Default, Classic, Simplified - When the
PSCloudPool
is updated with a newTargetCommunicationMode
value, the Batch service will attempt to update the pool to the new value the next time the pool is resized down to zero compute nodes and back up.
- Valid values for
PSPrivateLinkServiceConnectionState
'sActionRequired
property required has been renamed toActionsRequired
. The old property has been marked as obsolete, and now just returns the new property. This should not impact existing consumers.
- Fixed a bug wherein creating a new JobSchedule does not properly submit Output Files.
- Updated Az.Batch to use
Microsoft.Azure.Batch
SDK version 15.3.0- Add ability to assign user-assigned managed identities to
PSCloudPool
. These identities will be made available on each node in the pool, and can be used to access various resources. - Added
IdentityReference
property to the following models to support accessing resources via managed identity:PSAzureBlobFileSystemConfiguration
PSOutputFileBlobContainerDestination
PSContainerRegistry
PSResourceFile
PSUploadBatchServiceLogsConfiguration
- Added new
extensions
property toPSVirtualMachineConfiguration
onPSCloudPool
to specify virtual machine extensions for nodes - Added the ability to specify availability zones using a new property
NodePlacementConfiguration
onVirtualMachineConfiguration
- Added new
OSDisk
property toVirtualMachineConfiguration
, which contains settings for the operating system disk of the Virtual Machine.- The
Placement
property onPSDiffDiskSettings
specifies the ephemeral disk placement for operating system disks for all VMs in the pool. Setting it to "CacheDisk" will store the ephemeral OS disk on the VM cache.
- The
- Added
MaxParallelTasks
property onPSCloudJob
to control the maximum allowed tasks per job (defaults to -1, meaning unlimited). - Added
VirtualMachineInfo
property onPSComputeNode
which contains information about the current state of the virtual machine, including the exact version of the marketplace image the VM is using. - Added
RecurrenceInterval
property toPSSchedule
to control the interval between the start times of two successive job under a job schedule. - Added a new 'Get-AzBatchComputeNodeExtension' command, which gets a specific extension by name, or a list of all extensions, for a given compute node.
- Add ability to assign user-assigned managed identities to
- Updated Az.Batch
Microsoft.Azure.Management.Batch
SDK version 14.0.0.- Added a new
Get-AzBatchSupportedVirtualMachineSku
command, which gets the list of Batch-supported Virtual Machine VM sizes available at a given location. - Added a new
Get-AzBatchTaskSlotCount
command, which gets the number of task slots required by a given job. - 'MaxTasksPerComputeNode' has been renamed to 'TaskSlotsPerNode', to match a change in functionality.
- 'MaxTasksPerComputeNode' will remain as an alias but will be removed in a coming update.
- Added a new
- Removed assembly
System.Text.Encodings.Web.dll
[#16062]
- Updated Az.Batch to use
Microsoft.Azure.Management.Batch
SDK version to 11.0.0 - Added the ability to set the BatchAccount Identity in the
New-AzBatchAccount
cmdlet
- Updated Az.Batch to use
Microsoft.Azure.Batch
SDK version 13.0.0 andMicrosoft.Azure.Management.Batch
SDK version 9.0.0. - Added the ability to select the kind of certificate being added using the new
-CertificateKind
parameter toNew-AzBatchCertificate
. - Removed
ApplicationPackages
property fromPSApplication
which was previously always$null
.- The specific packages inside of an application now can be retrieved using
Get-AzBatchApplicationPackage
. For example:Get-AzBatchApplication -AccountName myaccount -ResourceGroupName myresourcegroup -ApplicationId myapplication
.
- The specific packages inside of an application now can be retrieved using
- When creating a pool using
New-AzBatchPool
, theVirtualMachineImageId
property ofPSImageReference
can now only refer to a Shared Image Gallery image. - When creating a pool using
New-AzBatchPool
, the pool can be provisioned without a public IP using the newPublicIPAddressConfiguration
property ofPSNetworkConfiguration
.- The
PublicIPs
property ofPSNetworkConfiguration
has moved in toPSPublicIPAddressConfiguration
as well. This property can only be specified ifIPAddressProvisioningType
isUserManaged
.
- The
- Update references in .psd1 to use relative path
- Fix issue #10602, where New-AzBatchPool did not properly send
VirtualMachineConfiguration.ContainerConfiguration
orVirtualMachineConfiguration.DataDisks
to the server.
- Renamed
CoreQuota
onBatchAccountContext
toDedicatedCoreQuota
. There is also a newLowPriorityCoreQuota
.- This impacts Get-AzBatchAccount.
- New-AzBatchTask
-ResourceFile
parameter now takes a collection ofPSResourceFile
objects, which can be constructed using the new New-AzBatchResourceFile cmdlet. - New New-AzBatchResourceFile cmdlet to help create
PSResourceFile
objects. These can be supplied to New-AzBatchTask on the-ResourceFile
parameter.- This supports two new kinds of resource file in addition to the existing
HttpUrl
way:AutoStorageContainerName
based resource files download an entire auto-storage container to the Batch node.StorageContainerUrl
based resource files download the container specified in the URL to the Batch node.
- This supports two new kinds of resource file in addition to the existing
- Removed
ApplicationPackages
property ofPSApplication
returned by Get-AzBatchApplication.- The specific packages inside of an application now can be retrieved using Get-AzBatchApplicationPackage. For example:
Get-AzBatchApplication -AccountName myaccount -ResourceGroupName myresourcegroup -ApplicationId myapplication
.
- The specific packages inside of an application now can be retrieved using Get-AzBatchApplicationPackage. For example:
- Renamed
ApplicationId
toApplicationName
on Get-AzBatchApplicationPackage, New-AzBatchApplicationPackage, Remove-AzBatchApplicationPackage, Get-AzBatchApplication, New-AzBatchApplication, Remove-AzBatchApplication, and Set-AzBatchApplication.ApplicationId
now is an alias ofApplicationName
.
- Added new
PSWindowsUserConfiguration
property toPSUserAccount
. - Renamed
Version
toName
onPSApplicationPackage
. - Renamed
BlobSource
toHttpUrl
onPSResourceFile
. - Removed
OSDisk
property fromPSVirtualMachineConfiguration
. - Removed Set-AzBatchPoolOSVersion. This operation is no longer supported.
- Removed
TargetOSVersion
fromPSCloudServiceConfiguration
. - Renamed
CurrentOSVersion
toOSVersion
onPSCloudServiceConfiguration
. - Removed
DataEgressGiB
andDataIngressGiB
fromPSPoolUsageMetrics
. - Removed Get-AzBatchNodeAgentSku and replaced it with Get-AzBatchSupportedImage.
- Get-AzBatchSupportedImage returns the same data as Get-AzBatchNodeAgentSku but in a more friendly format.
- New non-verified images are also now returned. Additional information about
Capabilities
andBatchSupportEndOfLife
for each image is also included.
- Added ability to mount remote file-systems on each node of a pool via the new
MountConfiguration
parameter of New-AzBatchPool. - Now support network security rules blocking network access to a pool based on the source port of the traffic. This is done via the
SourcePortRanges
property onPSNetworkSecurityGroupRule
. - When running a container, Batch now supports executing the task in the container working directory or in the Batch task working directory. This is controlled by the
WorkingDirectory
property onPSTaskContainerSettings
. - Added ability to specify a collection of public IPs on
PSNetworkConfiguration
via the newPublicIPs
property. This guarantees nodes in the Pool will have an IP from the list user provided IPs. - When not specified, the default value of
WaitForSuccess
onPSSTartTask
is now$True
(was$False
). - When not specified, the default value of
Scope
onPSAutoUserSpecification
is nowPool
(wasTask
on Windows andPool
on Linux).
- Get-AzBatchNodeAgentSku is deprecated and will be replaced by Get-AzBatchSupportImage in version 2.0.0.
- Fixed typo in help message and documentation to capitalize Windows
- Fixed miscellaneous typos across module
- Updated cmdlets with plural nouns to singular, and deprecated plural names.
- General availability of
Az.Batch
module - Added the ability to see what version of the Azure Batch Node Agent is running on each of the VMs in a pool, via the new
NodeAgentInformation
property onPSComputeNode
. - Removed the
ValidationStatus
property fromPSTaskCounts
. - The
Caching
default forPSDataDisk
is nowReadWrite
instead ofNone
.