How to create Windows VM with managed OS disk?


This document only described creating a VM with an unmanaged OS disk, but there’s no mention nor example regarding how to create a VM with a managed OS disk.

The VM size I want to create requires manages OS disk. Could someone provide me an example?