Delen via


AzureFileVolume Constructors

Definition

Overloads

AzureFileVolume()

Initializes a new instance of the AzureFileVolume class.

AzureFileVolume(String, String, Nullable<Boolean>, String)

Initializes a new instance of the AzureFileVolume class.

AzureFileVolume()

Initializes a new instance of the AzureFileVolume class.

public AzureFileVolume ();
Public Sub New ()

Applies to

AzureFileVolume(String, String, Nullable<Boolean>, String)

Initializes a new instance of the AzureFileVolume class.

public AzureFileVolume (string shareName, string storageAccountName, bool? readOnlyProperty = default, string storageAccountKey = default);
new Microsoft.Azure.Management.ContainerInstance.Models.AzureFileVolume : string * string * Nullable<bool> * string -> Microsoft.Azure.Management.ContainerInstance.Models.AzureFileVolume
Public Sub New (shareName As String, storageAccountName As String, Optional readOnlyProperty As Nullable(Of Boolean) = Nothing, Optional storageAccountKey As String = Nothing)

Parameters

shareName
String

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

storageAccountName
String

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

readOnlyProperty
Nullable<Boolean>

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

storageAccountKey
String

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

Applies to