GetDiskResult class

Result data returned by getDisk.

Constructors

GetDiskResult({String? accessMode, String? architecture, List<GetDiskAsyncPrimaryDisk>? asyncPrimaryDisks, bool? createSnapshotBeforeDestroy, String? createSnapshotBeforeDestroyPrefix, String? creationTimestamp, String? deletionPolicy, String? description, List<GetDiskDiskEncryptionKey>? diskEncryptionKeys, String? diskId, Map<String, String>? effectiveLabels, bool? enableConfidentialCompute, bool? eraseWindowsVssSignature, List<GetDiskGuestOsFeature>? guestOsFeatures, String? id, String? image, String? interface, String? labelFingerprint, Map<String, String>? labels, String? lastAttachTimestamp, String? lastDetachTimestamp, List<String>? licenses, bool? multiWriter, String? name, List<GetDiskParam>? params, int? physicalBlockSizeBytes, String? project, int? provisionedIops, int? provisionedThroughput, Map<String, String>? pulumiLabels, List<String>? resourcePolicies, String? selfLink, int? size, String? snapshot, String? sourceDisk, String? sourceDiskId, List<GetDiskSourceImageEncryptionKey>? sourceImageEncryptionKeys, String? sourceImageId, String? sourceInstantSnapshot, String? sourceInstantSnapshotId, List<GetDiskSourceSnapshotEncryptionKey>? sourceSnapshotEncryptionKeys, String? sourceSnapshotId, String? sourceStorageObject, String? storagePool, String? type, List<String>? users, String? zone})
Creates a new GetDiskResult. accessMode Optional. architecture Optional. asyncPrimaryDisks Optional. createSnapshotBeforeDestroy Optional. createSnapshotBeforeDestroyPrefix Optional. creationTimestamp Creation timestamp in RFC3339 text format. deletionPolicy Optional. description The optional description of this resource. diskEncryptionKeys Optional. diskId Optional. effectiveLabels Optional. enableConfidentialCompute Optional. eraseWindowsVssSignature Optional. guestOsFeatures Optional. id The provider-assigned unique ID for this managed resource. image The image from which to initialize this disk. interface Optional. labelFingerprint The fingerprint used for optimistic locking of this resource. Used labels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. lastAttachTimestamp Last attach timestamp in RFC3339 text format. lastDetachTimestamp Last detach timestamp in RFC3339 text format. licenses Optional. multiWriter Optional. name Optional. params Optional. physicalBlockSizeBytes Physical block size of the persistent disk, in bytes. project Optional. provisionedIops Optional. provisionedThroughput Optional. pulumiLabels Optional. resourcePolicies Optional. selfLink The URI of the created resource. size Size of the persistent disk, specified in GB. snapshot The source snapshot used to create this disk. sourceDisk Optional. sourceDiskId Optional. sourceImageEncryptionKeys The customer-supplied encryption key of the source image. sourceImageId The ID value of the image used to create this disk. This value sourceInstantSnapshot Optional. sourceInstantSnapshotId Optional. sourceSnapshotEncryptionKeys The customer-supplied encryption key of the source snapshot. sourceSnapshotId The unique ID of the snapshot used to create this disk. This value sourceStorageObject Optional. storagePool Optional. type URL of the disk type resource describing which disk type to use to users Links to the users of the disk (attached instances) in form: zone A reference to the zone where the disk resides.
const
GetDiskResult.fromMap(Map<String, dynamic> map)
factory

Properties

accessMode → String?
final
architecture → String?
final
asyncPrimaryDisks → List<GetDiskAsyncPrimaryDisk>?
final
createSnapshotBeforeDestroy → bool?
final
createSnapshotBeforeDestroyPrefix → String?
final
creationTimestamp → String?
Creation timestamp in RFC3339 text format.
final
deletionPolicy → String?
final
description → String?
The optional description of this resource.
final
diskEncryptionKeys → List<GetDiskDiskEncryptionKey>?
final
diskId → String?
final
effectiveLabels → Map<String, String>?
final
enableConfidentialCompute → bool?
final
eraseWindowsVssSignature → bool?
final
guestOsFeatures → List<GetDiskGuestOsFeature>?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
The provider-assigned unique ID for this managed resource.
final
image → String?
The image from which to initialize this disk.
final
interface → String?
final
labelFingerprint → String?
The fingerprint used for optimistic locking of this resource. Used internally during updates.
final
labels → Map<String, String>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
lastAttachTimestamp → String?
Last attach timestamp in RFC3339 text format.
final
lastDetachTimestamp → String?
Last detach timestamp in RFC3339 text format.
final
licenses → List<String>?
final
multiWriter → bool?
final
name → String?
final
params → List<GetDiskParam>?
final
physicalBlockSizeBytes → int?
Physical block size of the persistent disk, in bytes.
final
project → String?
final
provisionedIops → int?
final
provisionedThroughput → int?
final
pulumiLabels → Map<String, String>?
final
resourcePolicies → List<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
The URI of the created resource.
final
size → int?
Size of the persistent disk, specified in GB.
final
snapshot → String?
The source snapshot used to create this disk.
final
sourceDisk → String?
final
sourceDiskId → String?
final
sourceImageEncryptionKeys → List<GetDiskSourceImageEncryptionKey>?
The customer-supplied encryption key of the source image.
final
sourceImageId → String?
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.
final
sourceInstantSnapshot → String?
final
sourceInstantSnapshotId → String?
final
sourceSnapshotEncryptionKeys → List<GetDiskSourceSnapshotEncryptionKey>?
The customer-supplied encryption key of the source snapshot.
final
sourceSnapshotId → String?
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.
final
sourceStorageObject → String?
final
storagePool → String?
final
type → String?
URL of the disk type resource describing which disk type to use to create the disk.
final
users → List<String>?
Links to the users of the disk (attached instances) in form: project/zones/zone/instances/instance
final
zone → String?
A reference to the zone where the disk resides.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited