Skip to content

Commit b96b162

Browse files
committed
Add LocationCompleter to ServerManagement cmdlets
1 parent 9151636 commit b96b162

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/ResourceManager/ServerManagement/Commands.ServerManagement/Commands/Gateway/NewServerMangementGatewayCmdlet.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public class NewServerManagementGatewayCmdlet : ServerManagementCmdlet
3737

3838
[Parameter(Mandatory = true, HelpMessage = "The resource group location.",
3939
ValueFromPipelineByPropertyName = true, Position = 2)]
40+
[LocationCompleter("Microsoft.ServerManagement/gateways")]
4041
[ValidateNotNullOrEmpty]
4142
public string Location { get; set; }
4243

src/ResourceManager/ServerManagement/Commands.ServerManagement/Commands/Node/NewServerMangementNodeCmdlet.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public class NewServerManagementNodeCmdlet : ServerManagementCmdlet
3737

3838
[Parameter(Mandatory = true, HelpMessage = "The resource group location.",
3939
ValueFromPipelineByPropertyName = true, ParameterSetName = "ByName", Position = 2)]
40+
[LocationCompleter("Microsoft.ServerManagement/nodes")]
4041
[ValidateNotNullOrEmpty]
4142
public string Location { get; set; }
4243

0 commit comments

Comments
 (0)