GetSnapshotsResult

data class GetSnapshotsResult(val category: String? = null, val dryRun: Boolean? = null, val encrypted: Boolean? = null, val id: String, val ids: List<String>, val kmsKeyId: String? = null, val nameRegex: String? = null, val names: List<String>, val outputFile: String? = null, val resourceGroupId: String? = null, val snapshotLinkId: String? = null, val snapshotName: String? = null, val snapshotType: String? = null, val snapshots: List<GetSnapshotsSnapshot>, val sourceDiskType: String? = null, val status: String? = null, val tags: Map<String, String>? = null, val type: String? = null, val usage: String? = null)

A collection of values returned by getSnapshots.

Constructors

Link copied to clipboard
constructor(category: String? = null, dryRun: Boolean? = null, encrypted: Boolean? = null, id: String, ids: List<String>, kmsKeyId: String? = null, nameRegex: String? = null, names: List<String>, outputFile: String? = null, resourceGroupId: String? = null, snapshotLinkId: String? = null, snapshotName: String? = null, snapshotType: String? = null, snapshots: List<GetSnapshotsSnapshot>, sourceDiskType: String? = null, status: String? = null, tags: Map<String, String>? = null, type: String? = null, usage: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val category: String? = null
Link copied to clipboard
val dryRun: Boolean? = null
Link copied to clipboard
val encrypted: Boolean? = null

Whether the snapshot is encrypted or not.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

A list of snapshot IDs.

Link copied to clipboard
val kmsKeyId: String? = null
Link copied to clipboard
val nameRegex: String? = null
Link copied to clipboard

A list of snapshots names.

Link copied to clipboard
val outputFile: String? = null
Link copied to clipboard
val resourceGroupId: String? = null
Link copied to clipboard
val snapshotLinkId: String? = null
Link copied to clipboard
val snapshotName: String? = null
Link copied to clipboard

A list of snapshots. Each element contains the following attributes:

Link copied to clipboard
val snapshotType: String? = null
Link copied to clipboard
val sourceDiskType: String? = null

Source disk attribute. Value range: System,Data.

Link copied to clipboard
val status: String? = null

The snapshot status. Value range: progressing, accomplished and failed.

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

A map of tags assigned to the snapshot.

Link copied to clipboard
val type: String? = null
Link copied to clipboard
val usage: String? = null

Whether the snapshots are used to create resources or not. Value range: image, disk, image_disk and none.