你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContainerVolume

描述卷如何附加到容器。

属性

名称 类型 必须
name string
readOnly boolean
destinationPath 字符串

name

类型:字符串
必需:是

卷的名称。


readOnly

类型:布尔值
必需:否

指示卷是否为只读的标志。 默认值为“false”。


destinationPath

类型:字符串
必需:是

容器中应装载卷的路径。 仅允许使用有效的路径字符。