/func-list-azure-data-lake-storage-files

Azure Functions to list up files on Azure Data Lake Storage Gen2

Primary LanguagePython

Azure Functions to list up files on Azure Data Lake Storage Gen2

Azure Data Lake Storage Gen2 のファイルのリストを返却する Azure Functions です。

レスポンスボディ (JSON) を Azure Data Factory の ForEach アクティビティに渡し、ファイルごとにマッピング データフロー を実行するような用途を想定しています。

Disclaimer (免責事項)

  • このコードはプロトタイプです。このコードの利用やその結果に対して、作者は一切の責任を負いません。
  • 実装上、Azure Data Lake Storage Gen2 の接続文字列やクレデンシャルを GET の query string として渡すことができるようになっています。HTTP 通信のセキュリティに対する考慮が必要な場合は local.settings.json を使用して、Azure Functions の環境変数として情報を渡してください。

Prerequisites (前提条件)

  • Python 3.9
  • Visual Studio Code

How to

Install

pip install -U pip
pip install -r requitements.txt

Test

make test