Azure Downloads

Azure Downloads

Certified

Download multiple blobs to Kestra storage

Lists blobs with optional prefix/regex, downloads them to internal storage, and optionally archives or moves according to action.

yaml
type: io.kestra.plugin.azure.storage.blob.Downloads
yaml
id: azure_storage_blob_downloads
namespace: company.team

tasks:
  - id: downloads
    type: io.kestra.plugin.azure.storage.blob.Downloads
    endpoint: "https://yourblob.blob.core.windows.net"
    connectionString: "DefaultEndpointsProtocol=...=="
    container: "mydata"
    prefix: "sub-dir"
    delimiter: "/"
    action: NONE
Properties
Possible Values
MOVEDELETENONE

Post-action

Action to apply after download (NONE, DELETE, MOVE)

Container

Target container to list and download from

Service endpoint URL

Base HTTPS endpoint of the target service.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150

Connection string of the Storage Account.

Delimiter

Virtual folder delimiter for listing

Fail when the server has no Content-MD5

Only applies when validateChecksum is true. If true, the task fails when the Azure object has no stored Content-MD5. If false (default), validation is skipped with a warning.

DefaultFILES
Possible Values
FILESDIRECTORYBOTH

List filter

FILES or DIRECTORIES filter for listing; defaults to FILES

Default25

The maximum number of files to download

Limits the number of blobs downloaded. If not specified, all matching blobs will be downloaded.

Move destination

Target path when action=MOVE

Definitions
container*string

Source/destination container

name*string

Blob path

Full blob name (virtual path) inside the container

Prefix

Limits listing to blobs starting with this path

Regex filter

Java regex applied to blob names after prefix

The SAS token to use for authenticating requests.

This string should only be the query parameters (with or without a leading '?') and not a full URL.

Shared Key access key for authenticating requests.

Shared Key account name for authenticating requests.

Validate checksum against server's Content-MD5

If true, compute the MD5 of the downloaded file and compare it to the Content-MD5 stored on the Azure object. Many block blobs uploaded as streams have no Content-MD5; see failOnMissingChecksum to control that case.

Downloaded blobs

Definitions
containerstring
eTagstring
lastModifiedstring
Formatdate-time
namestring
sizeinteger
uristring
Formaturi
SubTypestring

Downloaded files map

Map of blob name to kestra:// URI of the downloaded file