🚀 New! Kestra raises $3 million to grow Learn more

Upload Upload

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

Upload a file to a Azure Blob Storage.

Examples

yaml
id: "upload"
type: "io.kestra.plugin.azure.storage.blob.Upload"
endpoint: "https://yourblob.blob.core.windows.net"
connectionString: "DefaultEndpointsProtocol=...=="
container: "mydata"
from: "{{ inputs.file }}"
name: "myblob"

Properties

container

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

The blob container

endpoint

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

The blob service endpoint.

additionally parses it for information (SAS token)

name

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

The full blob path on the container

accessTier

  • Type: string
  • Dynamic:
  • Required:
  • Possible Values:
    • P4
    • P6
    • P10
    • P15
    • P20
    • P30
    • P40
    • P50
    • P60
    • P70
    • P80
    • HOT
    • COOL
    • ARCHIVE

The tier on a blob.

The operation is allowed on a page blob in a premium storage account or a block blob in a blob storage 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.

connectionString

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

Connection string of the storage account.

from

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

The file to upload

immutabilityPolicy

legalHold

  • Type: boolean
  • Dynamic:
  • Required:

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.

metadata

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

Blob's metadata.

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

tags

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

User defined tags.

Outputs

blob

The blob

Definitions

BlobImmutabilityPolicy

expiryTime

  • Type: string
  • Dynamic:
  • Required:

The time when the immutability policy expires.

policyMode

  • Type: string
  • Dynamic:
  • Required:
  • Possible Values:
    • MUTABLE
    • UNLOCKED
    • LOCKED

The immutability policy mode.

Blob

container

  • Type: string
  • Dynamic:
  • Required:

name

  • Type: string
  • Dynamic:
  • Required:

size

  • Type: integer
  • Dynamic:
  • Required:

uri

  • Type: string
  • Dynamic:
  • Required: