SnapshotUpdate interface

Snapshot update resource.

Properties

diskSizeGB

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

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

encryptionSettingsCollection

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

osType

the Operating System type.

sku

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.

tags

Resource tags

Property Details

diskSizeGB

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.

diskSizeGB?: number

Property Value

number

encryption

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

encryption?: Encryption

Property Value

encryptionSettingsCollection

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

encryptionSettingsCollection?: EncryptionSettingsCollection

Property Value

osType

the Operating System type.

osType?: OperatingSystemTypes

Property Value

sku

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.

sku?: SnapshotSku

Property Value

tags

Resource tags

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}