GetDiskResult

data class GetDiskResult(val asyncPrimaryDisks: List<GetDiskAsyncPrimaryDisk>, val creationTimestamp: String, val description: String, val diskEncryptionKeys: List<GetDiskDiskEncryptionKey>, val enableConfidentialCompute: Boolean, val guestOsFeatures: List<GetDiskGuestOsFeature>, val id: String, val image: String, val interface: String, val labelFingerprint: String, val labels: Map<String, String>, val lastAttachTimestamp: String, val lastDetachTimestamp: String, val licenses: List<String>, val multiWriter: Boolean, val name: String, val physicalBlockSizeBytes: Int, val project: String? = null, val provisionedIops: Int, val provisionedThroughput: Int, val resourcePolicies: List<String>, val selfLink: String, val size: Int, val snapshot: String, val sourceDisk: String, val sourceDiskId: String, val sourceImageEncryptionKeys: List<GetDiskSourceImageEncryptionKey>, val sourceImageId: String, val sourceSnapshotEncryptionKeys: List<GetDiskSourceSnapshotEncryptionKey>, val sourceSnapshotId: String, val type: String, val users: List<String>, val zone: String? = null)

A collection of values returned by getDisk.

Constructors

Link copied to clipboard
constructor(asyncPrimaryDisks: List<GetDiskAsyncPrimaryDisk>, creationTimestamp: String, description: String, diskEncryptionKeys: List<GetDiskDiskEncryptionKey>, enableConfidentialCompute: Boolean, guestOsFeatures: List<GetDiskGuestOsFeature>, id: String, image: String, interface: String, labelFingerprint: String, labels: Map<String, String>, lastAttachTimestamp: String, lastDetachTimestamp: String, licenses: List<String>, multiWriter: Boolean, name: String, physicalBlockSizeBytes: Int, project: String? = null, provisionedIops: Int, provisionedThroughput: Int, resourcePolicies: List<String>, selfLink: String, size: Int, snapshot: String, sourceDisk: String, sourceDiskId: String, sourceImageEncryptionKeys: List<GetDiskSourceImageEncryptionKey>, sourceImageId: String, sourceSnapshotEncryptionKeys: List<GetDiskSourceSnapshotEncryptionKey>, sourceSnapshotId: String, type: String, users: List<String>, zone: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Creation timestamp in RFC3339 text format.

Link copied to clipboard

The optional description of this resource.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

The image from which to initialize this disk.

Link copied to clipboard
Link copied to clipboard

The fingerprint used for optimistic locking of this resource. Used internally during updates.

Link copied to clipboard

A map of labels applied to this disk.

Link copied to clipboard

Last attach timestamp in RFC3339 text format.

Link copied to clipboard

Last detach timestamp in RFC3339 text format.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Physical block size of the persistent disk, in bytes.

Link copied to clipboard
val project: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The URI of the created resource.

Link copied to clipboard
val size: Int

Size of the persistent disk, specified in GB.

Link copied to clipboard

The source snapshot used to create this disk.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The customer-supplied encryption key of the source image.

Link copied to clipboard

The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.

Link copied to clipboard

The customer-supplied encryption key of the source snapshot.

Link copied to clipboard

The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used.

Link copied to clipboard

URL of the disk type resource describing which disk type to use to create the disk.

Link copied to clipboard

Links to the users of the disk (attached instances) in form: project/zones/zone/instances/instance

Link copied to clipboard
val zone: String? = null

A reference to the zone where the disk resides.