You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/devtest-labs/devtest-lab-add-vm.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,15 @@ You need at least [user](devtest-lab-add-devtest-user.md#devtest-labs-user) acce
34
34
-**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).
35
35
-**Password**: If you don't choose to use a secret, enter a VM password between 8 and 123 characters long.
36
36
-**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.
38
46
-**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.
39
47
-**OS disk type**: Keep the default value for the base, or select a different option from the dropdown list.
40
48
-**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