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 (Optional[str]) -- The SDKClient to use.

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

Type

str

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.

Was this entry helpful?