Project

General

Profile

Feature #14912

Updated by Peter Amstutz about 5 years ago

https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/createorupdate#datadisk 

 Need to add managed disks to the DataDisk section. 

 Each data disk maxes out at 1023 GB so we need to be able to attach multiple data disks. 

 From documentation, the minimum fields seem to be "diskSizeGB" "createOption" and "lun" 

 <pre> 
       "dataDisks": [ 
         { 
           "diskSizeGB": 1023, 
           "createOption": "Empty", 
           "lun": 0 
         } 
       ] 
 </pre> 

 This seems to create managed disks.    Managed disks don't get automatically deleted when the VM goes away (???) but have to be garbage collected through an API https://docs.microsoft.com/en-us/rest/api/compute/disks similar to NICs. 

 Related, Azure has ephemeral OS disks: 

 https://azure.microsoft.com/en-us/blog/ephemeral-os-disk-limited-public-preview/

Back