AzureContainerInstanceHook

Microsoft Azure

A hook to communicate with Azure Container Instances.

View on GitHub

Last Updated: Oct. 26, 2022

Access Instructions

Install the Microsoft Azure provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

azure_conn_idAzure connection id of a service principal which will be used to start the container instance.

Documentation

A hook to communicate with Azure Container Instances.

This hook requires a service principal in order to work. After creating this service principal (Azure Active Directory/App Registrations), you need to fill in the client_id (Application ID) as login, the generated password as password, and tenantId and subscriptionId in the extra’s field as a json.

Was this page helpful?