GetSnapshotResult

data class GetSnapshotResult(val completionPercent: Double? = null, val copyCompletionError: CopyCompletionErrorResponse? = null, val creationData: CreationDataResponse, val dataAccessAuthMode: String? = null, val diskAccessId: String? = null, val diskSizeBytes: Double, val diskSizeGB: Int? = null, val diskState: String, val encryption: EncryptionResponse? = null, val encryptionSettingsCollection: EncryptionSettingsCollectionResponse? = null, val extendedLocation: ExtendedLocationResponse? = null, val hyperVGeneration: String? = null, val id: String, val incremental: Boolean? = null, val incrementalSnapshotFamilyId: String, val location: String, val managedBy: String, val name: String, val networkAccessPolicy: String? = null, val osType: String? = null, val provisioningState: String, val publicNetworkAccess: String? = null, val purchasePlan: PurchasePlanResponse? = null, val securityProfile: DiskSecurityProfileResponse? = null, val sku: SnapshotSkuResponse? = null, val supportedCapabilities: SupportedCapabilitiesResponse? = null, val supportsHibernation: Boolean? = null, val tags: Map<String, String>? = null, val timeCreated: String, val type: String, val uniqueId: String)

Snapshot resource.

Constructors

Link copied to clipboard
constructor(completionPercent: Double? = null, copyCompletionError: CopyCompletionErrorResponse? = null, creationData: CreationDataResponse, dataAccessAuthMode: String? = null, diskAccessId: String? = null, diskSizeBytes: Double, diskSizeGB: Int? = null, diskState: String, encryption: EncryptionResponse? = null, encryptionSettingsCollection: EncryptionSettingsCollectionResponse? = null, extendedLocation: ExtendedLocationResponse? = null, hyperVGeneration: String? = null, id: String, incremental: Boolean? = null, incrementalSnapshotFamilyId: String, location: String, managedBy: String, name: String, networkAccessPolicy: String? = null, osType: String? = null, provisioningState: String, publicNetworkAccess: String? = null, purchasePlan: PurchasePlanResponse? = null, securityProfile: DiskSecurityProfileResponse? = null, sku: SnapshotSkuResponse? = null, supportedCapabilities: SupportedCapabilitiesResponse? = null, supportsHibernation: Boolean? = null, tags: Map<String, String>? = null, timeCreated: String, type: String, uniqueId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Percentage complete for the background copy when a resource is created via the CopyStart operation.

Link copied to clipboard

Indicates the error details if the background copy of a resource created via the CopyStart operation fails.

Link copied to clipboard

Disk source information. CreationData information cannot be changed after the disk has been created.

Link copied to clipboard

Additional authentication requirements when exporting or uploading to a disk or snapshot.

Link copied to clipboard
val diskAccessId: String? = null

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

Link copied to clipboard

The size of the disk in bytes. This field is read only.

Link copied to clipboard
val diskSizeGB: Int? = null

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.

Link copied to clipboard

The state of the snapshot.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The extended location where the snapshot will be created. Extended location cannot be changed.

Link copied to clipboard

The hypervisor generation of the Virtual Machine. Applicable to OS disks only.

Link copied to clipboard
val id: String

Resource Id

Link copied to clipboard
val incremental: Boolean? = null

Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.

Link copied to clipboard

Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.

Link copied to clipboard

Resource location

Link copied to clipboard

Unused. Always Null.

Link copied to clipboard

Resource name

Link copied to clipboard

Policy for accessing the disk via network.

Link copied to clipboard
val osType: String? = null

The Operating System type.

Link copied to clipboard

The disk provisioning state.

Link copied to clipboard

Policy for controlling export on the disk.

Link copied to clipboard

Purchase plan information for the image from which the source disk for the snapshot was originally created.

Link copied to clipboard

Contains the security related information for the resource.

Link copied to clipboard

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

Link copied to clipboard

List of supported capabilities for the image from which the source disk from the snapshot was originally created.

Link copied to clipboard

Indicates the OS on a snapshot supports hibernation.

Link copied to clipboard
val tags: Map<String, String>? = null

Resource tags

Link copied to clipboard

The time when the snapshot was created.

Link copied to clipboard

Resource type

Link copied to clipboard

Unique Guid identifying the resource.