airflow.providers.microsoft.azure.hooks.base_azure

Module Contents

class airflow.providers.microsoft.azure.hooks.base_azure.AzureBaseHook(sdk_client: Any, conn_id: str = 'azure_default')[source]

Bases: airflow.hooks.base.BaseHook

This hook acts as a base hook for azure services. It offers several authentication mechanisms to authenticate the client library used for upstream azure hooks.

Parameters
  • sdk_client -- The SDKClient to use.

  • conn_id -- The azure connection id which refers to the information to connect to the service.

conn_name_attr = conn_id[source]
default_conn_name = azure_default[source]
conn_type = azure[source]
hook_name = Azure[source]
get_conn(self)[source]

Authenticates the resource using the connection id passed during init.

Returns

the authenticated client.

Was this entry helpful?