StorageConfig class

Description of how a storage resource should be mounted on a VM instance.

Constructors

StorageConfig({String? id, String? localMount})
StorageConfig.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
ID of the storage resource to mount, which must match a key in the cluster's [storage_resources](Cluster.storage_resources).
getter/setter pair
localMount String?
A directory inside the VM instance's file system where the storage resource should be mounted (e.g., /mnt/share).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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