Skip to content

Commit 308bed2

Browse files
authored
Fix parameter attributes
1 parent 9b929d9 commit 308bed2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/HDInsight/HDInsight/ManagementCommands/SetAzureHDInsightGatewayCredentialCommand.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,10 @@ public PSCredential HttpCredential
8585
}
8686
}
8787

88-
[Parameter(HelpMessage = "Gets or sets the name of the resource group.")]
88+
[Parameter(
89+
Mandatory = false,
90+
ParameterSetName = SetByNameParameterSet,
91+
HelpMessage = "Gets or sets the name of the resource group.")]
8992
[ResourceGroupCompleter]
9093
public string ResourceGroupName { get; set; }
9194

0 commit comments

Comments
 (0)