SnapshotUpdateProperties Class

Snapshot resource update properties.

Constructor

SnapshotUpdateProperties(*args: Any, **kwargs: Any)

Variables

Name Description
os_type

the Operating System type. Known values are: "Windows" and "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

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

encryption

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

network_access_policy

Policy for accessing the disk via network. Known values are: "AllowAll", "AllowPrivate", and "DenyAll".

disk_access_id
str

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

supports_hibernation

Indicates the OS on a snapshot supports hibernation.

public_network_access

Policy for controlling export on the disk. Known values are: "Enabled" and "Disabled".

data_access_auth_mode

Additional authentication requirements when exporting or uploading to a disk or snapshot. Known values are: "AzureActiveDirectory" and "None".

supported_capabilities

List of supported capabilities for the image from which the OS disk was created.

snapshot_access_state

The state of snapshot which determines the access availability of the snapshot. Known values are: "Unknown", "Pending", "Available", "InstantAccess", and "AvailableWithInstantAccess".

Attributes

data_access_auth_mode

Additional authentication requirements when exporting or uploading to a disk or snapshot. Known values are: "AzureActiveDirectory" and "None".

data_access_auth_mode: str | _models.DataAccessAuthMode | None

disk_access_id

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

disk_access_id: str | None

disk_size_gb

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.

disk_size_gb: int | None

encryption

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

encryption: _models.Encryption | None

encryption_settings_collection

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

encryption_settings_collection: _models.EncryptionSettingsCollection | None

network_access_policy

"AllowAll", "AllowPrivate", and "DenyAll".

network_access_policy: str | _models.NetworkAccessPolicy | None

os_type

"Windows" and "Linux".

os_type: str | _models.OperatingSystemTypes | None

public_network_access

"Enabled" and "Disabled".

public_network_access: str | _models.PublicNetworkAccess | None

snapshot_access_state

The state of snapshot which determines the access availability of the snapshot. Known values are: "Unknown", "Pending", "Available", "InstantAccess", and "AvailableWithInstantAccess".

snapshot_access_state: str | _models.SnapshotAccessState | None

supported_capabilities

List of supported capabilities for the image from which the OS disk was created.

supported_capabilities: _models.SupportedCapabilities | None

supports_hibernation

Indicates the OS on a snapshot supports hibernation.

supports_hibernation: bool | None