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; }

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to

Product Versions
Azure SDK for .NET Legacy