VolumeMount Class

The properties of the volume mount.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.containerinstance._serialization.Model
VolumeMount

Constructor

VolumeMount(*, name: str, mount_path: str, read_only: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The name of the volume mount. Required.

mount_path
str

The path within the container where the volume should be mounted. Must not contain colon (:). Required.

read_only

The flag indicating whether the volume mount is read-only.

Variables

Name Description
name
str

The name of the volume mount. Required.

mount_path
str

The path within the container where the volume should be mounted. Must not contain colon (:). Required.

read_only

The flag indicating whether the volume mount is read-only.