Compartilhar via


AzureFileShareConfiguration Class

Definition

Information used to connect to an Azure Fileshare.

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

Constructors

AzureFileShareConfiguration(String, String, String, String)

Initializes a new instance of AzureFileShareConfiguration.

Properties

AccountKey

The Azure Storage account key.

AccountName

The Azure Storage account name.

AzureFileUrl

The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.

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.

Explicit Interface Implementations

IJsonModel<AzureFileShareConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureFileShareConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AzureFileShareConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureFileShareConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureFileShareConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to