DataDisk.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.
Gets or sets 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. Possible values include: 'FromImage', 'Empty', 'Attach'
[Newtonsoft.Json.JsonProperty(PropertyName="createOption")]
public Microsoft.Azure.Management.Compute.Fluent.Models.DiskCreateOptionTypes CreateOption { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="createOption")>]
member this.CreateOption : Microsoft.Azure.Management.Compute.Fluent.Models.DiskCreateOptionTypes with get, set
Public Property CreateOption As DiskCreateOptionTypes
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute