Share via


NfsMountConfiguration Class

Definition

Information used to connect to an NFS file system.

public class NfsMountConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.NfsMountConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.NfsMountConfiguration>
type NfsMountConfiguration = class
    interface IJsonModel<NfsMountConfiguration>
    interface IPersistableModel<NfsMountConfiguration>
Public Class NfsMountConfiguration
Implements IJsonModel(Of NfsMountConfiguration), IPersistableModel(Of NfsMountConfiguration)
Inheritance
NfsMountConfiguration
Implements

Constructors

NfsMountConfiguration(String, String)

Initializes a new instance of NfsMountConfiguration.

Properties

MountOptions

Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.

RelativeMountPath

The relative path on the compute node where the file system will be mounted. All file systems are mounted relative to the Batch mounts directory, accessible via the AZ_BATCH_NODE_MOUNTS_DIR environment variable.

Source

The URI of the file system to mount.

Explicit Interface Implementations

IJsonModel<NfsMountConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NfsMountConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NfsMountConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NfsMountConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NfsMountConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to