Skip to content

Commit 0d45fd8

Browse files
committed
VM Default Size Enhancement Update
1 parent d55674c commit 0d45fd8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

articles/devtest-labs/devtest-lab-add-vm.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,15 @@ You need at least [user](devtest-lab-add-devtest-user.md#devtest-labs-user) acce
3434
- **Use a saved secret**: Select this checkbox to use a secret from Azure Key Vault instead of a password to access the VM. If you select this option, under **Secret**, select the secret to use from the dropdown list. For more information, see [Store secrets in a key vault](devtest-lab-store-secrets-in-key-vault.md).
3535
- **Password**: If you don't choose to use a secret, enter a VM password between 8 and 123 characters long.
3636
- **Save as default password**: Select this checkbox to save the password in the Key Vault associated with the lab.
37-
- **Virtual machine size**: Keep the default value for the base, or select **Change Size** to select different sizes.
37+
- **Virtual machine size**: Keep the default value for the base, or select **Change Size** to select different sizes. Here is how the default VM Size is selected:
38+
- If the **Configuration and policies** -> **Allowed virtual machine sizes** list has **All sizes** selected, then:
39+
- If the **Image Base** selected during VM creation has x64 architecture, then the default size selected is **D4s_v5**.
40+
- If the **Image Base** selected during VM creation has ARM64 architecture, then the default size selected is **D4pls_v5**.
41+
- If the **Configuration and policies** -> **Allowed virtual machine sizes** list only has limited **Selected sizes**, then:
42+
- If the **Image Base** selected during VM creation has x64 architecture and D4s_v5 VM size is selected in the **Allowed virtual machine sizes** list, then the default size selected is **D4s_v5**.
43+
- If the **Image Base** selected during VM creation has x64 architecture and but D4s_v5 VM size is not selected in the **Allowed virtual machine sizes** list, then the default size selected is the first VM size in the **Allowed virtual machine sizes** list that can be used for the selected image base.
44+
- If the **Image Base** selected during VM creation has ARM64 architecture and D4pls_v5 VM size is selected in the **Allowed virtual machine sizes** list, then the default size selected is **D4pls_v5**.
45+
- If the **Image Base** selected during VM creation has ARM64 architecture and D4pls_v5 VM size is not selected in the **Allowed virtual machine sizes** list, then the default size selected is the first VM size in the **Allowed virtual machine sizes** list that can be used for the selected image base.
3846
- **Allow hibernation**: Select this option to enable hibernation for the virtual machine. If you enable Hibernation, you also must select **Public IP** in the Advanced settings as Private and Shared IP are currently not supported if Hibernation is enabled.
3947
- **OS disk type**: Keep the default value for the base, or select a different option from the dropdown list.
4048
- **Security type**: Select **Trusted Launch** to enable it for Gen2 VMs. On selecting Trusted Launch When the options Secure boot, vTPM, and Integrity Monitoring appear, select the appropriate options for your deployment. For more information, see [Trusted Launch-enabled security features](https://learn.microsoft.com/azure/virtual-machines/trusted-launch#secure-boot).

0 commit comments

Comments
 (0)