Skip to content

Commit 7ea62ec

Browse files
authored
Location parameter no longer valid in azure CLI for az sql mi-arc
The location parameter was removed from az sql mi-arc. I believe this was due to the reliance on the custom location or the resource group to set the location properly.
1 parent 329907f commit 7ea62ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-arc/data/create-sql-managed-instance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ az sql mi-arc create -n sqldemo --storage-class-backups mybackups --k8s-namespac
4646
### [Directly connected mode](#tab/directly)
4747

4848
```azurecli
49-
az sql mi-arc create --name <name> --resource-group <group> --location <Azure location> -–subscription <subscription> --custom-location <custom-location> --storage-class-backups <RWX capable storageclass>
49+
az sql mi-arc create --name <name> --resource-group <group> -–subscription <subscription> --custom-location <custom-location> --storage-class-backups <RWX capable storageclass>
5050
```
5151

5252
Example:
5353

5454
```azurecli
55-
az sql mi-arc create --name sqldemo --resource-group rg --location uswest2 -–subscription xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --custom-location private-location --storage-class-backups mybackups
55+
az sql mi-arc create --name sqldemo --resource-group rg -–subscription xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --custom-location private-location --storage-class-backups mybackups
5656
```
5757

5858
---

0 commit comments

Comments
 (0)