SnapshotUpdate Class
Snapshot update resource.
- Inheritance
-
SnapshotUpdate
Constructor
SnapshotUpdate(*, tags: Optional[Dict[str, str]] = None, sku: Optional[azure.mgmt.compute.v2020_12_01.models._models_py3.SnapshotSku] = None, os_type: Optional[Union[str, azure.mgmt.compute.v2020_12_01.models._compute_management_client_enums.OperatingSystemTypes]] = None, disk_size_gb: Optional[int] = None, encryption_settings_collection: Optional[azure.mgmt.compute.v2020_12_01.models._models_py3.EncryptionSettingsCollection] = None, encryption: Optional[azure.mgmt.compute.v2020_12_01.models._models_py3.Encryption] = None, network_access_policy: Optional[Union[str, azure.mgmt.compute.v2020_12_01.models._compute_management_client_enums.NetworkAccessPolicy]] = None, disk_access_id: Optional[str] = None, supports_hibernation: Optional[bool] = None, **kwargs)
Parameters
- sku
- SnapshotSku
The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot.
- os_type
- str or OperatingSystemTypes
the Operating System type. Possible values include: "Windows", "Linux".
- disk_size_gb
- int
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_settings_collection
- EncryptionSettingsCollection
Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- encryption
- Encryption
Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- network_access_policy
- str or NetworkAccessPolicy
Policy for accessing the disk via network. Possible values include: "AllowAll", "AllowPrivate", "DenyAll".
Feedback
Submit and view feedback for