public sealed class Volume : IMessage<Volume>, IEquatable<Volume>, IDeepCloneable<Volume>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class Volume.
Volume and mount parameters to be associated with a TaskSpec. A TaskSpec might describe zero, one, or multiple volumes to be mounted as part of the task.
Namespace
Google.Cloud.Batch.V1Assembly
Google.Cloud.Batch.V1.dll
Constructors
Volume()
public Volume()
Volume(Volume)
public Volume(Volume other)
Parameter | |
---|---|
Name | Description |
other | Volume |
Properties
DeviceName
public string DeviceName { get; set; }
Device name of an attached disk
Property Value | |
---|---|
Type | Description |
String |
Gcs
public GCS Gcs { get; set; }
A Google Cloud Storage source for the volume.
Property Value | |
---|---|
Type | Description |
GCS |
MountOptions
public RepeatedField<string> MountOptions { get; }
Mount options For Google Cloud Storage, mount options are the global options supported by gcsfuse tool. Batch will use them to mount the volume with the following command: "gcsfuse [global options] bucket mountpoint". For PD, NFS, mount options are these supported by /etc/fstab. Batch will use Fstab to mount such volumes. https://help.ubuntu.com/community/Fstab
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |
MountPath
public string MountPath { get; set; }
Mount path for the volume, e.g. /mnt/share
Property Value | |
---|---|
Type | Description |
String |
Nfs
public NFS Nfs { get; set; }
An NFS source for the volume (could be a Filestore, for example).
Property Value | |
---|---|
Type | Description |
NFS |
SourceCase
public Volume.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
Volume.SourceOneofCase |