- Updated Azure.Core from 1.47.3 to 1.50.0
- Updated the implementation of 'New-AzBatchApplicationPackage' cmdlet to not call 'Get-AzBatchApplicationPackage' to retrieve storage keys for security improvements. No behavior changes to the cmdlet.
- Upgraded API version from 2022-10-01 to 2024-07-01.
- Preannounced breaking changes. Please refer to https://go.microsoft.com/fwlink/?linkid=2333229
- Upgraded nuget package to signed package.
- Fixed 'Object reference not set to an instance of an object' error when setting null values inside job
CommonEnvironmentSettingsproperty.
- Migrate Batch SDK to generated SDK
- Removed "Microsoft.Azure.Management.Batch" Version="15.0.0" PackageReference
- Added Batch.Management.Sdk ProjectReference
- Fixed secrets exposure in example documentation.
- Fixed a bug where
New-AzBatchApplicationPackagewouldn't work if the applicationAllowUpdatesparameter was set to$false.
- Removed the out-of-date breaking change message for
Get-AzBatchCertificateandNew-AzBatchCertificate.
- Added new properties
ResourceTagsandUpgradePolicytoPSCloudPoolandPSPoolSpecification. - Added new property
UpgradingOStoPSNodeCounts. - Added new properties
Caching,DiskSizeGB,ManagedDiskandWriteAcceleratorEnabledtoPSOSDisk. - Added new properties
SecurityProfileandServiceArtifactReferencetoPSVirtualMachineConfigurations. - Added new property
ScaleSetVmResourceIdtoPSVirtualMachineInfo.
- Removed cmdlets:
Get-AzBatchPoolStatisticandGet-AzBatchJobStatistic - Deprecated cmdlets:
Get-AzBatchCertificateandNew-AzBatchCertificate- The Batch account certificates feature is deprecated. Please transition to using Azure Key Vault to securely access and install certificates on your Batch pools, learn more
- Added new property
Encryptionof typeEncryptionPropertiestoAccountCreateParameters.- Configures how customer data is encrypted inside the Batch account.
- Added new properties
CurrentNodeCommunicationMode(read only) andTargetCommunicationModeof typeNodeCommunicationModetoPSCloudPool.- Valid values for
NodeCommunicationMode: Default, Classic, Simplified - When the
PSCloudPoolis updated with a newTargetCommunicationModevalue, 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'sActionRequiredproperty 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.BatchSDK 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
IdentityReferenceproperty to the following models to support accessing resources via managed identity:PSAzureBlobFileSystemConfigurationPSOutputFileBlobContainerDestinationPSContainerRegistryPSResourceFilePSUploadBatchServiceLogsConfiguration
- Added new
extensionsproperty toPSVirtualMachineConfigurationonPSCloudPoolto specify virtual machine extensions for nodes - Added the ability to specify availability zones using a new property
NodePlacementConfigurationonVirtualMachineConfiguration - Added new
OSDiskproperty toVirtualMachineConfiguration, which contains settings for the operating system disk of the Virtual Machine.- The
Placementproperty onPSDiffDiskSettingsspecifies 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
MaxParallelTasksproperty onPSCloudJobto control the maximum allowed tasks per job (defaults to -1, meaning unlimited). - Added
VirtualMachineInfoproperty onPSComputeNodewhich contains information about the current state of the virtual machine, including the exact version of the marketplace image the VM is using. - Added
RecurrenceIntervalproperty toPSScheduleto 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.BatchSDK version 14.0.0.- Added a new
Get-AzBatchSupportedVirtualMachineSkucommand, which gets the list of Batch-supported Virtual Machine VM sizes available at a given location. - Added a new
Get-AzBatchTaskSlotCountcommand, 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.BatchSDK version to 11.0.0 - Added the ability to set the BatchAccount Identity in the
New-AzBatchAccountcmdlet
- Updated Az.Batch to use
Microsoft.Azure.BatchSDK version 13.0.0 andMicrosoft.Azure.Management.BatchSDK version 9.0.0. - Added the ability to select the kind of certificate being added using the new
-CertificateKindparameter toNew-AzBatchCertificate. - Removed
ApplicationPackagesproperty fromPSApplicationwhich 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, theVirtualMachineImageIdproperty ofPSImageReferencecan 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 newPublicIPAddressConfigurationproperty ofPSNetworkConfiguration.- The
PublicIPsproperty ofPSNetworkConfigurationhas moved in toPSPublicIPAddressConfigurationas well. This property can only be specified ifIPAddressProvisioningTypeisUserManaged.
- The
- Update references in .psd1 to use relative path
- Fix issue #10602, where New-AzBatchPool did not properly send
VirtualMachineConfiguration.ContainerConfigurationorVirtualMachineConfiguration.DataDisksto the server.
- Renamed
CoreQuotaonBatchAccountContexttoDedicatedCoreQuota. There is also a newLowPriorityCoreQuota.- This impacts Get-AzBatchAccount.
- New-AzBatchTask
-ResourceFileparameter now takes a collection ofPSResourceFileobjects, which can be constructed using the new New-AzBatchResourceFile cmdlet. - New New-AzBatchResourceFile cmdlet to help create
PSResourceFileobjects. These can be supplied to New-AzBatchTask on the-ResourceFileparameter.- This supports two new kinds of resource file in addition to the existing
HttpUrlway:AutoStorageContainerNamebased resource files download an entire auto-storage container to the Batch node.StorageContainerUrlbased 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
ApplicationPackagesproperty ofPSApplicationreturned 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
ApplicationIdtoApplicationNameon Get-AzBatchApplicationPackage, New-AzBatchApplicationPackage, Remove-AzBatchApplicationPackage, Get-AzBatchApplication, New-AzBatchApplication, Remove-AzBatchApplication, and Set-AzBatchApplication.ApplicationIdnow is an alias ofApplicationName.
- Added new
PSWindowsUserConfigurationproperty toPSUserAccount. - Renamed
VersiontoNameonPSApplicationPackage. - Renamed
BlobSourcetoHttpUrlonPSResourceFile. - Removed
OSDiskproperty fromPSVirtualMachineConfiguration. - Removed Set-AzBatchPoolOSVersion. This operation is no longer supported.
- Removed
TargetOSVersionfromPSCloudServiceConfiguration. - Renamed
CurrentOSVersiontoOSVersiononPSCloudServiceConfiguration. - Removed
DataEgressGiBandDataIngressGiBfromPSPoolUsageMetrics. - 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
CapabilitiesandBatchSupportEndOfLifefor each image is also included.
- Added ability to mount remote file-systems on each node of a pool via the new
MountConfigurationparameter 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
SourcePortRangesproperty 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
WorkingDirectoryproperty onPSTaskContainerSettings. - Added ability to specify a collection of public IPs on
PSNetworkConfigurationvia the newPublicIPsproperty. This guarantees nodes in the Pool will have an IP from the list user provided IPs. - When not specified, the default value of
WaitForSuccessonPSSTartTaskis now$True(was$False). - When not specified, the default value of
ScopeonPSAutoUserSpecificationis nowPool(wasTaskon Windows andPoolon 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.Batchmodule - 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
NodeAgentInformationproperty onPSComputeNode. - Removed the
ValidationStatusproperty fromPSTaskCounts. - The
Cachingdefault forPSDataDiskis nowReadWriteinstead ofNone.