DeleteList DeleteList

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

Delete a list of keys from the Azure Blob Storage.

Examples

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

Properties

container

  • Type: string
  • Dynamic: βœ”οΈ
  • Required: βœ”οΈ

The blob container.

endpoint

  • Type: string
  • Dynamic: βœ”οΈ
  • Required: βœ”οΈ

The blob service endpoint.

filter

  • Type: string
  • Dynamic: ❓
  • Required: βœ”οΈ
  • Default: FILES
  • Possible Values:
    • FILES
    • DIRECTORY
    • BOTH

The filter for files or directories.

concurrent

  • Type: integer
  • Dynamic: ❌
  • Required: ❌
  • Minimum: >= 2

Number of concurrent parallel deletions.

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.

errorOnEmpty

  • Type: boolean
  • Dynamic: βœ”οΈ
  • Required: ❌
  • Default: false

Whether to raise an error if the file is not found.

prefix

  • Type: string
  • Dynamic: βœ”οΈ
  • Required: ❌

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

regexp

  • Type: string
  • Dynamic: βœ”οΈ
  • Required: ❌

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

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

count

  • Type: integer
  • Dynamic: ❓
  • Required: ❌
  • Default: 0

The count of deleted blobs.

size

  • Type: integer
  • Dynamic: ❓
  • Required: ❌
  • Default: 0

The size of all the deleted blobs.

Was this page helpful?