Azure powershell 获取 vmSize 可用列表的命令
1、使用 Add-AzureAccount -Environment azurechinacloud 登录到订阅
2、选择默认的订阅 Select-AzureSubscription -SubscriptionId {订阅ID} -Default
3、执行获取命令 Get-AzureRoleSize | select RoleSizeLabel
结果如下:
RoleSizeLabel
-------------
A5 (2 cores, 14336 MB)
A6 (4 cores, 28672 MB)
A7 (8 cores, 57344 MB)
Basic_A0 (1 cores, 768 MB)
Basic_A1 (1 cores, 1792 MB)
Basic_A2 (2 cores, 3584 MB)
Basic_A3 (4 cores, 7168 MB)
Basic_A4 (8 cores, 14336 MB)
ExtraLarge (8 cores, 14336 MB)
ExtraSmall (1 cores, 768 MB)
Large (4 cores, 7168 MB)
Medium (2 cores, 3584 MB)
Small (1 cores, 1792 MB)
Standard_A1_v2 (1 cores, 2048 MB)
Standard_A2_v2 (2 cores, 4096 MB)
Standard_A2m_v2 (2 cores, 16384 MB)
Standard_A4_v2 (4 cores, 8192 MB)
Standard_A4m_v2 (4 cores, 32768 MB)
Standard_A8_v2 (8 cores, 16384 MB)
Standard_A8m_v2 (8 cores, 65536 MB)
Standard_D1 (1 cores, 3584 MB)
Standard_D1_v2 (1 cores, 3584 MB)
Standard_D11 (2 cores, 14336 MB)
Standard_D11_v2 (2 cores, 14336 MB)
Standard_D11_v2_Promo (2 cores, 14336 MB)
Standard_D12 (4 cores, 28672 MB)
Standard_D12_v2 (4 cores, 28672 MB)
Standard_D12_v2_Promo (4 cores, 28672 MB)
Standard_D13 (8 cores, 57344 MB)
Standard_D13_v2 (8 cores, 57344 MB)
Standard_D13_v2_Promo (8 cores, 57344 MB)
Standard_D14 (16 cores, 114688 MB)
Standard_D14_v2 (16 cores, 114688 MB)
Standard_D14_v2_Promo (16 cores, 114688 MB)
Standard_D15_v2 (20 cores, 143360 MB)
Standard_D2 (2 cores, 7168 MB)
Standard_D2_v2 (2 cores, 7168 MB)
Standard_D2_v2_Promo (2 cores, 7168 MB)
Standard_D3 (4 cores, 14336 MB)
Standard_D3_v2 (4 cores, 14336 MB)
Standard_D3_v2_Promo (4 cores, 14336 MB)
Standard_D4 (8 cores, 28672 MB)
Standard_D4_v2 (8 cores, 28672 MB)
Standard_D4_v2_Promo (8 cores, 28672 MB)
Standard_D5_v2 (16 cores, 57344 MB)
Standard_D5_v2_Promo (16 cores, 57344 MB)
Standard_DS1 (1 cores, 3584 MB)
Standard_DS1_v2 (1 cores, 3584 MB)
Standard_DS11 (2 cores, 14336 MB)
Standard_DS11_v2 (2 cores, 14336 MB)
Standard_DS11_v2_Promo (2 cores, 14336 MB)
Standard_DS12 (4 cores, 28672 MB)
Standard_DS12_v2 (4 cores, 28672 MB)
Standard_DS12_v2_Promo (4 cores, 28672 MB)
Standard_DS13 (8 cores, 57344 MB)
Standard_DS13_v2 (8 cores, 57344 MB)
Standard_DS13_v2_Promo (8 cores, 57344 MB)
Standard_DS14 (16 cores, 114688 MB)
Standard_DS14_v2 (16 cores, 114688 MB)
Standard_DS14_v2_Promo (16 cores, 114688 MB)
Standard_DS15_v2 (20 cores, 143360 MB)
Standard_DS2 (2 cores, 7168 MB)
Standard_DS2_v2 (2 cores, 7168 MB)
Standard_DS2_v2_Promo (2 cores, 7168 MB)
Standard_DS3 (4 cores, 14336 MB)
Standard_DS3_v2 (4 cores, 14336 MB)
Standard_DS3_v2_Promo (4 cores, 14336 MB)
Standard_DS4 (8 cores, 28672 MB)
Standard_DS4_v2 (8 cores, 28672 MB)
Standard_DS4_v2_Promo (8 cores, 28672 MB)
Standard_DS5_v2 (16 cores, 57344 MB)
Standard_DS5_v2_Promo (16 cores, 57344 MB)
Standard_F1 (1 cores, 2048 MB)
Standard_F16 (16 cores, 32768 MB)
Standard_F16s (16 cores, 32768 MB)
Standard_F1s (1 cores, 2048 MB)
Standard_F2 (2 cores, 4096 MB)
Standard_F2s (2 cores, 4096 MB)
Standard_F4 (4 cores, 8192 MB)
Standard_F4s (4 cores, 8192 MB)
Standard_F8 (8 cores, 16384 MB)
Standard_F8s (8 cores, 16384 MB)