Skip to content

Commit c2918a7

Browse files
committed
Update DataLakeStore parameter set names
1 parent c0c4f96 commit c2918a7

14 files changed

+58
-58
lines changed

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands/ExportAzureRmDataLakeStoreItem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ namespace Microsoft.Azure.Commands.DataLakeStore
2626
public class ExportAzureDataLakeStoreItem : DataLakeStoreFileSystemCmdletBase
2727
{
2828
// define parameter sets.
29-
internal const string BaseParameterSetName = "No diagnostic logging";
30-
internal const string DiagnosticParameterSetName = "Include diagnostic logging";
29+
internal const string BaseParameterSetName = "NoDiagnosticLogging";
30+
internal const string DiagnosticParameterSetName = "IncludeDiagnosticLogging";
3131

3232
// default number of threads
3333
private int numThreadsPerFile = -1;

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands/GetAzureRmDataLakeStoreAccount.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ namespace Microsoft.Azure.Commands.DataLakeStore
2525
[Alias("Get-AdlStore")]
2626
public class GetAzureDataLakeStoreAccount : DataLakeStoreCmdletBase
2727
{
28-
internal const string BaseParameterSetName = "All In Subscription";
29-
internal const string ResourceGroupParameterSetName = "All In Resource Group";
30-
internal const string AccountParameterSetName = "Specific Account";
28+
internal const string BaseParameterSetName = "GetAllInSubscription";
29+
internal const string ResourceGroupParameterSetName = "GetByResourceGroup";
30+
internal const string AccountParameterSetName = "GetBySpecificAccount";
3131

3232
[Parameter(ParameterSetName = ResourceGroupParameterSetName, Position = 0,
3333
ValueFromPipelineByPropertyName = true, Mandatory = true,

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands/GetAzureRmDataLakeStoreItemContent.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ namespace Microsoft.Azure.Commands.DataLakeStore
2828
public class GetAzureDataLakeStoreContent : DataLakeStoreFileSystemCmdletBase
2929
{
3030
private FileSystemCmdletProviderEncoding _encoding = FileSystemCmdletProviderEncoding.UTF8;
31-
internal const string BaseParameterSetName = "Preview file content";
32-
internal const string HeadRowParameterSetName = "Preview file rows from the head of the file";
33-
internal const string TailRowParameterSetName = "Preview file rows from the tail of the file";
31+
internal const string BaseParameterSetName = "PreviewFileContent";
32+
internal const string HeadRowParameterSetName = "PreviewFileRowsFromHead";
33+
internal const string TailRowParameterSetName = "PreviewFileRowsFromTail";
3434

3535
[Parameter(ValueFromPipelineByPropertyName = true, Position = 0, ParameterSetName = BaseParameterSetName, Mandatory = true,
3636
HelpMessage = "The DataLakeStore account to execute the filesystem operation in")]

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands/ImportAzureRmDataLakeStoreItem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ namespace Microsoft.Azure.Commands.DataLakeStore
2525
public class ImportAzureDataLakeStoreItem : DataLakeStoreFileSystemCmdletBase
2626
{
2727
// define parameter sets.
28-
internal const string BaseParameterSetName = "No diagnostic logging";
29-
internal const string DiagnosticParameterSetName = "Include diagnostic logging";
28+
internal const string BaseParameterSetName = "NoDiagnosticLogging";
29+
internal const string DiagnosticParameterSetName = "IncludeDiagnosticLogging";
3030

3131
// default number of threads
3232
private int numThreadsPerFile = -1;

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands/NewAzureRmDataLakeStoreAccount.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ namespace Microsoft.Azure.Commands.DataLakeStore
2525
[Alias("New-AdlStore")]
2626
public class NewAzureDataLakeStoreAccount : DataLakeStoreCmdletBase
2727
{
28-
internal const string BaseParameterSetName = "User or System assigned encryption";
29-
internal const string EncryptionDisabledParameterSetName = "Disable Encryption";
28+
internal const string BaseParameterSetName = "UserOrSystemAssignedEncryption";
29+
internal const string EncryptionDisabledParameterSetName = "DisableEncryption";
3030

3131
[Parameter(ValueFromPipelineByPropertyName = true, Position = 0, Mandatory = true,
3232
HelpMessage = "Name of resource group under which you want to create the account.",

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands/RemoveAzureRmDataLakeStoreItemAclEntry.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ namespace Microsoft.Azure.Commands.DataLakeStore
2525
[Alias("Remove-AdlStoreItemAclEntry")]
2626
public class RemoveAzureDataLakeStoreItemAclEntry : DataLakeStoreFileSystemCmdletBase
2727
{
28-
internal const string BaseParameterSetName = "Remove ACL Entries using ACL object";
29-
internal const string SpecificAceParameterSetName = "Remove specific ACE";
28+
internal const string BaseParameterSetName = "RemoveByACLObject";
29+
internal const string SpecificAceParameterSetName = "RemoveSpecificACE";
3030

3131
[Parameter(ValueFromPipelineByPropertyName = true, ParameterSetName = BaseParameterSetName, Position = 0,
3232
Mandatory = true, HelpMessage = "The DataLakeStore account to execute the filesystem operation in")]

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands/SetAzureRmDataLakeStoreItemAclEntry.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ namespace Microsoft.Azure.Commands.DataLakeStore
2525
[Alias("Set-AdlStoreItemAclEntry")]
2626
public class SetAzureDataLakeStoreItemAclEntry : DataLakeStoreFileSystemCmdletBase
2727
{
28-
internal const string BaseParameterSetName = "Set ACL Entries using ACL object";
29-
internal const string SpecificAceParameterSetName = "Set specific ACE";
28+
internal const string BaseParameterSetName = "SetByACLObject";
29+
internal const string SpecificAceParameterSetName = "SetSpecificACE";
3030

3131
[Parameter(ValueFromPipelineByPropertyName = true, ParameterSetName = BaseParameterSetName, Position = 0,
3232
Mandatory = true, HelpMessage = "The DataLakeStore account to execute the filesystem operation in")]

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/help/Export-AzureRmDataLakeStoreItem.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Downloads a file from Data Lake Store.
1313

1414
## SYNTAX
1515

16-
### No diagnostic logging (Default)
16+
### NoDiagnosticLogging (Default)
1717
```
1818
Export-AzureRmDataLakeStoreItem [-Account] <String> [-Path] <DataLakeStorePathInstance> [-Destination] <String>
1919
[-Recurse] [-Resume] [[-PerFileThreadCount] <Int32>] [[-ConcurrentFileCount] <Int32>] [-Force]
2020
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2121
```
2222

23-
### Include diagnostic logging
23+
### IncludeDiagnosticLogging
2424
```
2525
Export-AzureRmDataLakeStoreItem [-Account] <String> [-Path] <DataLakeStorePathInstance> [-Destination] <String>
2626
[-Recurse] [-Resume] [[-PerFileThreadCount] <Int32>] [[-ConcurrentFileCount] <Int32>] [-Force]
@@ -108,7 +108,7 @@ Optionally indicates the diagnostic log level to use to record events during the
108108
109109
```yaml
110110
Type: LogLevel
111-
Parameter Sets: Include diagnostic logging
111+
Parameter Sets: IncludeDiagnosticLogging
112112
Aliases:
113113
Accepted values: Debug, Information, Error, None
114114

@@ -124,7 +124,7 @@ Specifies the path for the diagnostic log to record events to during the file or
124124
125125
```yaml
126126
Type: String
127-
Parameter Sets: Include diagnostic logging
127+
Parameter Sets: IncludeDiagnosticLogging
128128
Aliases:
129129

130130
Required: True

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/help/Get-AzureRmDataLakeStoreAccount.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ Gets details of a Data Lake Store account.
1313

1414
## SYNTAX
1515

16-
### All In Subscription (Default)
16+
### GetAllInSubscription (Default)
1717
```
1818
Get-AzureRmDataLakeStoreAccount [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
1919
```
2020

21-
### All In Resource Group
21+
### GetByResourceGroup
2222
```
2323
Get-AzureRmDataLakeStoreAccount [-ResourceGroupName] <String> [-DefaultProfile <IAzureContextContainer>]
2424
[<CommonParameters>]
2525
```
2626

27-
### Specific Account
27+
### GetBySpecificAccount
2828
```
2929
Get-AzureRmDataLakeStoreAccount [[-ResourceGroupName] <String>] [-Name] <String>
3030
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
@@ -64,7 +64,7 @@ Specifies the name of the account to get.
6464
6565
```yaml
6666
Type: String
67-
Parameter Sets: Specific Account
67+
Parameter Sets: GetBySpecificAccount
6868
Aliases:
6969

7070
Required: True
@@ -79,7 +79,7 @@ Specifies the name of the resource group that contains the Data Lake Store accou
7979
8080
```yaml
8181
Type: String
82-
Parameter Sets: All In Resource Group
82+
Parameter Sets: GetByResourceGroup
8383
Aliases:
8484

8585
Required: True
@@ -91,7 +91,7 @@ Accept wildcard characters: False
9191
9292
```yaml
9393
Type: String
94-
Parameter Sets: Specific Account
94+
Parameter Sets: GetBySpecificAccount
9595
Aliases:
9696

9797
Required: False

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/help/Get-AzureRmDataLakeStoreItemContent.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ Gets the contents of a file in Data Lake Store.
1313

1414
## SYNTAX
1515

16-
### Preview file content (Default)
16+
### PreviewFileContent (Default)
1717
```
1818
Get-AzureRmDataLakeStoreItemContent [-Account] <String> [-Path] <DataLakeStorePathInstance> [[-Offset] <Int64>]
1919
[[-Length] <Int64>] [[-Encoding] <FileSystemCmdletProviderEncoding>] [-Force]
2020
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2121
```
2222

23-
### Preview file rows from the head of the file
23+
### PreviewFileRowsFromHead
2424
```
2525
Get-AzureRmDataLakeStoreItemContent [-Account] <String> [-Path] <DataLakeStorePathInstance> [[-Head] <Int32>]
2626
[[-Encoding] <FileSystemCmdletProviderEncoding>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf]
2727
[-Confirm] [<CommonParameters>]
2828
```
2929

30-
### Preview file rows from the tail of the file
30+
### PreviewFileRowsFromTail
3131
```
3232
Get-AzureRmDataLakeStoreItemContent [-Account] <String> [-Path] <DataLakeStorePathInstance> [[-Tail] <Int32>]
3333
[[-Encoding] <FileSystemCmdletProviderEncoding>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf]
@@ -119,7 +119,7 @@ Forces the command to run without asking for user confirmation.
119119
120120
```yaml
121121
Type: SwitchParameter
122-
Parameter Sets: Preview file content
122+
Parameter Sets: PreviewFileContent
123123
Aliases:
124124

125125
Required: False
@@ -134,7 +134,7 @@ The number of rows (new line delimited) from the beginning of the file to previe
134134
135135
```yaml
136136
Type: Int32
137-
Parameter Sets: Preview file rows from the head of the file
137+
Parameter Sets: PreviewFileRowsFromHead
138138
Aliases:
139139

140140
Required: False
@@ -149,7 +149,7 @@ Specifies the length, in bytes, of the content to get.
149149
150150
```yaml
151151
Type: Int64
152-
Parameter Sets: Preview file content
152+
Parameter Sets: PreviewFileContent
153153
Aliases:
154154

155155
Required: False
@@ -164,7 +164,7 @@ Specifies the number of bytes to skip in a file before getting content.
164164
165165
```yaml
166166
Type: Int64
167-
Parameter Sets: Preview file content
167+
Parameter Sets: PreviewFileContent
168168
Aliases:
169169

170170
Required: False
@@ -194,7 +194,7 @@ The number of rows (new line delimited) from the end of the file to preview. If
194194
195195
```yaml
196196
Type: Int32
197-
Parameter Sets: Preview file rows from the tail of the file
197+
Parameter Sets: PreviewFileRowsFromTail
198198
Aliases:
199199

200200
Required: False

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/help/Import-AzureRmDataLakeStoreItem.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Uploads a local file or directory to a Data Lake Store.
1313

1414
## SYNTAX
1515

16-
### No diagnostic logging (Default)
16+
### NoDiagnosticLogging (Default)
1717
```
1818
Import-AzureRmDataLakeStoreItem [-Account] <String> [-Path] <String> [-Destination] <DataLakeStorePathInstance>
1919
[-Recurse] [-Resume] [-ForceBinary] [[-PerFileThreadCount] <Int32>] [[-ConcurrentFileCount] <Int32>] [-Force]
2020
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
2121
```
2222

23-
### Include diagnostic logging
23+
### IncludeDiagnosticLogging
2424
```
2525
Import-AzureRmDataLakeStoreItem [-Account] <String> [-Path] <String> [-Destination] <DataLakeStorePathInstance>
2626
[-Recurse] [-Resume] [-ForceBinary] [[-PerFileThreadCount] <Int32>] [[-ConcurrentFileCount] <Int32>] [-Force]
@@ -108,7 +108,7 @@ Optionally indicates the diagnostic log level to use to record events during the
108108
109109
```yaml
110110
Type: LogLevel
111-
Parameter Sets: Include diagnostic logging
111+
Parameter Sets: IncludeDiagnosticLogging
112112
Aliases:
113113
Accepted values: Debug, Information, Error, None
114114

@@ -124,7 +124,7 @@ Specifies the path for the diagnostic log to record events to during the file or
124124
125125
```yaml
126126
Type: String
127-
Parameter Sets: Include diagnostic logging
127+
Parameter Sets: IncludeDiagnosticLogging
128128
Aliases:
129129

130130
Required: True

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/help/New-AzureRmDataLakeStoreAccount.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ Creates a new Data Lake Store account.
1313

1414
## SYNTAX
1515

16-
### User or System assigned encryption (Default)
16+
### UserOrSystemAssignedEncryption (Default)
1717
```
1818
New-AzureRmDataLakeStoreAccount [-ResourceGroupName] <String> [-Name] <String> [-Location] <String>
1919
[[-DefaultGroup] <String>] [[-Tags] <Hashtable>] [[-Encryption] <EncryptionConfigType>]
2020
[[-KeyVaultId] <String>] [[-KeyName] <String>] [[-KeyVersion] <String>] [-Tier <TierType>]
2121
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2222
```
2323

24-
### Disable Encryption
24+
### DisableEncryption
2525
```
2626
New-AzureRmDataLakeStoreAccount [-ResourceGroupName] <String> [-Name] <String> [-Location] <String>
2727
[[-DefaultGroup] <String>] [[-Tags] <Hashtable>] [-DisableEncryption] [-Tier <TierType>]
@@ -77,7 +77,7 @@ Indicates that the account will not have any form of encryption applied to it.
7777
7878
```yaml
7979
Type: SwitchParameter
80-
Parameter Sets: Disable Encryption
80+
Parameter Sets: DisableEncryption
8181
Aliases:
8282

8383
Required: False
@@ -90,7 +90,7 @@ Accept wildcard characters: False
9090
### -Encryption
9191
```yaml
9292
Type: EncryptionConfigType
93-
Parameter Sets: User or System assigned encryption
93+
Parameter Sets: UserOrSystemAssignedEncryption
9494
Aliases:
9595
Accepted values: UserManaged, ServiceManaged
9696

@@ -104,7 +104,7 @@ Accept wildcard characters: False
104104
### -KeyName
105105
```yaml
106106
Type: String
107-
Parameter Sets: User or System assigned encryption
107+
Parameter Sets: UserOrSystemAssignedEncryption
108108
Aliases:
109109

110110
Required: False
@@ -117,7 +117,7 @@ Accept wildcard characters: False
117117
### -KeyVaultId
118118
```yaml
119119
Type: String
120-
Parameter Sets: User or System assigned encryption
120+
Parameter Sets: UserOrSystemAssignedEncryption
121121
Aliases:
122122

123123
Required: False
@@ -130,7 +130,7 @@ Accept wildcard characters: False
130130
### -KeyVersion
131131
```yaml
132132
Type: String
133-
Parameter Sets: User or System assigned encryption
133+
Parameter Sets: UserOrSystemAssignedEncryption
134134
Aliases:
135135

136136
Required: False

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/help/Remove-AzureRmDataLakeStoreItemAclEntry.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Removes an entry from the ACL of a file or folder in Data Lake Store.
1313

1414
## SYNTAX
1515

16-
### Remove ACL Entries using ACL object (Default)
16+
### RemoveByACLObject (Default)
1717
```
1818
Remove-AzureRmDataLakeStoreItemAclEntry [-Account] <String> [-Path] <DataLakeStorePathInstance>
1919
[-Acl] <DataLakeStoreItemAce[]> [-PassThru] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
2020
[<CommonParameters>]
2121
```
2222

23-
### Remove specific ACE
23+
### RemoveSpecificACE
2424
```
2525
Remove-AzureRmDataLakeStoreItemAclEntry [-Account] <String> [-Path] <DataLakeStorePathInstance>
2626
[-AceType] <AceType> [[-Id] <Guid>] [-Default] [-PassThru] [-DefaultProfile <IAzureContextContainer>]
@@ -67,7 +67,7 @@ The acceptable values for this parameter are:
6767
6868
```yaml
6969
Type: AceType
70-
Parameter Sets: Remove specific ACE
70+
Parameter Sets: RemoveSpecificACE
7171
Aliases:
7272
Accepted values: User, Group, Mask, Other
7373

@@ -83,7 +83,7 @@ Specifies the ACL object that contains the entries to be removed.
8383
8484
```yaml
8585
Type: DataLakeStoreItemAce[]
86-
Parameter Sets: Remove ACL Entries using ACL object
86+
Parameter Sets: RemoveByACLObject
8787
Aliases:
8888

8989
Required: True
@@ -98,7 +98,7 @@ Indicates that this operation removes the default ACE from the specified ACL.
9898
9999
```yaml
100100
Type: SwitchParameter
101-
Parameter Sets: Remove specific ACE
101+
Parameter Sets: RemoveSpecificACE
102102
Aliases:
103103

104104
Required: False
@@ -128,7 +128,7 @@ Specifies the object ID of the AzureActive Directory user, group, or service pri
128128
129129
```yaml
130130
Type: Guid
131-
Parameter Sets: Remove specific ACE
131+
Parameter Sets: RemoveSpecificACE
132132
Aliases:
133133

134134
Required: False

0 commit comments

Comments
 (0)