Share via


ManagedDiskPatch.DiskSizeGB Property

Definition

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.

public int? DiskSizeGB { get; set; }
member this.DiskSizeGB : Nullable<int> with get, set
Public Property DiskSizeGB As Nullable(Of Integer)

Property Value

Applies to