Skip to content

Commit 702f3d0

Browse files
committed
Add LocationCompleter to Sql alias
1 parent 5124eeb commit 702f3d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ResourceManager/Sql/Commands.Sql/Location Capabilities/Cmdlet/GetAzureSqlCapability.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// ----------------------------------------------------------------------------------
1414

1515
using Microsoft.Azure.Commands.ResourceManager.Common;
16+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1617
using Microsoft.Azure.Commands.Sql.Location_Capabilities.Model;
1718
using Microsoft.Azure.Commands.Sql.Location_Capabilities.Services;
1819
using System.Linq;
@@ -46,6 +47,7 @@ public class GetAzureSqlCapability : AzureRMCmdlet
4647
ValueFromPipelineByPropertyName = true,
4748
Position = 0,
4849
HelpMessage = "The name of the Location for which to get the capabilities")]
50+
[LocationCompleter("Microsoft.Sql/locations/capabilities")]
4951
[ValidateNotNullOrEmpty]
5052
public string LocationName { get; set; }
5153

0 commit comments

Comments
 (0)