SnapshotUpdate Class

Definition

Snapshot update resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SnapshotUpdate
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SnapshotUpdate = class
Public Class SnapshotUpdate
Inheritance
SnapshotUpdate
Attributes

Constructors

SnapshotUpdate()

Initializes a new instance of the SnapshotUpdate class.

SnapshotUpdate(Nullable<OperatingSystemTypes>, Nullable<Int32>, EncryptionSettingsCollection, Encryption, NetworkAccessPolicy, String, IDictionary<String,String>, SnapshotSku)

Initializes a new instance of the SnapshotUpdate class.

Properties

DiskAccessId

Gets or sets ARM id of the DiskAccess resource for using private endpoints on disks.

DiskSizeGB

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.

Encryption

Gets or sets encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

EncryptionSettingsCollection

Gets or sets encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

NetworkAccessPolicy

Gets or sets possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll'

OsType

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

Sku
Tags

Gets or sets resource tags

Methods

Validate()

Validate the object.

Applies to