Upload a file to Azure Blob Storage container.

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

Upload an input file to Azure Blob Storage

yaml
id: azure_storage_blob_upload
namespace: company.team

inputs:
  - id: myfile
    type: FILE

tasks:
  - id: upload
    type: io.kestra.plugin.azure.storage.blob.Upload
    endpoint: https://kestra.blob.core.windows.net
    connectionString: "{{ secret('AZURE_CONNECTION_STRING') }}"
    container: kestra
    from: "{{ inputs.myfile }}"
    name: "myblob"

Extract data via an HTTP API call and upload it as a file to Azure Blob Storage

yaml
    id: azure_blob_upload
    namespace: company.team

    tasks:
      - id: extract
        type: io.kestra.plugin.core.http.Download
        uri: https://huggingface.co/datasets/kestra/datasets/raw/main/csv/salaries.csv

      - id: load
        type: io.kestra.plugin.azure.storage.blob.Upload
        endpoint: https://kestra.blob.core.windows.net
        connectionString: "{{ secret('AZURE_CONNECTION_STRING') }}"
        container: kestra
        from: "{{ outputs.extract.uri }}"
        name: data.csv
Properties

The blob container.

The blob service endpoint.

The file from the internal storage to upload to the Azure Blob Storage.

The full blob path on the container.

Possible Values
P4P6P10P15P20P30P40P50P60P70P80HOTCOOLARCHIVE

The access tier of the uploaded blob.

The operation is allowed on a page blob in a premium Storage Account or a block blob in a blob Storage Account or GPV2 Account. A premium page blob's tier determines the allowed size, IOPS, and bandwidth of the blob. A block blob's tier determines the Hot/Cool/Archive storage type. This does not update the blob's etag.

Connection string of the Storage Account.

Sets a legal hold on the blob.

NOTE: Blob Versioning must be enabled on your storage account and the blob must be in a container with immutable storage with versioning enabled to call this API.

SubType string

Metadata for the blob.

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.

SubType string

User defined tags.

The uploaded blob.

Format date-time

The time when the immutability policy expires.

Possible Values
MUTABLEUNLOCKEDLOCKED

The immutability policy mode.

Format uri