Skip to content

Commit bf30fcc

Browse files
committed
Update RedisCache parameter set names
1 parent 41ee02d commit bf30fcc

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

src/ResourceManager/RedisCache/Commands.RedisCache/Commands/GetAzureRedisCache.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ namespace Microsoft.Azure.Commands.RedisCache
2323
[Cmdlet(VerbsCommon.Get, "AzureRmRedisCache", DefaultParameterSetName = BaseParameterSetName), OutputType(typeof(List<RedisCacheAttributes>))]
2424
public class GetAzureRedisCache : RedisCacheCmdletBase
2525
{
26-
internal const string BaseParameterSetName = "All In Subscription";
27-
internal const string ResourceGroupParameterSetName = "All In Resource Group";
28-
internal const string RedisCacheParameterSetName = "Specific Redis Cache";
26+
internal const string BaseParameterSetName = "GetAllInSubscription";
27+
internal const string ResourceGroupParameterSetName = "GetByResourceGroup";
28+
internal const string RedisCacheParameterSetName = "GetByRedisCache";
2929

3030
[Parameter(ParameterSetName = ResourceGroupParameterSetName, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under which want to create cache.")]
3131
[Parameter(ParameterSetName = RedisCacheParameterSetName, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under which want to create cache.")]

src/ResourceManager/RedisCache/Commands.RedisCache/Commands/SetAzureRedisCache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.RedisCache
2525
[Cmdlet(VerbsCommon.Set, "AzureRmRedisCache", DefaultParameterSetName = MaxMemoryParameterSetName), OutputType(typeof(RedisCacheAttributesWithAccessKeys))]
2626
public class SetAzureRedisCache : RedisCacheCmdletBase
2727
{
28-
internal const string MaxMemoryParameterSetName = "Only MaxMemoryPolicy";
28+
internal const string MaxMemoryParameterSetName = "OnlyMaxMemoryPolicy";
2929

3030
[Parameter(ParameterSetName = MaxMemoryParameterSetName, ValueFromPipelineByPropertyName = true, Mandatory = true, HelpMessage = "Name of resource group under which you want to create cache.")]
3131
[ValidateNotNullOrEmpty]

src/ResourceManager/RedisCache/Commands.RedisCache/help/Get-AzureRmRedisCache.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
external help file: Microsoft.Azure.Commands.RedisCache.dll-Help.xml
3+
Module Name: AzureRM.RedisCache
34
ms.assetid: 8EF45FCE-5475-4A18-BFB0-C016E239612E
45
online version:
56
schema: 2.0.0
@@ -12,17 +13,17 @@ Gets a Redis Cache.
1213

1314
## SYNTAX
1415

15-
### All In Subscription (Default)
16+
### GetAllInSubscription (Default)
1617
```
1718
Get-AzureRmRedisCache [<CommonParameters>]
1819
```
1920

20-
### All In Resource Group
21+
### GetByResourceGroup
2122
```
2223
Get-AzureRmRedisCache -ResourceGroupName <String> [<CommonParameters>]
2324
```
2425

25-
### Specific Redis Cache
26+
### GetByRedisCache
2627
```
2728
Get-AzureRmRedisCache -ResourceGroupName <String> -Name <String> [<CommonParameters>]
2829
```
@@ -161,7 +162,7 @@ Use with the *ResourceGroupName* parameter.
161162

162163
```yaml
163164
Type: String
164-
Parameter Sets: Specific Redis Cache
165+
Parameter Sets: GetByRedisCache
165166
Aliases:
166167

167168
Required: True
@@ -178,7 +179,7 @@ If you specify only the *ResourceGroupName* parameter, this operation gets every
178179
179180
```yaml
180181
Type: String
181-
Parameter Sets: All In Resource Group, Specific Redis Cache
182+
Parameter Sets: GetByResourceGroup, GetByRedisCache
182183
Aliases:
183184

184185
Required: True

0 commit comments

Comments
 (0)