Skip to content

Commit d22bc9d

Browse files
committed
Update cmdlet help
1 parent ca97936 commit d22bc9d

File tree

74 files changed

+299
-217
lines changed

Some content is hidden

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

74 files changed

+299
-217
lines changed

src/Batch/Batch/HelperCmdlets/NewBatchResourceFileCommand.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ public class NewBatchResourceFileCommand : AzureRMCmdlet
3030
[ValidateNotNullOrEmpty]
3131
public string HttpUrl { get; set; }
3232

33-
[Parameter(ParameterSetName = HttpUrlParameterSet, Mandatory = true, HelpMessage = "The location on the compute node to which to download the file(s), relative to the task's working directory. This is the path which the file will be downloaded to, including the filename.")]
34-
[Parameter(ParameterSetName = StorageContainerUrlParameterSet, HelpMessage = "The location on the compute node to which to download the file(s), relative to the task's working directory. This is the directory to download the files to. Any directory structure already associated with the input data will be retained in full and appended to the specified FilePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').")]
35-
[Parameter(ParameterSetName = AutoStorageContainerNameParameterSet, HelpMessage = "The location on the compute node to which to download the file(s), relative to the task's working directory. This is the directory to download the files to. Any directory structure already associated with the input data will be retained in full and appended to the specified FilePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').")]
33+
[Parameter(ParameterSetName = HttpUrlParameterSet, Mandatory = true, HelpMessage = "The location on the compute node to which to download the file(s), relative to the task's working directory. If the HttpUrl parameter is specified, the FilePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the AutoStorageContainerName or StorageContainerUrl parameters are specified, FilePath is optional and is the directory to download the files to. In the case where FilePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified FilePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').")]
34+
[Parameter(ParameterSetName = StorageContainerUrlParameterSet)]
35+
[Parameter(ParameterSetName = AutoStorageContainerNameParameterSet)]
3636
[ValidateNotNullOrEmpty]
3737
public string FilePath { get; set; }
3838

@@ -47,9 +47,7 @@ public class NewBatchResourceFileCommand : AzureRMCmdlet
4747
[Parameter(
4848
ParameterSetName = StorageContainerUrlParameterSet,
4949
HelpMessage = "Gets the blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.")]
50-
[Parameter(
51-
ParameterSetName = AutoStorageContainerNameParameterSet,
52-
HelpMessage = "Gets the blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.")]
50+
[Parameter(ParameterSetName = AutoStorageContainerNameParameterSet)]
5351
[ValidateNotNullOrEmpty]
5452
public string BlobPrefix { get; set; }
5553

src/Batch/Batch/help/Az.Batch.md

Lines changed: 4 additions & 4 deletions

src/Batch/Batch/help/Disable-AzBatchAutoScale.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Disable-AzBatchComputeNodeScheduling.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Disable-AzBatchJob.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Disable-AzBatchJobSchedule.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Enable-AzBatchAutoScale.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Enable-AzBatchComputeNodeScheduling.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Enable-AzBatchJob.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Enable-AzBatchJobSchedule.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Enable-AzBatchTask.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchAccount.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchAccountKeys.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchApplication.md

Lines changed: 2 additions & 2 deletions

src/Batch/Batch/help/Get-AzBatchApplicationPackage.md

Lines changed: 3 additions & 3 deletions

src/Batch/Batch/help/Get-AzBatchCertificate.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchComputeNode.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchJob.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchJobPreparationAndReleaseTaskStatus.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchJobSchedule.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchJobStatistics.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchLocationQuotas.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchNodeAgentSku.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchNodeFile.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchNodeFileContent.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchPool.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchPoolNodeCounts.md

Lines changed: 3 additions & 5 deletions

src/Batch/Batch/help/Get-AzBatchPoolStatistics.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchPoolUsageMetrics.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchRemoteDesktopProtocolFile.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchRemoteLoginSettings.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchSubtask.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchTask.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/Get-AzBatchTaskCounts.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/New-AzBatchAccount.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/New-AzBatchAccountKey.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/New-AzBatchApplication.md

Lines changed: 2 additions & 2 deletions

src/Batch/Batch/help/New-AzBatchApplicationPackage.md

Lines changed: 2 additions & 2 deletions

src/Batch/Batch/help/New-AzBatchCertificate.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/New-AzBatchComputeNodeUser.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/New-AzBatchJob.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/New-AzBatchJobSchedule.md

Lines changed: 1 addition & 1 deletion

src/Batch/Batch/help/New-AzBatchPool.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)