Udostępnij za pośrednictwem


FileShareConfiguration Class

Definition

File Share configuration details, populated with information on storage configuration mounted on the VIS. The createAndMount option is selected in case of missing input. Please note FileShareConfiguration is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include CreateAndMountFileShareConfiguration, MountFileShareConfiguration and SkipFileShareConfiguration.

public abstract class FileShareConfiguration
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Workloads.Models.UnknownFileShareConfiguration))]
public abstract class FileShareConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Workloads.Models.FileShareConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Workloads.Models.FileShareConfiguration>
type FileShareConfiguration = class
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.Workloads.Models.UnknownFileShareConfiguration))>]
type FileShareConfiguration = class
    interface IJsonModel<FileShareConfiguration>
    interface IPersistableModel<FileShareConfiguration>
Public MustInherit Class FileShareConfiguration
Public MustInherit Class FileShareConfiguration
Implements IJsonModel(Of FileShareConfiguration), IPersistableModel(Of FileShareConfiguration)
Inheritance
FileShareConfiguration
Derived
Attributes
Implements

Constructors

FileShareConfiguration()

Initializes a new instance of FileShareConfiguration.

Explicit Interface Implementations

IJsonModel<FileShareConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FileShareConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FileShareConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FileShareConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FileShareConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to