AzureFileVolume Class

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

All required parameters must be populated in order to send to Azure.

Constructor

AzureFileVolume(*, share_name: str, storage_account_name: str, read_only: bool | None = None, storage_account_key: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
share_name
str

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

read_only

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

Default value: None
storage_account_name
str

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

storage_account_key
str

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

Default value: None

Variables

Name Description
share_name
str

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

read_only

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

storage_account_name
str

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

storage_account_key
str

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