|
27 | 27 | - $autoUser = New-Object Microsoft.Azure.Commands.Batch.Models.PSAutoUserSpecification -ArgumentList @("Task", "Admin")
|
28 | 28 | - $userIdentity = New-Object Microsoft.Azure.Commands.Batch.Models.PSUserIdentity $autoUser
|
29 | 29 | - Added the `AuthenticationTokenSettings` parameter. This parameter allows you to request the Batch service provide an authentication token to the task when it runs, avoiding the need to pass Batch account keys to the task in order to issue requests to the Batch service.
|
30 |
| -* Added the `UserAccounts` parameter to `New-AzureBatchPool`. |
31 |
| - - This parameter defines user accounts created on each node in the pool. |
| 30 | + - Added the `ContainerSettings` parameter. |
| 31 | + - This parameter allows you to request the Batch service run the task inside a container. |
| 32 | + - Added the `OutputFiles` parameter. |
| 33 | + - This parameter allows you to configure the task to upload files to Azure Storage after it has finished. |
| 34 | +* Updated parameters to `New-AzureBatchPool`. |
| 35 | + - Added the `UserAccounts` parameter. |
| 36 | + - This parameter defines user accounts created on each node in the pool. |
| 37 | + - Added `TargetLowPriorityComputeNodes` and renamed `TargetDedicated` to `TargetDedicatedComputeNodes`. |
| 38 | + - A `TargetDedicated` alias was created for the `TargetDedicatedComputeNodes` parameter. |
| 39 | + - Added the `NetworkConfiguration` parameter. |
| 40 | + - This parameter allows you to configure the pools network settings. |
| 41 | +* Updated parameters to `New-AzureBatchCertificate`. |
| 42 | + - The `Password` parameter is now a `SecureString`. |
| 43 | +* Updated parameters to `New-AzureBatchComputeNodeUser`. |
| 44 | + - The `Password` parameter is now a `SecureString`. |
| 45 | +* Updated parameters to `Set-AzureBatchComputeNodeUser`. |
| 46 | + - The `Password` parameter is now a `SecureString`. |
32 | 47 | * Renamed the `Name` parameter to `Path` on `Get-AzureBatchNodeFile`, `Get-AzureBatchNodeFileContent`, and `Remove-AzureBatchNodeFile`.
|
33 | 48 | - A `Name` alias was created for the `Path` parameter.
|
34 | 49 | * Changes to objects:
|
35 | 50 | - Removed the `RunElevated` property on `PSCloudTask`, `PSStartTask`, `PSJobManagerTask`, `PSJobPreparationTask`, and `PSJobReleaseTask`. The `UserIdentity` property has been added to replace `RunElevated`. Equivalent behavior to `RunElevated = $true` can be achieved by constructing a `PSUserIdentity` as shown below:
|
36 | 51 | - $autoUser = New-Object Microsoft.Azure.Commands.Batch.Models.PSAutoUserSpecification -ArgumentList @("Task", "Admin")
|
37 | 52 | - $userIdentity = New-Object Microsoft.Azure.Commands.Batch.Models.PSUserIdentity $autoUser
|
38 | 53 | - Added the `AuthenticationTokenSettings` property to `PSCloudTask` and `PSJobManagerTask`.
|
| 54 | + - Added the `OutputFiles` property to `PSCloudTask`, and `PSJobManagerTask`. |
| 55 | + - Added the `ContainerSettings` property to `PSCloudTask`, `PSStartTask`, `PSJobManagerTask`, `PSJobPreparationTask`, and `PSJobReleaseTask`. |
| 56 | + - Added the `AllowLowPriorityNode` property to `PSJobManagerTask`. |
| 57 | + - Renamed the `SchedulingError` property on `PSJobPreparationTaskExecutionInformation`, `PSJobReleaseTaskExecutionInformation`, `PSStartTaskInformation`, `PSSubtaskInformation`, and `PSTaskExecutionInformation` to `FailureInformation`. |
| 58 | + - `FailureInformation` is returned any time there is a task failure. This includes all previous scheduling error cases, as well as nonzero task exit codes, and file upload failures from the new output files feature. |
| 59 | + - Renamed `PSTaskSchedulingError` to `PSTaskFailureInformation`. |
| 60 | + - Added the `ContainerInformation` and `Result` properties to `PSJobPreparationTaskExecutionInformation`, `PSJobReleaseTaskExecutionInformation`, `PSStartTaskInformation`, `PSSubtaskInformation`, and `PSTaskExecutionInformation`. |
39 | 61 | - Added the `UserAccounts` property to `PSCloudPool` and `PSPoolSpecification`.
|
| 62 | + - Added the `TargetLowPriorityComputeNodes` property to `PSCloudPool` and `PSPoolSpecification`, and renamed `TargetDedicated` to `TargetDedicatedComputeNodes`. |
40 | 63 | - Renamed the `Name` property on `PSNodeFile` to `Path`.
|
| 64 | + - Added the `EndpointConfiguration` and `IsDedicated` property to `PSComputeNode`. |
| 65 | + - Renamed the `SchedulingError` property on `PSExitConditions` to `PreProcessingError`. |
| 66 | + - Added the `FileUploadError` to `PSExitConditions`. |
41 | 67 | - Added the `DependencyAction` property to `PSExitOptions`.
|
42 |
| - - Added the `OSDisk` property to `PSVirtualMachineConfiguration`. Note that in order to allow deploying nodes using custom VHDs, the Batch account being used must have been created with `PoolAllocationMode = UserSubscription`. |
| 68 | + - Added the `OSDisk`, `ContainerConfiguration`, `DataDisks`, and `LicenseType` properties to `PSVirtualMachineConfiguration`. |
| 69 | + - Added the `VirtualMachineImageId` property to `PSImageReference`. Note that in order to allow deploying nodes using custom VHDs, the `BatchAccountContext` must be using Azure Active Directory authentication. |
| 70 | + - Added the `OnAllTasksComplete` and `OnTaskFailure` properties to `PSJobSpecification`. |
| 71 | + - Added the `EndpointConfiguration` property to `PSNetworkConfiguration`. |
| 72 | + - Renamed `ResizeError` to `ResizeErrors` on `PSCloudPool`, and it is now a collection. |
| 73 | + - `PSMultiInstanceSettings` constructor no longer takes a required `numberOfInstances` parameter, instead it takes a required `coordinationCommandLine` parameter. |
| 74 | + |
43 | 75 | * Added support for Azure Active Directory based authentication.
|
44 | 76 | - To use Azure Active Directory authentication, retrieve a `BatchAccountContext` object using the `Get-AzureRmBatchAccount` cmdlet, and supply this `BatchAccountContext` to the `-BatchContext` parameter of a Batch service cmdlet. Azure Active Directory authentication is mandatory for accounts with `PoolAllocationMode = UserSubscription`.
|
45 | 77 | - For existing accounts or for new accounts created with `PoolAllocationMode = BatchService`, you may continue to use shared key authentication by retrieving a `BatchAccountContext` object using the `Get-AzureRmBatchAccoutKeys` cmdlet.
|
|
0 commit comments