airflow.providers.microsoft.azure.hooks.base_azure

Module Contents

Classes

AzureBaseHook

This hook acts as a base hook for azure services.

class airflow.providers.microsoft.azure.hooks.base_azure.AzureBaseHook(sdk_client, conn_id='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 (Any) – The SDKClient to use.

  • conn_id (str) – The Azure connection id which refers to the information to connect to the service.

conn_name_attr = 'azure_conn_id'[source]
default_conn_name = 'azure_default'[source]
conn_type = 'azure'[source]
hook_name = 'Azure'[source]
classmethod get_connection_form_widgets()[source]

Return connection widgets to add to connection form.

classmethod get_ui_field_behaviour()[source]

Return custom field behaviour.

get_conn()[source]

Authenticate the resource using the connection id passed during init.

Returns

the authenticated client.

Return type

Any

Was this entry helpful?