SnapshotUpdate Class

Definition

Snapshot update resource.

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

Constructors

SnapshotUpdate()

Initializes a new instance of the SnapshotUpdate 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