DiskUpdate Class

Definition

Disk update resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class DiskUpdate : Microsoft.Azure.Management.Compute.Models.ResourceUpdate
type DiskUpdate = class
    inherit ResourceUpdate
Public Class DiskUpdate
Inherits ResourceUpdate
Inheritance
Microsoft.Azure.Management.Compute.Models.ResourceUpdate
DiskUpdate
Attributes

Constructors

DiskUpdate()

Initializes a new instance of the DiskUpdate class.

Properties

DiskSizeGB

Gets or sets if creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD 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.

OsType

Gets or sets the Operating System type. Possible values include: 'Windows', 'Linux'

Methods

Validate()

Validate the object.

Applies to