Skip to content

Commit 635b23b

Browse files
author
jasper-schneider
committed
Update Batch cmdlet help
1 parent 01a1ed5 commit 635b23b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2196
-2370
lines changed

src/ResourceManager/Batch/Commands.Batch/ComputeNodeUsers/NewBatchComputeNodeUserCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ namespace Microsoft.Azure.Commands.Batch
2424
[Cmdlet(VerbsCommon.New, Constants.AzureBatchComputeNodeUser)]
2525
public class NewBatchComputeNodeUserCommand : BatchObjectModelCmdletBase
2626
{
27-
[Parameter(Position = 0, ParameterSetName = Constants.IdParameterSet, Mandatory = true, HelpMessage = "The identifier of the pool containing the compute node to create the user on.")]
27+
[Parameter(Position = 0, ParameterSetName = Constants.IdParameterSet, Mandatory = true, HelpMessage = "The id of the pool containing the compute node to create the user on.")]
2828
[ValidateNotNullOrEmpty]
2929
public string PoolId { get; set; }
3030

31-
[Parameter(Position = 1, ParameterSetName = Constants.IdParameterSet, Mandatory = true, HelpMessage = "The identifier of the compute node to create the user on.")]
31+
[Parameter(Position = 1, ParameterSetName = Constants.IdParameterSet, Mandatory = true, HelpMessage = "The id of the compute node to create the user on.")]
3232
[ValidateNotNullOrEmpty]
3333
public string ComputeNodeId { get; set; }
3434

src/ResourceManager/Batch/Commands.Batch/ComputeNodeUsers/RemoveBatchComputeNodeUserCommand.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ namespace Microsoft.Azure.Commands.Batch
2424
[Cmdlet(VerbsCommon.Remove, Constants.AzureBatchComputeNodeUser)]
2525
public class RemoveBatchComputeNodeUserCommand : BatchObjectModelCmdletBase
2626
{
27-
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the pool that contains the compute node.")]
27+
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the pool that contains the compute node.")]
2828
[ValidateNotNullOrEmpty]
2929
public string PoolId { get; set; }
3030

31-
[Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the compute node that contains the user.")]
31+
[Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the compute node that contains the user.")]
3232
[ValidateNotNullOrEmpty]
3333
public string ComputeNodeId { get; set; }
3434

35-
[Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the user to delete.")]
35+
[Parameter(Position = 2, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The name of the compute node user to delete.")]
3636
[ValidateNotNullOrEmpty]
3737
public string Name { get; set; }
3838

src/ResourceManager/Batch/Commands.Batch/ComputeNodes/GetBatchComputeNodeCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class GetBatchComputeNodeCommand : BatchObjectModelCmdletBase
2525
{
2626
private int maxCount = Constants.DefaultMaxCount;
2727

28-
[Parameter(Position = 0, ParameterSetName = Constants.IdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the pool.")]
28+
[Parameter(Position = 0, ParameterSetName = Constants.IdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the pool.")]
2929
[Parameter(ParameterSetName = Constants.ODataFilterParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)]
3030
[ValidateNotNullOrEmpty]
3131
public string PoolId { get; set; }

src/ResourceManager/Batch/Commands.Batch/Files/GetBatchNodeFileCommand.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ public class GetBatchNodeFileCommand : BatchObjectModelCmdletBase
3434

3535
private int maxCount = Constants.DefaultMaxCount;
3636

37-
[Parameter(ParameterSetName = TaskAndIdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the job containing the specified target task.")]
37+
[Parameter(ParameterSetName = TaskAndIdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the job containing the specified target task.")]
3838
[Parameter(ParameterSetName = TaskAndODataParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)]
3939
[ValidateNotNullOrEmpty]
4040
public string JobId { get; set; }
4141

42-
[Parameter(ParameterSetName = TaskAndIdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the task.")]
42+
[Parameter(ParameterSetName = TaskAndIdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the task.")]
4343
[Parameter(ParameterSetName = TaskAndODataParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)]
4444
[ValidateNotNullOrEmpty]
4545
public string TaskId { get; set; }
@@ -48,12 +48,12 @@ public class GetBatchNodeFileCommand : BatchObjectModelCmdletBase
4848
[ValidateNotNullOrEmpty]
4949
public PSCloudTask Task { get; set; }
5050

51-
[Parameter(Position = 0, ParameterSetName = ComputeNodeAndIdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the pool which contains the specified target compute node.")]
51+
[Parameter(Position = 0, ParameterSetName = ComputeNodeAndIdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the pool which contains the specified target compute node.")]
5252
[Parameter(Position = 0, ParameterSetName = ComputeNodeAndODataParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)]
5353
[ValidateNotNullOrEmpty]
5454
public string PoolId { get; set; }
5555

56-
[Parameter(Position = 1, ParameterSetName = ComputeNodeAndIdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the compute node.")]
56+
[Parameter(Position = 1, ParameterSetName = ComputeNodeAndIdParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the compute node.")]
5757
[Parameter(Position = 1, ParameterSetName = ComputeNodeAndODataParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)]
5858
[ValidateNotNullOrEmpty]
5959
public string ComputeNodeId { get; set; }

src/ResourceManager/Batch/Commands.Batch/Files/GetBatchNodeFileContentCommand.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ public class GetBatchNodeFileContentCommand : BatchObjectModelCmdletBase
2929
internal const string ComputeNodeAndIdAndPathParameterSet = "ComputeNode_Id_Path";
3030
internal const string ComputeNodeAndIdAndStreamParameterSet = "ComputeNode_Id_Stream";
3131

32-
[Parameter(ParameterSetName = TaskAndIdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the job containing the target task.")]
32+
[Parameter(ParameterSetName = TaskAndIdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the job containing the target task.")]
3333
[Parameter(ParameterSetName = TaskAndIdAndStreamParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)]
3434
[ValidateNotNullOrEmpty]
3535
public string JobId { get; set; }
3636

37-
[Parameter(ParameterSetName = TaskAndIdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the task.")]
37+
[Parameter(ParameterSetName = TaskAndIdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the task.")]
3838
[Parameter(ParameterSetName = TaskAndIdAndStreamParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)]
3939
[ValidateNotNullOrEmpty]
4040
public string TaskId { get; set; }
4141

42-
[Parameter(Position = 0, ParameterSetName = ComputeNodeAndIdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the pool containing the compute node.")]
42+
[Parameter(Position = 0, ParameterSetName = ComputeNodeAndIdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the pool containing the compute node.")]
4343
[Parameter(Position = 0, ParameterSetName = ComputeNodeAndIdAndStreamParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)]
4444
[ValidateNotNullOrEmpty]
4545
public string PoolId { get; set; }
4646

47-
[Parameter(Position = 1, ParameterSetName = ComputeNodeAndIdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the compute node.")]
47+
[Parameter(Position = 1, ParameterSetName = ComputeNodeAndIdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the compute node.")]
4848
[Parameter(Position = 1, ParameterSetName = ComputeNodeAndIdAndStreamParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)]
4949
[ValidateNotNullOrEmpty]
5050
public string ComputeNodeId { get; set; }

src/ResourceManager/Batch/Commands.Batch/Files/GetBatchRemoteDesktopProtocolFileCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ public class GetBatchRemoteDesktopProtocolFileCommand : BatchObjectModelCmdletBa
2727
internal const string IdAndPathParameterSet = "Id_Path";
2828
internal const string IdAndStreamParameterSet = "Id_Stream";
2929

30-
[Parameter(Position = 0, ParameterSetName = IdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the pool which contains the compute node.")]
30+
[Parameter(Position = 0, ParameterSetName = IdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the pool which contains the compute node.")]
3131
[Parameter(Position = 0, ParameterSetName = IdAndStreamParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)]
3232
[ValidateNotNullOrEmpty]
3333
public string PoolId { get; set; }
3434

35-
[Parameter(Position = 1, ParameterSetName = IdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the compute node to which the Remote Desktop Protocol file will point.")]
35+
[Parameter(Position = 1, ParameterSetName = IdAndPathParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the compute node to which the Remote Desktop Protocol file will point.")]
3636
[Parameter(Position = 1, ParameterSetName = IdAndStreamParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true)]
3737
[ValidateNotNullOrEmpty]
3838
public string ComputeNodeId { get; set; }

src/ResourceManager/Batch/Commands.Batch/JobSchedules/NewBatchJobScheduleCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Batch
2323
[Cmdlet(VerbsCommon.New, Constants.AzureBatchJobSchedule)]
2424
public class NewBatchJobScheduleCommand : BatchObjectModelCmdletBase
2525
{
26-
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the job schedule to create.")]
26+
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the job schedule to create.")]
2727
[ValidateNotNullOrEmpty]
2828
public string Id { get; set; }
2929

src/ResourceManager/Batch/Commands.Batch/JobSchedules/RemoveBatchJobScheduleCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Batch
2121
[Cmdlet(VerbsCommon.Remove, Constants.AzureBatchJobSchedule)]
2222
public class RemoveBatchJobScheduleCommand : BatchObjectModelCmdletBase
2323
{
24-
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the job schedule to delete.")]
24+
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the job schedule to delete.")]
2525
[ValidateNotNullOrEmpty]
2626
public string Id { get; set; }
2727

src/ResourceManager/Batch/Commands.Batch/Jobs/NewBatchJobCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.Batch
2323
[Cmdlet(VerbsCommon.New, Constants.AzureBatchJob)]
2424
public class NewBatchJobCommand : BatchObjectModelCmdletBase
2525
{
26-
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the job to create.")]
26+
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the job to create.")]
2727
[ValidateNotNullOrEmpty]
2828
public string Id { get; set; }
2929

src/ResourceManager/Batch/Commands.Batch/Jobs/RemoveBatchJobCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.Batch
2121
[Cmdlet(VerbsCommon.Remove, Constants.AzureBatchJob)]
2222
public class RemoveBatchJobCommand : BatchObjectModelCmdletBase
2323
{
24-
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The identifier of the job to delete.")]
24+
[Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The id of the job to delete.")]
2525
[ValidateNotNullOrEmpty]
2626
public string Id { get; set; }
2727

0 commit comments

Comments
 (0)