public sealed class VolumeMount : IMessage<VolumeMount>, IEquatable<VolumeMount>, IDeepCloneable<VolumeMount>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Run Admin v2 API class VolumeMount.
VolumeMount describes a mounting of a Volume within a container.
Implements
IMessageVolumeMount, IEquatableVolumeMount, IDeepCloneableVolumeMount, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
VolumeMount()
public VolumeMount()VolumeMount(VolumeMount)
public VolumeMount(VolumeMount other)| Parameter | |
|---|---|
| Name | Description |
other |
VolumeMount |
Properties
MountPath
public string MountPath { get; set; }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
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Required. This must match the Name of a Volume.
| Property Value | |
|---|---|
| Type | Description |
string |
|