# Class VolumeMount (0.16.1)

0.16.1 (latest) 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.19 0.9.1 0.8.1 0.7.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0

    VolumeMount(mapping=None, *, ignore_unknown_fields=False, **kwargs)

VolumeMount describes a mounting of a Volume within a
container.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. This must match the Name of a Volume. |
| `mount_path` | `str` Required. Path within the container at which the volume should be mounted. Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must otherwise be `/cloudsql`. All instances defined in the Volume will be available as `/cloudsql/[instance]`. For more information on Cloud SQL volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run |
| `sub_path` | `str` Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root). |