SnapshotUpdate Class

Snapshot update resource.

Inheritance
SnapshotUpdate

Constructor

SnapshotUpdate(*, tags: Optional[Dict[str, str]] = None, sku: Optional[azure.mgmt.compute.v2018_04_01.models._models_py3.SnapshotSku] = None, os_type: Optional[Union[str, azure.mgmt.compute.v2018_04_01.models._compute_management_client_enums.OperatingSystemTypes]] = None, disk_size_gb: Optional[int] = None, encryption_settings: Optional[azure.mgmt.compute.v2018_04_01.models._models_py3.EncryptionSettings] = None, **kwargs)

Parameters

tags
dict[str, str]
Required

A set of tags. Resource tags.

sku
SnapshotSku
Required

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

os_type
str or OperatingSystemTypes
Required

the Operating System type. Possible values include: "Windows", "Linux".

disk_size_gb
int
Required

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.

encryption_settings
EncryptionSettings
Required

Encryption settings for disk or snapshot.