Disk.DiskSizeGB 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET