Delen via


IVolumeDefinition Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.VolumeDefinitionTypeConverter))]
public interface IVolumeDefinition : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.VolumeDefinitionTypeConverter))>]
type IVolumeDefinition = interface
    interface IJsonSerializable
Public Interface IVolumeDefinition
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

BindCreateHostPath

Indicate whether to create host path.

BindPropagation

Type of Bind Option

BindSelinux

Mention the selinux options.

Consistency

Consistency of the volume

ReadOnly

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

Source

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

Target

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

TmpfSize

Mention the Tmpfs size

Type

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

VolumeNocopy

Indicate whether volume is nocopy

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to