Azure Blob Storage CopyList

Azure Blob Storage CopyList

Certified

Copy multiple Azure Blobs

Lists blobs matching the prefix, regexp and filter, and copies them server-side to a destination container and prefix. Authentication must provide an account key to sign a read SAS on each source blob: use connectionString containing AccountKey=, or both sharedKeyAccountName and sharedKeyAccountAccessKey. sasToken, a connection string carrying only a SAS, and default credentials are not supported. When copying inside the same container, to.prefix must differ from prefix and must not be nested under it unless a delimiter is set.

yaml
type: io.kestra.plugin.azure.storage.blob.CopyList

Batch copy blobs from one prefix to another container

yaml
id: azure_storage_blob_copy_list
namespace: company.team

tasks:
  - id: copy_blobs
    type: io.kestra.plugin.azure.storage.blob.CopyList
    endpoint: "https://yourblob.blob.core.windows.net"
    connectionString: "{{ secret('AZURE_STORAGE_CONNECTION_STRING') }}"
    container: "staging"
    prefix: "daily-export/"
    to:
      container: "production"
      prefix: "daily-export/"
    delete: false
Properties

The blob container.

Service endpoint URL

Base HTTPS endpoint of the target service.

Destination configuration (container, prefix)

Definitions
container*string

The destination container

prefixstring

The destination prefix

Replaces the source prefix in each copied blob name. When no source prefix is set, it is prepended to the blob name.

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

Parallel copies

Maximum number of concurrent copy operations, between 2 and 64. Blobs are copied sequentially when not set.

Connection string of the Storage Account.

Defaultfalse

Delete source blobs after copy

If true, deletes each source blob after it has been successfully copied (move operation).

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

DefaultFILES
Possible Values
FILESDIRECTORYBOTH

The filter for files or directories.

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

A regular expression to filter on the 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

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.

Default0

Number of blobs copied

Default0

Total size in bytes of copied blobs

Unitblobs

The total number of blobs copied.

Unitbytes

The total size in bytes of blobs copied.