Skip to content

Commit d12c2ae

Browse files
committed
fix CI failure
1 parent 603aa0c commit d12c2ae

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/Storage/Storage.Management/help/New-AzDataLakeGen2SasToken.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Generates a SAS token for Azure DatalakeGen2 item.
1212

1313
## SYNTAX
1414

15-
### ReceiveManual
15+
### ReceiveManual (Default)
1616
```
1717
New-AzDataLakeGen2SasToken [-FileSystem] <String> [-Path <String>] [-Permission <String>]
1818
[-Protocol <SasProtocol>] [-IPAddressOrRange <String>] [-StartTime <DateTimeOffset>]
@@ -35,7 +35,7 @@ The **New-AzDataLakeGen2SasToken** cmdlet generates a Shared Access Signature (S
3535

3636
### Example 1: Generate a SAS token with full permission
3737
```
38-
PS C:\> New-AzDataLakeGen2SasToken -FileSystem "filesystem1" -Path "dir1/dir2" -Permission racwdlmeop
38+
PS C:\> New-AzDataLakeGen2SasToken -FileSystem "filesystem1" -Path "dir1/dir2" -Permission racwdlmeop
3939
```
4040

4141
This example generates a DatalakeGen2 SAS token with full permission.

src/Storage/Storage/DatalakeGen2/Cmdlet/NewAzDataLakeGen2SasToken.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Microsoft.WindowsAzure.Commands.Storage.Blob.Cmdlet
2626
/// <summary>
2727
/// list azure blobs in specified azure FileSystem
2828
/// </summary>
29-
[Cmdlet("New", Azure.Commands.ResourceManager.Common.AzureRMConstants.AzurePrefix + "DataLakeGen2SasToken"), OutputType(typeof(String))]
29+
[Cmdlet("New", Azure.Commands.ResourceManager.Common.AzureRMConstants.AzurePrefix + "DataLakeGen2SasToken", DefaultParameterSetName = ManualParameterSet), OutputType(typeof(String))]
3030
public class NewDataLakeGen2SasTokenCommand : StorageCloudBlobCmdletBase
3131
{
3232
/// <summary>

tools/StaticAnalysis/Exceptions/Az.Storage/SignatureIssues.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,4 @@
7171
"Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll","Microsoft.Azure.Commands.Management.Storage.UpdateAzStorageFileServicePropertyCommand","Update-AzStorageFileServiceProperty","1","8410","Parameter ShareRetentionDays of cmdlet Update-AzStorageFileServiceProperty does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
7272
"Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll","Microsoft.Azure.Commands.Management.Storage.NewAzureStorageBlobInventoryPolicyRuleCommand","New-AzStorageBlobInventoryPolicyRule","1","8100","New-AzStorageBlobInventoryPolicyRule Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
7373
"Microsoft.Azure.PowerShell.Cmdlets.Storage.Management.dll","Microsoft.Azure.Commands.Management.Storage.EnableAzStorageContainerDeleteRetentionPolicyCommand","Enable-AzStorageContainerDeleteRetentionPolicy","1","8410","Parameter RetentionDays of cmdlet Enable-AzStorageContainerDeleteRetentionPolicy does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
74+
"Az.Storage","Microsoft.WindowsAzure.Commands.Storage.Blob.Cmdlet.NewDataLakeGen2SasTokenCommand","New-AzDataLakeGen2SasToken","1","8100","New-AzDataLakeGen2SasToken Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"

0 commit comments

Comments
 (0)