RuntimeVirtualMachineVirtualMachineConfigDataDisk class
Constructors
-
RuntimeVirtualMachineVirtualMachineConfigDataDisk({Input<bool?>? autoDelete, Input<bool?>? boot, Input<String?>? deviceName, Input<List<String>?>? guestOsFeatures, Input<int?>? index, Input<RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams?>? initializeParams, Input<String?>? interface, Input<String?>? kind, Input<List<String>?>? licenses, Input<String?>? mode, Input<String?>? source, Input<String?>? type})
-
Creates a new RuntimeVirtualMachineVirtualMachineConfigDataDisk.
autoDelete (Output)
boot (Output)
deviceName (Output)
guestOsFeatures (Output)
index (Output)
initializeParams Input only. Specifies the parameters for a new disk that will
interface "Specifies the disk interface to use for attaching this disk,
kind (Output)
licenses (Output)
mode The mode in which to attach this disk, either READ_WRITE
source Specifies a valid partial or full URL to an existing
type Specifies the type of the disk, either SCRATCH or PERSISTENT.
const
-
RuntimeVirtualMachineVirtualMachineConfigDataDisk.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
autoDelete
→ Input<bool?>?
-
(Output)
Optional. Specifies whether the disk will be auto-deleted
when the instance is deleted (but not when the disk is
detached from the instance).
final
-
boot
→ Input<bool?>?
-
(Output)
Optional. Indicates that this is a boot disk. The virtual
machine will use the first partition of the disk for its
root filesystem.
final
-
deviceName
→ Input<String?>?
-
(Output)
Optional. Specifies a unique device name of your choice
that is reflected into the /dev/disk/by-id/google-* tree
of a Linux operating system running within the instance.
This name can be used to reference the device for mounting,
resizing, and so on, from within the instance.
If not specified, the server chooses a default device name
to apply to this disk, in the form persistent-disk-x, where
x is a number assigned by Google Compute Engine. This field
is only applicable for persistent disks.
final
-
guestOsFeatures
→ Input<List<String>?>?
-
(Output)
Indicates a list of features to enable on the guest operating
system. Applicable only for bootable images. To see a list of
available features, read
https://cloud.google.com/compute/docs/ images/create-delete-deprecate-private-images#guest-os-features
options. ``
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
index
→ Input<int?>?
-
(Output)
Output only. A zero-based index to this disk, where 0 is
reserved for the boot disk. If you have many disks attached
to an instance, each disk would have a unique index number.
final
-
initializeParams
→ Input<RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams?>?
-
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.
Structure is documented below.
final
-
interface
→ Input<String?>?
-
"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".
final
-
kind
→ Input<String?>?
-
(Output)
Type of the resource. Always compute#attachedDisk for attached
disks.
final
-
licenses
→ Input<List<String>?>?
-
(Output)
Output only. Any valid publicly visible licenses.
final
-
mode
→ Input<String?>?
-
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.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
source
→ Input<String?>?
-
Specifies a valid partial or full URL to an existing
Persistent Disk resource.
final
-
type
→ Input<String?>?
-
Specifies the type of the disk, either SCRATCH or PERSISTENT.
If not specified, the default is PERSISTENT.
final