Share via


ContainerInstanceAzureFileVolume Class

Definition

The properties of the Azure File volume. Azure File shares are mounted as volumes.

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

Constructors

ContainerInstanceAzureFileVolume(String, String)

Initializes a new instance of ContainerInstanceAzureFileVolume.

Properties

IsReadOnly

The flag indicating whether the Azure File shared mounted as a volume is read-only.

ShareName

The name of the Azure File share to be mounted as a volume.

StorageAccountKey

The storage account access key used to access the Azure File share.

StorageAccountName

The name of the storage account that contains the Azure File share.

Explicit Interface Implementations

IJsonModel<ContainerInstanceAzureFileVolume>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerInstanceAzureFileVolume>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerInstanceAzureFileVolume>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerInstanceAzureFileVolume>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerInstanceAzureFileVolume>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to