LocalDisk constructor

const LocalDisk({
  1. Input<LocalDiskInitializeParams>? initializeParams,
  2. Input<String>? interface,
  3. Input<String>? mode,
  4. Input<String>? source,
  5. Input<String>? type,
})

Creates a new LocalDisk. initializeParams Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both. interface Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Valid values: * NVME * SCSI mode The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. Valid values: * READ_ONLY * READ_WRITE source Specifies a valid partial or full URL to an existing Persistent Disk resource. type Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. Valid values: * PERSISTENT * SCRATCH

Implementation

const LocalDisk({
  this.initializeParams,
  this.interface,
  this.mode,
  this.source,
  this.type,
});