Share via


DataDisk.CreateOption Property

Definition

Gets or sets specifies how the virtual machine 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. Possible values include: 'FromImage', 'Empty', 'Attach'

[Newtonsoft.Json.JsonProperty(PropertyName="createOption")]
public string CreateOption { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="createOption")>]
member this.CreateOption : string with get, set
Public Property CreateOption As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to