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

VolumeMount 构造函数

定义

重载

VolumeMount()

初始化 VolumeMount 类的新实例。

VolumeMount(String, String, Nullable<Boolean>)

初始化 VolumeMount 类的新实例。

VolumeMount()

初始化 VolumeMount 类的新实例。

public VolumeMount ();
Public Sub New ()

适用于

VolumeMount(String, String, Nullable<Boolean>)

初始化 VolumeMount 类的新实例。

public VolumeMount (string name, string mountPath, bool? readOnlyProperty = default);
new Microsoft.Azure.Management.ContainerInstance.Models.VolumeMount : string * string * Nullable<bool> -> Microsoft.Azure.Management.ContainerInstance.Models.VolumeMount
Public Sub New (name As String, mountPath As String, Optional readOnlyProperty As Nullable(Of Boolean) = Nothing)

参数

name
String

卷装入点的名称。

mountPath
String

容器中要将该卷装载到的路径。 不得包含冒号 (:)。

readOnlyProperty
Nullable<Boolean>

指示卷装入点是否为只读的标志。

适用于