Show / Hide Table of Contents

Class Volume

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

Inheritance
object
Volume
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Batch.v1.Data
Assembly: Google.Apis.Batch.v1.dll
Syntax
public class Volume : IDirectResponseSchema

Properties

DeviceName

Device name of an attached disk volume, which should align with a device_name specified by job.allocation_policy.instances[0].policy.disks[i].device_name or defined by the given instance template in job.allocation_policy.instances[0].instance_template.

Declaration
[JsonProperty("deviceName")]
public virtual string DeviceName { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Gcs

A Google Cloud Storage (GCS) volume.

Declaration
[JsonProperty("gcs")]
public virtual GCS Gcs { get; set; }
Property Value
Type Description
GCS

MountOptions

Mount options vary based on the type of storage volume: * For a Cloud Storage bucket, all the mount options provided by the gcsfuse tool are supported. * For an existing persistent disk, all mount options provided by the mount command except writing are supported. This is due to restrictions of multi-writer mode.

  • For any other disk or a Network File System (NFS), all the mount options provided by the mount command are supported.
Declaration
[JsonProperty("mountOptions")]
public virtual IList<string> MountOptions { get; set; }
Property Value
Type Description
IList<string>

MountPath

The mount path for the volume, e.g. /mnt/disks/share.

Declaration
[JsonProperty("mountPath")]
public virtual string MountPath { get; set; }
Property Value
Type Description
string

Nfs

A Network File System (NFS) volume. For example, a Filestore file share.

Declaration
[JsonProperty("nfs")]
public virtual NFS Nfs { get; set; }
Property Value
Type Description
NFS

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX