airflow.providers.microsoft.azure.hooks.container_volume

模組內容

類別

AzureContainerVolumeHook

一個包裝 Azure Volume 的 Hook。

class airflow.providers.microsoft.azure.hooks.container_volume.AzureContainerVolumeHook(azure_container_volume_conn_id='azure_container_volume_default')[source]

基底類別: airflow.hooks.base.BaseHook

一個包裝 Azure Volume 的 Hook。

參數

azure_container_volume_conn_id (str) – 參考 Azure Container Volume 連線 ID,用於指定應使用哪個 Azure 帳戶的容器磁碟區。

conn_name_attr = 'azure_container_volume_conn_id'[source]
default_conn_name = 'azure_container_volume_default'[source]
conn_type = 'azure_container_volume'[source]
hook_name = 'Azure Container Volume'[source]
classmethod get_connection_form_widgets()[source]

返回要添加到連線表單的連線小部件。

classmethod get_ui_field_behaviour()[source]

返回自訂欄位行為。

get_storagekey(*, storage_account_name=None)[source]

取得 Azure 檔案磁碟區儲存金鑰。

get_file_volume(mount_name, share_name, storage_account_name, read_only=False)[source]

取得 Azure 檔案磁碟區。

這個條目是否有幫助?