你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VolumeMount Class
VolumeMount.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.web._serialization.ModelVolumeMount
Constructor
VolumeMount(*, volume_sub_path: str, container_mount_path: str, data: str | None = None, read_only: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
volume_sub_path
|
Sub path in the volume where volume is mounted from. Required. |
container_mount_path
|
Target path on the container where volume is mounted on. Required. |
data
|
Config Data to be mounted on the volume. |
read_only
|
Boolean to specify if the mount is read only on the container. |
Variables
Name | Description |
---|---|
volume_sub_path
|
Sub path in the volume where volume is mounted from. Required. |
container_mount_path
|
Target path on the container where volume is mounted on. Required. |
data
|
Config Data to be mounted on the volume. |
read_only
|
Boolean to specify if the mount is read only on the container. |