Skip to content

Commit 8a23297

Browse files
committed
Change Location parameter from validate set into dynamic lookup
1 parent 0a3403d commit 8a23297

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Commands/NewAzureRmAnalysisServicesServer.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ public class NewAnalysisServicesServer : AnalysisServicesCmdletBase
4141
[Parameter(ValueFromPipelineByPropertyName = true, Position = 2, Mandatory = true,
4242
HelpMessage = "Azure region where the server should be created.")]
4343
[ValidateNotNullOrEmpty]
44-
[ValidateSet("North Central US", "South Central US", "Central US", "West Europe", "North Europe", "West US",
45-
"East US",
46-
"East US 2", "Japan East", "Japan West", "Brazil South", "Southeast Asia", "East Asia", "Australia East",
47-
"Australia Southeast", IgnoreCase = true)]
44+
[LocationCompleter("Microsoft.AnalysisServices")]
4845
public string Location { get; set; }
4946

5047
[Parameter(ValueFromPipelineByPropertyName = true, Position = 3, Mandatory = true,

0 commit comments

Comments
 (0)