共用方式為


DataDisk.CreateOption Property

Definition

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

Applies to