ArmContainerInstanceModelFactory.ContainerVolumeMount Method

Definition

public static Azure.ResourceManager.ContainerInstance.Models.ContainerVolumeMount ContainerVolumeMount(string name = default, string mountPath = default, bool? isReadOnly = default);
static member ContainerVolumeMount : string * string * Nullable<bool> -> Azure.ResourceManager.ContainerInstance.Models.ContainerVolumeMount
Public Shared Function ContainerVolumeMount (Optional name As String = Nothing, Optional mountPath As String = Nothing, Optional isReadOnly As Nullable(Of Boolean) = Nothing) As ContainerVolumeMount

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 (:).

isReadOnly
Nullable<Boolean>

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

Returns

A new ContainerVolumeMount instance for mocking.

Applies to