VolumeResponse class

Volume describes a volume and parameters for it to be mounted to a VM.

Constructors

VolumeResponse({required Input<String> deviceName, required Input<GCSResponse> gcs, required Input<List<String>> mountOptions, required Input<String> mountPath, required Input<NFSResponse> nfs})
Creates a new VolumeResponse. deviceName Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances0.policy.disksi.device_name or defined by the given instance template in job.allocation_policy.instances0.instance_template. gcs A Google Cloud Storage (GCS) volume. mountOptions For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html). mountPath The mount path for the volume, e.g. /mnt/disks/share. nfs A Network File System (NFS) volume. For example, a Filestore file share.
const
VolumeResponse.fromMap(Map<String, dynamic> map)
factory

Properties

deviceName → Input<String>
Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances0.policy.disksi.device_name or defined by the given instance template in job.allocation_policy.instances0.instance_template.
final
gcs → Input<GCSResponse>
A Google Cloud Storage (GCS) volume.
final
hashCode → int
The hash code for this object.
no setterinherited
mountOptions → Input<List<String>>
For Google Cloud Storage (GCS), mount options are the options supported by the gcsfuse tool (https://github.com/GoogleCloudPlatform/gcsfuse). For existing persistent disks, mount options provided by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html) except writing are supported. This is due to restrictions of multi-writer mode (https://cloud.google.com/compute/docs/disks/sharing-disks-between-vms). For other attached disks and Network File System (NFS), mount options are these supported by the mount command (https://man7.org/linux/man-pages/man8/mount.8.html).
final
mountPath → Input<String>
The mount path for the volume, e.g. /mnt/disks/share.
final
nfs → Input<NFSResponse>
A Network File System (NFS) volume. For example, a Filestore file share.
final
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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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