Skip to content

Commit 2d16866

Browse files
authored
Add better support for zsh and bash
Removing the ` by \ When doing a copy paste in a shell terminal the ` was not interpreted correctly ``` az vm list-skus ` --size dc ` --query "[?family=='standard<vm-series>Family'].{name:name,locations:locationInfo[0].location,AZ_a:locationInfo[0].zones[0],AZ_b:locationInfo[0].zones[1],AZ_c:locationInfo[0].zones[2]}" ` --all ` --output table zsh: command not found: --size ```
1 parent 8ab5e6e commit 2d16866

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

articles/confidential-computing/virtual-machine-solutions-amd.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,21 @@ You can use the [Azure CLI](/cli/azure/install-azure-cli) with your confidential
3939
To see a list of confidential VM sizes, run the following command. Replace `<vm-series>` with the series you want to use. For example, `DCASv5`, `ECASv5`, `DCADSv5`, or `ECADSv5`. The output shows information about available regions and availability zones.
4040

4141
```azurecli-interactive
42-
az vm list-skus `
43-
--size dc `
44-
--query "[?family=='standard<vm-series>Family'].{name:name,locations:locationInfo[0].location,AZ_a:locationInfo[0].zones[0],AZ_b:locationInfo[0].zones[1],AZ_c:locationInfo[0].zones[2]}" `
45-
--all `
42+
vm_series='DCASv5'
43+
az vm list-skus \
44+
--size dc \
45+
--query "[?family=='standard${vm_series}Family'].{name:name,locations:locationInfo[0].location,AZ_a:locationInfo[0].zones[0],AZ_b:locationInfo[0].zones[1],AZ_c:locationInfo[0].zones[2]}" \
46+
--all \
4647
--output table
4748
```
4849

4950
For a more detailed list, run the following command instead:
5051

5152
```azurecli-interactive
52-
az vm list-skus `
53-
--size dc `
54-
--query "[?family=='standard<vm-series>Family']"
53+
vm_series='DCASv5'
54+
az vm list-skus \
55+
--size dc \
56+
--query "[?family=='standard${vm_series}Family']"
5557
```
5658

5759
## Deployment considerations

0 commit comments

Comments
 (0)