ภาษา

ArmMachineLearningModelFactory.VolumeDefinition Method

Definition

public static Azure.ResourceManager.MachineLearning.Models.VolumeDefinition VolumeDefinition(Azure.ResourceManager.MachineLearning.Models.VolumeDefinitionType? definitionType = default, bool? readOnly = default, string source = default, string target = default, string consistency = default, Azure.ResourceManager.MachineLearning.Models.MountBindOptions bind = default, bool? nocopy = default, int? tmpfsSize = default);
static member VolumeDefinition : Nullable<Azure.ResourceManager.MachineLearning.Models.VolumeDefinitionType> * Nullable<bool> * string * string * string * Azure.ResourceManager.MachineLearning.Models.MountBindOptions * Nullable<bool> * Nullable<int> -> Azure.ResourceManager.MachineLearning.Models.VolumeDefinition
Public Shared Function VolumeDefinition (Optional definitionType As Nullable(Of VolumeDefinitionType) = Nothing, Optional readOnly As Nullable(Of Boolean) = Nothing, Optional source As String = Nothing, Optional target As String = Nothing, Optional consistency As String = Nothing, Optional bind As MountBindOptions = Nothing, Optional nocopy As Nullable(Of Boolean) = Nothing, Optional tmpfsSize As Nullable(Of Integer) = Nothing) As VolumeDefinition

Parameters

definitionType
Nullable<VolumeDefinitionType>

Type of Volume Definition. Possible Values: bind,volume,tmpfs,npipe.

readOnly
Nullable<Boolean>

Indicate whether to mount volume as readOnly. Default value for this is false.

source
String

Source of the mount. For bind mounts this is the host path.

target
String

Target of the mount. For bind mounts this is the path in the container.

consistency
String

Consistency of the volume.

bind
MountBindOptions

Bind Options of the mount.

nocopy
Nullable<Boolean>

Indicate whether volume is nocopy.

tmpfsSize
Nullable<Int32>

Mention the Tmpfs size.

Returns

A new VolumeDefinition instance for mocking.

Applies to