GcePersistentDisk class
An EphemeralDirectory is backed by a Compute Engine persistent disk.
Constructors
-
GcePersistentDisk({Input<
String> ? diskType, Input<bool> ? readOnly, Input<String> ? sourceImage, Input<String> ? sourceSnapshot}) -
Creates a new GcePersistentDisk.
diskTypeOptional. Type of the disk to use. Defaults to"pd-standard".readOnlyOptional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.sourceImageOptional. 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.sourceSnapshotOptional. 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.const -
GcePersistentDisk.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
diskType
→ Input<
String> ? -
Optional. Type of the disk to use. Defaults to
"pd-standard".final - hashCode → int
-
The hash code for this object.
no setterinherited
-
readOnly
→ Input<
bool> ? -
Optional. Whether the disk is read only. If true, the disk may be shared by multiple VMs and source_snapshot must be set.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceImage
→ Input<
String> ? -
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.
final
-
sourceSnapshot
→ Input<
String> ? -
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.
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