RegionPerInstanceConfigPreservedStateDisk class

Constructors

RegionPerInstanceConfigPreservedStateDisk({Input<String?>? deleteRule, required Input<String> deviceName, Input<String?>? mode, required Input<String> source})
Creates a new RegionPerInstanceConfigPreservedStateDisk. deleteRule A value that prescribes what should happen to the stateful disk when the VM instance is deleted. deviceName A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. mode The mode of the disk. source The URI of an existing persistent disk to attach under the specified device-name in the format
const
RegionPerInstanceConfigPreservedStateDisk.fromMap(Map<String, dynamic> map)
factory

Properties

deleteRule → Input<String?>?
A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the disk when the VM is deleted, but do not delete the disk. ON_PERMANENT_INSTANCE_DELETION will delete the stateful disk when the VM is permanently deleted from the instance group. Default value is NEVER. Possible values are: NEVER, ON_PERMANENT_INSTANCE_DELETION.
final
deviceName → Input<String>
A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance.
final
hashCode → int
The hash code for this object.
no setterinherited
mode → Input<String?>?
The mode of the disk. Default value is READ_WRITE. Possible values are: READ_ONLY, READ_WRITE.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → Input<String>
The URI of an existing persistent disk to attach under the specified device-name in the format projects/project-id/zones/zone/disks/disk-name.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited