Skip to content

Commit 49eca3d

Browse files
authored
Merge pull request #190297 from ckittel/patch-9
Add Az CLI command to query the list of SKUs supporting Accelerated Networking
2 parents 253f4a6 + 259aa55 commit 49eca3d

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

articles/virtual-network/accelerated-networking-overview.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,20 @@ The following distributions are supported out of the box from the Azure Gallery:
6868

6969
Accelerated Networking is supported on most general purpose and compute-optimized instance sizes with 2 or more vCPUs. On instances that support hyperthreading, Accelerated Networking is supported on VM instances with 4 or more vCPUs.
7070

71-
Support for Accelerated Networking can be found in the individual [virtual machine sizes](../virtual-machines/sizes.md) documentation.
71+
Support for Accelerated Networking can be found in the individual [virtual machine sizes](../virtual-machines/sizes.md) documentation.
7272

73-
### Custom images
73+
The list of Virtual Machine SKUs that support Accelerated Networking can be queried directly via the following Azure CLI [`az vm list-skus`](/cli/azure/vm?view=azure-cli-latest#az-vm-list-skus) command.
74+
75+
```azurecli-interactive
76+
az vm list-skus \
77+
--location westus \
78+
--all true \
79+
--resource-type virtualMachines \
80+
--query '[].{size:size, name:name, acceleratedNetworkingEnabled: capabilities[?name==`AcceleratedNetworkingEnabled`].value | [0]}' \
81+
--output table
82+
```
7483

84+
### Custom images
7585

7686
If you're using a custom image and your image supports Accelerated Networking, make sure that you have the required drivers to work with Mellanox ConnectX-3, ConnectX-4 Lx, and ConnectX-5 NICs on Azure. Also, Accelerated Networking requires network configurations that exempt the configuration of the virtual functions (mlx4_en and mlx5_core drivers). In images that have cloud-init >=19.4, networking is correctly configured to support Accelerated Networking during provisioning.
7787

@@ -92,4 +102,3 @@ Virtual machines (classic) can't be deployed with accelerated networking.
92102
* Learn how to [create a VM with Accelerated Networking in PowerShell](./create-vm-accelerated-networking-powershell.md)
93103
* Learn how to [create a VM with Accerelated Networking using Azure CLI](./create-vm-accelerated-networking-cli.md)
94104
* Improve latency with an [Azure proximity placement group](../virtual-machines/co-location.md)
95-

0 commit comments

Comments
 (0)