GcePersistentDisk constructor

const GcePersistentDisk({
  1. Input<String>? diskType,
  2. Input<bool>? readOnly,
  3. Input<String>? sourceImage,
  4. Input<String>? sourceSnapshot,
})

Creates a new GcePersistentDisk. diskType Optional. Type of the disk to use. Defaults to "pd-standard". readOnly Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set. sourceImage Optional. Name of the disk image to use as the source for the disk. Must be empty if source_snapshot is set. Updating source_image will update content in the ephemeral directory after the workstation is restarted. This field is mutable. sourceSnapshot Optional. Name of the snapshot to use as the source for the disk. Must be empty if source_image is set. Must be empty if read_only is false. Updating source_snapshot will update content in the ephemeral directory after the workstation is restarted. This field is mutable.

Implementation

const GcePersistentDisk({
  this.diskType,
  this.readOnly,
  this.sourceImage,
  this.sourceSnapshot,
});