Delen via


Disk.DiskSizeGB Property

Definition

Gets or sets if creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to