SnapshotProperties interface
Snapshot resource properties.
Properties
| completion |
Percentage complete for the background copy when a resource is created via the CopyStart operation. |
| copy |
Indicates the error details if the background copy of a resource created via the CopyStart operation fails. |
| creation |
Disk source information. CreationData information cannot be changed after the disk has been created. |
| data |
Additional authentication requirements when exporting or uploading to a disk or snapshot. |
| disk |
ARM id of the DiskAccess resource for using private endpoints on disks. |
| disk |
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. |
| encryption |
Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. |
| hyper |
The hypervisor generation of the Virtual Machine. Applicable to OS disks only. |
| incremental | Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed. |
| network |
Policy for accessing the disk via network. |
| os |
The Operating System type. |
| public |
Policy for controlling export on the disk. |
| purchase |
Purchase plan information for the image from which the source disk for the snapshot was originally created. |
| security |
Contains the security related information for the resource. |
| supported |
List of supported capabilities for the image from which the source disk from the snapshot was originally created. |
| supports |
Indicates the OS on a snapshot supports hibernation. |
Property Details
completionPercent
Percentage complete for the background copy when a resource is created via the CopyStart operation.
completionPercent?: number
Property Value
number
copyCompletionError
Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
copyCompletionError?: CopyCompletionError
Property Value
creationData
Disk source information. CreationData information cannot be changed after the disk has been created.
creationData: CreationData
Property Value
dataAccessAuthMode
Additional authentication requirements when exporting or uploading to a disk or snapshot.
dataAccessAuthMode?: "None" | "AzureActiveDirectory"
Property Value
"None" | "AzureActiveDirectory"
diskAccessId
ARM id of the DiskAccess resource for using private endpoints on disks.
diskAccessId?: string
Property Value
string
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
hyperVGeneration
The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
hyperVGeneration?: "V1" | "V2"
Property Value
"V1" | "V2"
incremental
Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.
incremental?: boolean
Property Value
boolean
networkAccessPolicy
Policy for accessing the disk via network.
networkAccessPolicy?: "AllowAll" | "AllowPrivate" | "DenyAll"
Property Value
"AllowAll" | "AllowPrivate" | "DenyAll"
osType
The Operating System type.
osType?: "Windows" | "Linux"
Property Value
"Windows" | "Linux"
publicNetworkAccess
Policy for controlling export on the disk.
publicNetworkAccess?: "Enabled" | "Disabled"
Property Value
"Enabled" | "Disabled"
purchasePlan
Purchase plan information for the image from which the source disk for the snapshot was originally created.
purchasePlan?: PurchasePlanAutoGenerated
Property Value
securityProfile
Contains the security related information for the resource.
securityProfile?: DiskSecurityProfile
Property Value
supportedCapabilities
List of supported capabilities for the image from which the source disk from the snapshot was originally created.
supportedCapabilities?: SupportedCapabilities
Property Value
supportsHibernation
Indicates the OS on a snapshot supports hibernation.
supportsHibernation?: boolean
Property Value
boolean