Share via


AzureFileVolume Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.AzureFileVolumeTypeConverter))]
public class AzureFileVolume : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IAzureFileVolume
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.AzureFileVolumeTypeConverter))>]
type AzureFileVolume = class
    interface IAzureFileVolume
    interface IJsonSerializable
Public Class AzureFileVolume
Implements IAzureFileVolume
Inheritance
AzureFileVolume
Attributes
Implements

Constructors

AzureFileVolume()

Creates an new AzureFileVolume instance.

Properties

ReadOnly

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureFileVolume.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureFileVolume.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IAzureFileVolume.

FromJsonString(String)

Creates a new instance of AzureFileVolume, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureFileVolume into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to