PersistentDisk class

Configuration for a persistent disk to be attached to the VM.

See https://cloud.google.com/compute/docs/disks/performance for more information about disk type, size, and performance considerations.

Constructors

PersistentDisk({int? sizeGb, String? sourceImage, String? type})
PersistentDisk.fromJson(Map _json)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeGb int?
The size, in GB, of the disk to attach.
getter/setter pair
sourceImage String?
An image to put on the disk before attaching it to the VM.
getter/setter pair
type String?
The Compute Engine disk type.
getter/setter pair

Methods

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

Operators

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