Share via


DataDisk.DiskSizeGB Property

Definition

Gets or sets specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.

[Newtonsoft.Json.JsonProperty(PropertyName="diskSizeGB")]
public int? DiskSizeGB { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="diskSizeGB")>]
member this.DiskSizeGB : Nullable<int> with get, set
Public Property DiskSizeGB As Nullable(Of Integer)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to