airflow.providers.microsoft.azure.hooks.container_registry

Azure Container Registry 的 Hook。

AzureContainerRegistryHook

用於與 Azure Container Registry 通訊的 hook。

模組內容

class airflow.providers.microsoft.azure.hooks.container_registry.AzureContainerRegistryHook(conn_id='azure_registry')[source]

基類: airflow.hooks.base.BaseHook

用於與 Azure Container Registry 通訊的 hook。

引數:

conn_id (str) – Azure Container Registry 連線 ID,一個服務主體的連線 ID,將用於啟動容器例項

conn_name_attr = 'azure_container_registry_conn_id'[source]
default_conn_name = 'azure_container_registry_default'[source]
conn_type = 'azure_container_registry'[source]
hook_name = 'Azure Container Registry'[source]
classmethod get_connection_form_widgets()[source]

返回要新增到連線表單的連線 widget。

classmethod get_ui_field_behaviour()[source]

返回自定義欄位行為。

conn_id = 'azure_registry'[source]
property connection: azure.mgmt.containerinstance.models.ImageRegistryCredential[source]
get_conn()[source]

返回 hook 的連線。

此條目是否有幫助?