View Source GoogleApi.Batch.V1.Model.Volume (google_api_batch v0.2.2)
Volume describes a volume and parameters for it to be mounted to a VM.
Attributes
-
deviceName
(type:String.t
, default:nil
) - 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. -
gcs
(type:GoogleApi.Batch.V1.Model.GCS.t
, default:nil
) - A Google Cloud Storage (GCS) volume. -
mountOptions
(type:list(String.t)
, default:nil
) - 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
(type:String.t
, default:nil
) - The mount path for the volume, e.g. /mnt/disks/share. -
nfs
(type:GoogleApi.Batch.V1.Model.NFS.t
, default:nil
) - A Network File System (NFS) volume. For example, a Filestore file share.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Batch.V1.Model.Volume{ deviceName: String.t() | nil, gcs: GoogleApi.Batch.V1.Model.GCS.t() | nil, mountOptions: [String.t()] | nil, mountPath: String.t() | nil, nfs: GoogleApi.Batch.V1.Model.NFS.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.