airflow.providers.microsoft.azure.hooks.base_azure

Module Contents

Classes

AzureBaseHook

This hook acts as a base hook for azure services. It offers several authentication mechanisms to

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]
static get_connection_form_widgets()[source]

Returns connection widgets to add to connection form

static get_ui_field_behaviour()[source]

Returns custom field behaviour

get_conn(self)[source]

Authenticates the resource using the connection id passed during init.

Returns

the authenticated client.

Return type

Any

Was this entry helpful?