Share via


VolumeMount Constructors

Definition

Overloads

VolumeMount()

Initializes a new instance of the VolumeMount class.

VolumeMount(String, String, Nullable<Boolean>)

Initializes a new instance of the VolumeMount class.

VolumeMount()

Initializes a new instance of the VolumeMount class.

public VolumeMount ();
Public Sub New ()

Applies to

VolumeMount(String, String, Nullable<Boolean>)

Initializes a new instance of the VolumeMount class.

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)

Parameters

name
String

The name of the volume mount.

mountPath
String

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

readOnlyProperty
Nullable<Boolean>

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

Applies to