DiskCreateOptionType Enum

Definition

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. Empty: This value is used when creating an empty data disk. Copy: This value is used to create a data disk from a snapshot or another disk. Restore: This value is used to create a data disk from a disk restore point.

public enum DiskCreateOptionType
type DiskCreateOptionType = 
Public Enum DiskCreateOptionType
Inheritance
DiskCreateOptionType

Fields

Name Value Description
FromImage 0

FromImage.

Empty 1

Empty.

Attach 2

Attach.

Copy 3

Copy.

Restore 4

Restore.

Applies to