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 的连接。

此条目是否有帮助?