RegionDiskState constructor

const RegionDiskState({
  1. Input<String?>? accessMode,
  2. Input<RegionDiskAsyncPrimaryDisk?>? asyncPrimaryDisk,
  3. Input<bool?>? createSnapshotBeforeDestroy,
  4. Input<String?>? createSnapshotBeforeDestroyPrefix,
  5. Input<String?>? creationTimestamp,
  6. Input<String?>? deletionPolicy,
  7. Input<String?>? description,
  8. Input<RegionDiskDiskEncryptionKey?>? diskEncryptionKey,
  9. Input<String?>? diskId,
  10. Input<Map<String, String>?>? effectiveLabels,
  11. Input<bool?>? eraseWindowsVssSignature,
  12. Input<List<RegionDiskGuestOsFeature>?>? guestOsFeatures,
  13. Input<String?>? image,
  14. Input<String?>? interface,
  15. Input<String?>? labelFingerprint,
  16. Input<Map<String, String>?>? labels,
  17. Input<String?>? lastAttachTimestamp,
  18. Input<String?>? lastDetachTimestamp,
  19. Input<List<String>?>? licenses,
  20. Input<String?>? name,
  21. Input<int?>? physicalBlockSizeBytes,
  22. Input<String?>? project,
  23. Input<int?>? provisionedIops,
  24. Input<int?>? provisionedThroughput,
  25. Input<Map<String, String>?>? pulumiLabels,
  26. Input<String?>? region,
  27. Input<List<String>?>? replicaZones,
  28. Input<String?>? selfLink,
  29. Input<int?>? size,
  30. Input<String?>? snapshot,
  31. Input<String?>? sourceDisk,
  32. Input<String?>? sourceDiskId,
  33. Input<RegionDiskSourceImageEncryptionKey?>? sourceImageEncryptionKey,
  34. Input<String?>? sourceImageId,
  35. Input<RegionDiskSourceSnapshotEncryptionKey?>? sourceSnapshotEncryptionKey,
  36. Input<String?>? sourceSnapshotId,
  37. Input<String?>? type,
  38. Input<List<String>?>? users,
})

Creates a new RegionDiskState. accessMode The access mode of the disk. asyncPrimaryDisk A nested object resource. createSnapshotBeforeDestroy If set to true, a snapshot of the disk will be created before it is destroyed. createSnapshotBeforeDestroyPrefix This will set a custom name prefix for the snapshot that's created when the disk is deleted. creationTimestamp Creation timestamp in RFC3339 text format. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. Provide this property when diskEncryptionKey Encrypts the disk using a customer-supplied encryption key. diskId The unique identifier for the resource. This identifier is defined by the server. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. eraseWindowsVssSignature (Optional, Beta) guestOsFeatures A list of features to enable on the guest operating system. image The image from which to initialize this disk. This can be interface (Optional, Beta, Deprecated) labelFingerprint The fingerprint used for optimistic locking of this resource. Used labels Labels to apply to this disk. A list of key->value pairs. lastAttachTimestamp Last attach timestamp in RFC3339 text format. lastDetachTimestamp Last detach timestamp in RFC3339 text format. licenses Any applicable license URI. name Name of the resource. Provided by the client when the resource is physicalBlockSizeBytes Physical block size of the persistent disk, in bytes. If not present project The ID of the project in which the resource belongs. provisionedIops Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second provisionedThroughput Indicates how much throughput to provision for the disk. This sets the number of throughput pulumiLabels The combination of labels configured directly on the resource region A reference to the region where the disk resides. replicaZones URLs of the zones where the disk should be replicated to. selfLink The URI of the created resource. size Size of the persistent disk, specified in GB. You can specify this snapshot The source snapshot used to create this disk. You can provide this as sourceDisk The source disk used to create this disk. You can provide this as a partial or full URL to the resource. sourceDiskId The ID value of the disk used to create this image. This value may sourceImageEncryptionKey The customer-supplied encryption key of the source image. Required if sourceImageId The ID value of the image used to create this disk. This value sourceSnapshotEncryptionKey The customer-supplied encryption key of the source snapshot. Required sourceSnapshotId The unique ID of the snapshot used to create this disk. This value 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:

Implementation

const RegionDiskState({
  this.accessMode,
  this.asyncPrimaryDisk,
  this.createSnapshotBeforeDestroy,
  this.createSnapshotBeforeDestroyPrefix,
  this.creationTimestamp,
  this.deletionPolicy,
  this.description,
  this.diskEncryptionKey,
  this.diskId,
  this.effectiveLabels,
  this.eraseWindowsVssSignature,
  this.guestOsFeatures,
  this.image,
  this.interface,
  this.labelFingerprint,
  this.labels,
  this.lastAttachTimestamp,
  this.lastDetachTimestamp,
  this.licenses,
  this.name,
  this.physicalBlockSizeBytes,
  this.project,
  this.provisionedIops,
  this.provisionedThroughput,
  this.pulumiLabels,
  this.region,
  this.replicaZones,
  this.selfLink,
  this.size,
  this.snapshot,
  this.sourceDisk,
  this.sourceDiskId,
  this.sourceImageEncryptionKey,
  this.sourceImageId,
  this.sourceSnapshotEncryptionKey,
  this.sourceSnapshotId,
  this.type,
  this.users,
});