| :mod:`airflow.providers.microsoft.azure.hooks.azure_container_volume` |
| ===================================================================== |
| |
| .. py:module:: airflow.providers.microsoft.azure.hooks.azure_container_volume |
| |
| |
| Module Contents |
| --------------- |
| |
| .. py:class:: AzureContainerVolumeHook(azure_container_volume_conn_id: str = 'azure_container_volume_default') |
| |
| Bases: :class:`airflow.hooks.base.BaseHook` |
| |
| A hook which wraps an Azure Volume. |
| |
| :param azure_container_volume_conn_id: Reference to the |
| :ref:`Azure Container Volume connection id <howto/connection:azure_container_volume>` |
| of an Azure account of which container volumes should be used. |
| :type azure_container_volume_conn_id: str |
| |
| .. attribute:: conn_name_attr |
| :annotation: = azure_container_volume_conn_id |
| |
| |
| |
| .. attribute:: default_conn_name |
| :annotation: = azure_container_volume_default |
| |
| |
| |
| .. attribute:: conn_type |
| :annotation: = azure_container_volume |
| |
| |
| |
| .. attribute:: hook_name |
| :annotation: = Azure Container Volume |
| |
| |
| |
| |
| .. staticmethod:: get_connection_form_widgets() |
| |
| Returns connection widgets to add to connection form |
| |
| |
| |
| |
| .. staticmethod:: get_ui_field_behaviour() |
| |
| Returns custom field behaviour |
| |
| |
| |
| |
| .. method:: get_storagekey(self) |
| |
| Get Azure File Volume storage key |
| |
| |
| |
| |
| .. method:: get_file_volume(self, mount_name: str, share_name: str, storage_account_name: str, read_only: bool = False) |
| |
| Get Azure File Volume |
| |
| |
| |
| |