Skip to content

Commit d3bfd2b

Browse files
author
jasper-schneider
committed
Help for reboot/reimage and change OS cmdlets
1 parent c1666d7 commit d3bfd2b

File tree

3 files changed

+679
-2
lines changed

3 files changed

+679
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class ResetBatchComputeNodeCommand : BatchObjectModelCmdletBase
3232
[ValidateNotNullOrEmpty]
3333
public string Id { get; set; }
3434

35-
[Parameter(Position = 0, ParameterSetName = Constants.ParentObjectParameterSet, ValueFromPipeline = true)]
35+
[Parameter(Position = 0, ParameterSetName = Constants.InputObjectParameterSet, ValueFromPipeline = true)]
3636
[ValidateNotNullOrEmpty]
3737
public PSComputeNode ComputeNode { get; set; }
3838

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class RestartBatchComputeNodeCommand : BatchObjectModelCmdletBase
3232
[ValidateNotNullOrEmpty]
3333
public string Id { get; set; }
3434

35-
[Parameter(Position = 0, ParameterSetName = Constants.ParentObjectParameterSet, ValueFromPipeline = true)]
35+
[Parameter(Position = 0, ParameterSetName = Constants.InputObjectParameterSet, ValueFromPipeline = true)]
3636
[ValidateNotNullOrEmpty]
3737
public PSComputeNode ComputeNode { get; set; }
3838

0 commit comments

Comments
 (0)