Delen via


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, String, String, IDictionary<String, String>, SnapshotSku)

Initializes a new instance of the SnapshotUpdate class.

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

Initializes a new instance of the SnapshotUpdate class.

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

Initializes a new instance of the SnapshotUpdate class.

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

Initializes a new instance of the SnapshotUpdate class.

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

Initializes a new instance of the SnapshotUpdate class.

Properties

DataAccessAuthMode

Gets or sets possible values include: 'AzureActiveDirectory', 'None'

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'

PublicNetworkAccess

Gets or sets possible values include: 'Enabled', 'Disabled'

Sku
SupportedCapabilities

Gets or sets list of supported capabilities for the image from which the OS disk was created.

SupportsHibernation

Gets or sets indicates the OS on a snapshot supports hibernation.

Tags

Gets or sets resource tags

Methods

Validate()

Validate the object.

Applies to