DiskInstantiationConfigInstantiateFrom enum
Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks.
Values
- attachReadOnly → const DiskInstantiationConfigInstantiateFrom
-
const DiskInstantiationConfigInstantiateFrom("ATTACH_READ_ONLY") - blank → const DiskInstantiationConfigInstantiateFrom
-
const DiskInstantiationConfigInstantiateFrom("BLANK") - customImage → const DiskInstantiationConfigInstantiateFrom
-
const DiskInstantiationConfigInstantiateFrom("CUSTOM_IMAGE") - default_ → const DiskInstantiationConfigInstantiateFrom
-
const DiskInstantiationConfigInstantiateFrom("DEFAULT") - doNotInclude → const DiskInstantiationConfigInstantiateFrom
-
const DiskInstantiationConfigInstantiateFrom("DO_NOT_INCLUDE") - sourceImage → const DiskInstantiationConfigInstantiateFrom
-
const DiskInstantiationConfigInstantiateFrom("SOURCE_IMAGE") - sourceImageFamily → const DiskInstantiationConfigInstantiateFrom
-
const DiskInstantiationConfigInstantiateFrom("SOURCE_IMAGE_FAMILY")
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wireValue → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
-
values
→ const List<
DiskInstantiationConfigInstantiateFrom> - A constant List of the values in this enum, in order of their declaration.