VirtualMachineOSDisk.CreateOption Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how the virtual machine disk should be created. Possible values are Attach: This value is used when you are using a specialized disk to create the virtual machine. FromImage: This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described.
public Azure.ResourceManager.Compute.Models.DiskCreateOptionType CreateOption { get; set; }
member this.CreateOption : Azure.ResourceManager.Compute.Models.DiskCreateOptionType with get, set
Public Property CreateOption As DiskCreateOptionType