Condividi tramite


CifsMountConfiguration Class

Definition

Information used to connect to a CIFS file system.

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

Constructors

CifsMountConfiguration(String, String, String, String)

Initializes a new instance of CifsMountConfiguration.

Properties

MountOptions

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

Password

The password to use for authentication against the CIFS file system.

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.

Username

The user to use for authentication against the CIFS file system.

Explicit Interface Implementations

IJsonModel<CifsMountConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CifsMountConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CifsMountConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CifsMountConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CifsMountConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to