Upload Upload

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

Upload a file to the 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.

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 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.

connectionString

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

Connection string of the Storage Account.

from

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

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

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:

Metadata for the blob.

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

  • Type: Blob
  • Dynamic:
  • Required:

The uploaded blob.

Definitions

io.kestra.plugin.azure.storage.blob.models.BlobImmutabilityPolicy

Properties

expiryTime
  • Type: string
  • Dynamic:
  • Required:
  • Format: date-time

The time when the immutability policy expires.

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

The immutability policy mode.

io.kestra.plugin.azure.storage.blob.models.Blob

Properties

container
  • Type: string
  • Dynamic:
  • Required:
name
  • Type: string
  • Dynamic:
  • Required:
size
  • Type: integer
  • Dynamic:
  • Required:
uri
  • Type: string
  • Dynamic:
  • Required:
  • Format: uri