Skip to content

Commit

Permalink
Change setbynameparameterset to bynameparameterset
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhenyu Zhou committed Jun 7, 2021
1 parent e9c074d commit 9e6221d
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class DisableAzureHDInsightAzureMonitorCommand : HDInsightCmdletBase
{
#region Input Parameter Definitions

private const string SetByNameParameterSet = "SetByNameParameterSet";
private const string SetByNameParameterSet = "ByNameParameterSet";
private const string SetByResourceIdParameterSet = "SetByResourceIdParameterSet";
private const string SetByInputObjectParameterSet = "SetByInputObjectParameterSet";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class EnableAzureHDInsightAzureMonitorCommand : HDInsightCmdletBase
{
#region Input Parameter Definitions

private const string SetByNameParameterSet = "SetByNameParameterSet";
private const string SetByNameParameterSet = "ByNameParameterSet";
private const string SetByResourceIdParameterSet = "SetByResourceIdParameterSet";
private const string SetByInputObjectParameterSet = "SetByInputObjectParameterSet";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.HDInsight
public class GetAzureHDInsightAzureMonitorCommand : HDInsightCmdletBase
{
#region Input Parameter Definitions
private const string SetByNameParameterSet = "SetByNameParameterSet";
private const string SetByNameParameterSet = "ByNameParameterSet";
private const string SetByResourceIdParameterSet = "SetByResourceIdParameterSet";
private const string SetByInputObjectParameterSet = "SetByInputObjectParameterSet";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Disables Azure Monitor in a specified HDInsight cluster.

## SYNTAX

### SetByNameParameterSet (Default)
### ByNameParameterSet (Default)
```
Disable-AzHDInsightAzureMonitor [[-ResourceGroupName] <String>] [-ClusterName] <String>
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
Expand Down Expand Up @@ -62,7 +62,7 @@ Gets or sets the name of the cluster.

```yaml
Type: System.String
Parameter Sets: SetByNameParameterSet
Parameter Sets: ByNameParameterSet
Aliases:

Required: True
Expand Down Expand Up @@ -107,7 +107,7 @@ Gets or sets the name of the resource group.
```yaml
Type: System.String
Parameter Sets: SetByNameParameterSet
Parameter Sets: ByNameParameterSet
Aliases:

Required: False
Expand Down Expand Up @@ -179,5 +179,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## NOTES
## RELATED LINKS
[Enable-AzHDInsightAzureMonitor](./Enable-AzHDInsightAzureMonitor.md)
[Get-AzHDInsightAzureMonitor](./Get-AzHDInsightAzureMonitor.md)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Enables Azure Monitor in a specified HDInsight cluster.

## SYNTAX

### SetByNameParameterSet (Default)
### ByNameParameterSet (Default)
```
Enable-AzHDInsightAzureMonitor [[-ResourceGroupName] <String>] [-ClusterName] <String> [-WorkspaceId] <String>
[-PrimaryKey] <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
Expand Down Expand Up @@ -66,7 +66,7 @@ Gets or sets the name of the cluster.

```yaml
Type: System.String
Parameter Sets: SetByNameParameterSet
Parameter Sets: ByNameParameterSet
Aliases:

Required: True
Expand Down Expand Up @@ -126,7 +126,7 @@ Gets or sets the name of the resource group.
```yaml
Type: System.String
Parameter Sets: SetByNameParameterSet
Parameter Sets: ByNameParameterSet
Aliases:

Required: False
Expand Down Expand Up @@ -213,5 +213,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## NOTES
## RELATED LINKS
[Disable-AzHDInsightAzureMonitor](./Disable-AzHDInsightAzureMonitor.md)
[Get-AzHDInsightAzureMonitor](./Get-AzHDInsightAzureMonitor.md)
7 changes: 4 additions & 3 deletions src/HDInsight/HDInsight/help/Get-AzHDInsightAzureMonitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gets the azure monitor status of a specified HDInsight cluster.

## SYNTAX

### SetByNameParameterSet (Default)
### ByNameParameterSet (Default)
```
Get-AzHDInsightAzureMonitor [[-ResourceGroupName] <String>] [-ClusterName] <String>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Expand Down Expand Up @@ -62,7 +62,7 @@ Gets or sets the name of the cluster.

```yaml
Type: System.String
Parameter Sets: SetByNameParameterSet
Parameter Sets: ByNameParameterSet
Aliases:

Required: True
Expand Down Expand Up @@ -107,7 +107,7 @@ Gets or sets the name of the resource group.
```yaml
Type: System.String
Parameter Sets: SetByNameParameterSet
Parameter Sets: ByNameParameterSet
Aliases:

Required: False
Expand Down Expand Up @@ -148,5 +148,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## NOTES
## RELATED LINKS
[Enable-AzHDInsightAzureMonitor](./Enable-AzHDInsightAzureMonitor.md)
[Disable-AzHDInsightAzureMonitor](./Disable-AzHDInsightAzureMonitor.md)

0 comments on commit 9e6221d

Please sign in to comment.