Skip to content

Commit f75d8e2

Browse files
committed
Address PR comments
1 parent d911832 commit f75d8e2

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

src/ResourceManager/AzureBatch/ChangeLog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
- Additional information about change #1
1919
-->
2020
## Current Release
21+
* Release new cmdlet Get-AzureBatchPoolNodeCounts
22+
* Release new cmdlet Start-AzureBatchComputeNodeServiceLogUpload
2123

2224
## Version 4.0.7
2325
* Set minimum dependency of module to PowerShell 5.0
2426
* Updated New-AzureBatchPool documentation to remove deprecated example
25-
* Release new cmdlet Get-AzureBatchPoolNodeCounts
26-
* Release new cmdlet Start-AzureBatchComputeNodeServiceLogUpload
2727

2828
## Version 4.0.6
2929
* Updated to the latest version of the Azure ClientRuntime

src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@
6161
<HintPath>..\..\..\packages\WindowsAzure.Storage.6.2.0\lib\net40\Microsoft.WindowsAzure.Storage.dll</HintPath>
6262
<Private>True</Private>
6363
</Reference>
64-
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
65-
<HintPath>..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
66-
</Reference>
67-
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
68-
<SpecificVersion>False</SpecificVersion>
69-
</Reference>
7064
<Reference Include="System.Spatial, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7165
<HintPath>..\..\..\packages\System.Spatial.5.6.4\lib\net40\System.Spatial.dll</HintPath>
7266
</Reference>

src/ResourceManager/AzureBatch/Commands.Batch/ComputeNodes/StartBatchComputeNodeServiceLogUploadCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class StartBatchComputeNodeServiceLogUploadCommand : BatchObjectModelCmdl
3737
[ValidateNotNullOrEmpty]
3838
public string ComputeNodeId { get; set; }
3939

40-
[Parameter(Position = 1, ParameterSetName = Constants.ParentObjectParameterSet, ValueFromPipeline = true)]
40+
[Parameter(Position = 1, ParameterSetName = Constants.ParentObjectParameterSet, Mandatory = true, ValueFromPipeline = true)]
4141
[ValidateNotNullOrEmpty]
4242
public PSComputeNode ComputeNode { get; set; }
4343

@@ -51,7 +51,7 @@ public class StartBatchComputeNodeServiceLogUploadCommand : BatchObjectModelCmdl
5151
[ValidateNotNullOrEmpty]
5252
public DateTime StartTime { get; set; }
5353

54-
[Parameter(Position = 4, Mandatory = false,
54+
[Parameter(Mandatory = false,
5555
HelpMessage = "The end of the time range from which to upload Batch Service log file(s).")]
5656
public DateTime? EndTime { get; set; }
5757

src/ResourceManager/AzureBatch/Commands.Batch/Pools/GetBatchPoolNodeCountsCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ public class GetBatchPoolNodeCountsCommand : BatchObjectModelCmdletBase
2727
{
2828
private const int defaultMaxCount = 10;
2929

30-
[Parameter(Position = 0, ParameterSetName = Constants.PoolIdParameterSet, Mandatory = false,
30+
[Parameter(ParameterSetName = Constants.PoolIdParameterSet, Mandatory = false,
3131
ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the pool for which to get node counts.")]
3232
[ValidateNotNullOrEmpty]
3333
public string PoolId { get; set; }
3434

35-
[Parameter(Position = 0, ParameterSetName = Constants.ParentObjectParameterSet,
35+
[Parameter(ParameterSetName = Constants.ParentObjectParameterSet,
3636
ValueFromPipeline = true, Mandatory = false, HelpMessage = "The pool object for which to get node counts.")]
3737
[ValidateNotNullOrEmpty]
3838
public PSCloudPool Pool { get; set; }

0 commit comments

Comments
 (0)