DataDisk.CreateOption Property

Definition

Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> Attach \u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> FromImage \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.

public Azure.ResourceManager.Compute.Models.DiskCreateOptionTypes CreateOption { get; set; }
member this.CreateOption : Azure.ResourceManager.Compute.Models.DiskCreateOptionTypes with get, set
Public Property CreateOption As DiskCreateOptionTypes

Property Value

DiskCreateOptionTypes

Applies to