也可以通过 Azure CLI:
~ $ azure config mode arm
info: Executing command config mode
info: New mode is arm
info: config mode command OK
~ $ azure vm list-usage --location eastus
info: Executing command vm list-usage
data: Name Unit CurrentValue Limit
data: --------------------------- ----- ------------ -----
data: Availability Sets Count 16 2000
data: Total Regional Cores Count 174 350
data: Virtual Machines Count 58 10000
data: Virtual Machine Scale Sets Count 0 50
data: Standard A0-A7 Family Cores Count 122 350
data: Basic A Family Cores Count 4 350
data: Standard DS Family Cores Count 48 350
info: vm list-usage command OK
此命令在 ASM 模式下根本不起作用。听起来很准确。