次の方法で共有


VolumeDefinition Class

Definition

Describes the volume configuration for the container.

public class VolumeDefinition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.VolumeDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.VolumeDefinition>
public class VolumeDefinition
type VolumeDefinition = class
    interface IJsonModel<VolumeDefinition>
    interface IPersistableModel<VolumeDefinition>
type VolumeDefinition = class
Public Class VolumeDefinition
Implements IJsonModel(Of VolumeDefinition), IPersistableModel(Of VolumeDefinition)
Public Class VolumeDefinition
Inheritance
VolumeDefinition
Implements

Constructors

VolumeDefinition()

Initializes a new instance of VolumeDefinition.

Properties

Bind

Bind Options of the mount.

Consistency

Consistency of the volume.

DefinitionType

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

Nocopy

Indicate whether volume is nocopy.

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.

TmpfsSize

Mention the Tmpfs size.

Explicit Interface Implementations

IJsonModel<VolumeDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VolumeDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VolumeDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VolumeDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VolumeDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to