Azure VM OSDisk.ManagedDisk

Hi, with Terraform12-24, how can I create an Azure VM with OS disk being a ManagedDisk? Also. How to create a VM from a Container .VHD file?

Thanks,