Downloads Downloads

yaml
type: "io.kestra.plugin.azure.storage.blob.Downloads"

Downloads files from an Azure Blob Storage.

Examples

yaml
id: "downloads"
type: "io.kestra.plugin.azure.storage.blob.Downloads"
endpoint: "https://yourblob.blob.core.windows.net"
connectionString: "DefaultEndpointsProtocol=...=="
container: "mydata"
name: "myblob"
prefix: "sub-dir"
delimiter: "/"

Properties

action

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Possible Values:
    • MOVE
    • DELETE

The action to do on find files

container

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The blob container

endpoint

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The blob service endpoint.

additionally parses it for information (SAS token)

filter

  • Type: string
  • Dynamic:
  • Required: ✔️
  • Default: FILES
  • Possible Values:
    • FILES
    • DIRECTORY
    • BOTH

The filter files or directory

connectionString

  • Type: string
  • Dynamic: ✔️
  • Required:

Connection string of the storage account.

delimiter

  • Type: string
  • Dynamic: ✔️
  • Required:

The delimiter for blob hierarchy, "/" for hierarchy based on directories.

moveTo

The destination container and key.

prefix

  • Type: string
  • Dynamic: ✔️
  • Required:

Limits the response to keys that begin with the specified prefix.

regexp

  • Type: string
  • Dynamic: ✔️
  • Required:

A regexp to filter on full key

ex: regExp: .* to match all files regExp: .*2020-01-0.\\.csv to match files between 01 and 09 of january ending with .csv

sasToken

  • Type: string
  • Dynamic: ✔️
  • Required:

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.

sharedKeyAccountAccessKey

  • Type: string
  • Dynamic: ✔️
  • Required:

Shared Key access key for authenticating requests

sharedKeyAccountName

  • Type: string
  • Dynamic: ✔️
  • Required:

Shared Key account name for authenticating requests

Outputs

blobs

  • Type: array
  • SubType: Blob

The list of objects

Definitions

Blob

container

  • Type: string
  • Dynamic:
  • Required:

name

  • Type: string
  • Dynamic:
  • Required:

size

  • Type: integer
  • Dynamic:
  • Required:

uri

  • Type: string
  • Dynamic:
  • Required:

CopyObject

container

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The blob container

name

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The full blob path on the container