Class AzureFileVolume
java.lang.Object
com.microsoft.azure.management.containerinstance.AzureFileVolume
The properties of the Azure File volume. Azure File shares are mounted as
volumes.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreadOnly()
Get the flag indicating whether the Azure File shared mounted as a volume is read-only.Get the name of the Azure File share to be mounted as a volume.Get the storage account access key used to access the Azure File share.Get the name of the storage account that contains the Azure File share.withReadOnly
(Boolean readOnly) Set the flag indicating whether the Azure File shared mounted as a volume is read-only.withShareName
(String shareName) Set the name of the Azure File share to be mounted as a volume.withStorageAccountKey
(String storageAccountKey) Set the storage account access key used to access the Azure File share.withStorageAccountName
(String storageAccountName) Set the name of the storage account that contains the Azure File share.
-
Constructor Details
-
AzureFileVolume
public AzureFileVolume()
-
-
Method Details
-
readOnly
Get the flag indicating whether the Azure File shared mounted as a volume is read-only.- Returns:
- the readOnly value
-
withReadOnly
Set the flag indicating whether the Azure File shared mounted as a volume is read-only.- Parameters:
readOnly
- the readOnly value to set- Returns:
- the AzureFileVolume object itself.
-
storageAccountName
Get the name of the storage account that contains the Azure File share.- Returns:
- the storageAccountName value
-
withStorageAccountName
Set the name of the storage account that contains the Azure File share.- Parameters:
storageAccountName
- the storageAccountName value to set- Returns:
- the AzureFileVolume object itself.
-
storageAccountKey
Get the storage account access key used to access the Azure File share.- Returns:
- the storageAccountKey value
-
withStorageAccountKey
Set the storage account access key used to access the Azure File share.- Parameters:
storageAccountKey
- the storageAccountKey value to set- Returns:
- the AzureFileVolume object itself.