Skip to content

Commit 8652ffe

Browse files
Merge pull request #1 from itowlson/feature/app-and-td
XML file doc strings for auto storage and applications
2 parents 2902b34 + ea91e47 commit 8652ffe

8 files changed

+408
-117
lines changed

src/ResourceManager/AzureBatch/Commands.Batch/Applications/GetBatchApplicationCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ namespace Microsoft.Azure.Commands.Batch
2323
[Cmdlet(VerbsCommon.Get, Constants.AzureRmBatchApplication), OutputType(typeof(PSApplication))]
2424
public class GetBatchApplicationCommand : BatchCmdletBase
2525
{
26-
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
26+
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the Batch account.")]
2727
[ValidateNotNullOrEmpty]
2828
public string AccountName { get; set; }
2929

30-
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
30+
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the resource group that contains the Batch account.")]
3131
[ValidateNotNullOrEmpty]
3232
public string ResourceGroupName { get; set; }
3333

src/ResourceManager/AzureBatch/Commands.Batch/Applications/GetBatchApplicationPackageCommand.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ namespace Microsoft.Azure.Commands.Batch
2323
public class GetBatchApplicationPackageCommand : BatchCmdletBase
2424
{
2525
[Alias("Name")]
26-
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
26+
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the Batch account.")]
2727
[ValidateNotNullOrEmpty]
2828
public string AccountName { get; set; }
2929

30-
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
30+
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the resource group that contains the Batch account.")]
3131
[ValidateNotNullOrEmpty]
3232
public string ResourceGroupName { get; set; }
3333

34-
[Parameter(Position = 2, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
34+
[Parameter(Position = 2, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the id of the application.")]
3535
[ValidateNotNullOrEmpty]
3636
public string ApplicationId { get; set; }
3737

38-
[Parameter(Position = 3, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
38+
[Parameter(Position = 3, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the version of the application.")]
3939
[ValidateNotNullOrEmpty]
4040
public string ApplicationVersion { get; set; }
4141

src/ResourceManager/AzureBatch/Commands.Batch/Applications/NewBatchApplicationCommand.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ namespace Microsoft.Azure.Commands.Batch
2626
public class NewBatchApplicationCommand : BatchCmdletBase
2727
{
2828
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true,
29-
HelpMessage = "The name of the Batch account to used in the service.")]
29+
HelpMessage = "Specifies the name of the Batch account.")]
3030
[ValidateNotNullOrEmpty]
3131
public string AccountName { get; set; }
3232

33-
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
33+
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the resource group that contains the Batch account.")]
3434
[ValidateNotNullOrEmpty]
3535
public string ResourceGroupName { get; set; }
3636

37-
[Parameter(Position = 2, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
37+
[Parameter(Position = 2, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the id of the application.")]
3838
[ValidateNotNullOrEmpty]
3939
public string ApplicationId { get; set; }
4040

src/ResourceManager/AzureBatch/Commands.Batch/Applications/RemoveBatchApplicationCommand.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ public class RemoveBatchApplicationCommand : BatchCmdletBase
2323
{
2424
private static string mamlCall = "RemoveApplication";
2525

26-
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
26+
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the Batch account.")]
2727
[ValidateNotNullOrEmpty]
2828
public string AccountName { get; set; }
2929

30-
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
30+
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the resource group that contains the Batch account.")]
3131
[ValidateNotNullOrEmpty]
3232
public string ResourceGroupName { get; set; }
3333

3434
[Alias("id")]
35-
[Parameter(Position = 2, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
35+
[Parameter(Position = 2, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the id of the application.")]
3636
[ValidateNotNullOrEmpty]
3737
public string ApplicationId { get; set; }
3838

src/ResourceManager/AzureBatch/Commands.Batch/Applications/RemoveBatchApplicationPackageCommand.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ public class RemoveBatchApplicationPackageCommand : BatchCmdletBase
2424
private static string mamlCall = "RemoveApplicationPackage";
2525

2626

27-
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
27+
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the Batch account.")]
2828
[ValidateNotNullOrEmpty]
2929
public string AccountName { get; set; }
3030

31-
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
31+
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the resource group that contains the Batch account.")]
3232
[ValidateNotNullOrEmpty]
3333
public string ResourceGroupName { get; set; }
3434

35-
[Parameter(Position = 2, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
35+
[Parameter(Position = 2, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the id of the application.")]
3636
[ValidateNotNullOrEmpty]
3737
public string ApplicationId { get; set; }
3838

39-
[Parameter(Position = 3, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
39+
[Parameter(Position = 3, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the version of the application.")]
4040
[ValidateNotNullOrEmpty]
4141
public string ApplicationVersion { get; set; }
4242

src/ResourceManager/AzureBatch/Commands.Batch/Applications/SetBatchApplicationCommand.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ public class SetBatchApplicationCommand : BatchCmdletBase
2323
{
2424
private static string mamlCall = "SetApplication";
2525

26-
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
26+
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the Batch account.")]
2727
[ValidateNotNullOrEmpty]
2828
public string AccountName { get; set; }
2929

30-
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
30+
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the resource group that contains the Batch account.")]
3131
[ValidateNotNullOrEmpty]
3232
public string ResourceGroupName { get; set; }
3333

34-
[Parameter(Position = 3, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "TODO")]
34+
[Parameter(Position = 3, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the id of the application.")]
3535
[ValidateNotNullOrEmpty]
3636
public string ApplicationId { get; set; }
3737

src/ResourceManager/AzureBatch/Commands.Batch/Applications/UploadBatchApplicationCommand.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,27 @@ namespace Microsoft.Azure.Commands.Batch
2222
[Cmdlet(VerbsCommon.New, Constants.AzureRmBatchApplicationPackage), OutputType(typeof(PSApplicationPackage))]
2323
public class UploadBatchApplicationCommand : BatchCmdletBase
2424
{
25-
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true)]
25+
[Parameter(Position = 0, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the Batch account.")]
2626
[ValidateNotNullOrEmpty]
2727
public string AccountName { get; set; }
2828

29-
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true)]
29+
[Parameter(Position = 1, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the name of the resource group that contains the Batch account.")]
3030
[ValidateNotNullOrEmpty]
3131
public string ResourceGroupName { get; set; }
3232

33-
[Parameter(Position = 2, ValueFromPipelineByPropertyName = true)]
33+
[Parameter(Position = 2, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the id of the application.")]
3434
[ValidateNotNullOrEmpty]
3535
public string ApplicationId { get; set; }
3636

37-
[Parameter(Position = 3, ValueFromPipelineByPropertyName = true)]
37+
[Parameter(Position = 3, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the version of the application.")]
3838
[ValidateNotNullOrEmpty]
3939
public string ApplicationVersion { get; set; }
4040

41-
[Parameter(Position = 4, ValueFromPipelineByPropertyName = true)]
41+
[Parameter(Position = 4, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the file to be uploaded as the application package binary file.")]
4242
[ValidateNotNullOrEmpty]
4343
public string FilePath { get; set; }
4444

45-
[Parameter(Position = 5, ValueFromPipelineByPropertyName = true)]
45+
[Parameter(Position = 5, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Specifies the format of the application package binary file.")]
4646
[ValidateNotNullOrEmpty]
4747
public string Format { get; set; }
4848

0 commit comments

Comments
 (0)