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.
accessModeOptional.architectureOptional.asyncPrimaryDisksOptional.createSnapshotBeforeDestroyOptional.createSnapshotBeforeDestroyPrefixOptional.creationTimestampCreation timestamp in RFC3339 text format.deletionPolicyOptional.descriptionThe optional description of this resource.diskEncryptionKeysOptional.diskIdOptional.effectiveLabelsOptional.enableConfidentialComputeOptional.eraseWindowsVssSignatureOptional.guestOsFeaturesOptional.idThe provider-assigned unique ID for this managed resource.imageThe image from which to initialize this disk.interfaceOptional.labelFingerprintThe fingerprint used for optimistic locking of this resource. UsedlabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.lastAttachTimestampLast attach timestamp in RFC3339 text format.lastDetachTimestampLast detach timestamp in RFC3339 text format.licensesOptional.multiWriterOptional.nameOptional.paramsOptional.physicalBlockSizeBytesPhysical block size of the persistent disk, in bytes.projectOptional.provisionedIopsOptional.provisionedThroughputOptional.pulumiLabelsOptional.resourcePoliciesOptional.selfLinkThe URI of the created resource.sizeSize of the persistent disk, specified in GB.snapshotThe source snapshot used to create this disk.sourceDiskOptional.sourceDiskIdOptional.sourceImageEncryptionKeysThe customer-supplied encryption key of the source image.sourceImageIdThe ID value of the image used to create this disk. This valuesourceInstantSnapshotOptional.sourceInstantSnapshotIdOptional.sourceSnapshotEncryptionKeysThe customer-supplied encryption key of the source snapshot.sourceSnapshotIdThe unique ID of the snapshot used to create this disk. This valuesourceStorageObjectOptional.storagePoolOptional.typeURL of the disk type resource describing which disk type to use tousersLinks to the users of the disk (attached instances) in form:zoneA 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
- selfLink → String?
-
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