DeleteList
Delete a list of objects from Azure Blob Storage.
type: "io.kestra.plugin.azure.storage.blob.DeleteList"
Examples
id: azure_storage_blob_delete_list
namespace: company.team
tasks:
- id: delete_list
type: io.kestra.plugin.azure.storage.blob.DeleteList
endpoint: "https://yourblob.blob.core.windows.net"
connectionString: "DefaultEndpointsProtocol=...=="
container: "mydata"
prefix: "sub-dir"
delimiter: "/"
Properties
container *Requiredstring
The blob container.
endpoint *Requiredstring
The blob service endpoint.
concurrent Non-dynamicinteger
>= 2
Number of concurrent parallel deletions.
connectionString string
Connection string of the Storage Account.
delimiter string
The delimiter for blob hierarchy, "/" for hierarchy based on directories.
errorOnEmpty booleanstring
false
Whether to raise an error if the file is not found.
filter string
FILES
FILES
DIRECTORY
BOTH
The filter for files or directories.
prefix string
Limits the response to keys that begin with the specified prefix.
regexp string
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 string
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.
Outputs
count integer
0
The count of deleted blobs.
size integer
0
The size of all the deleted blobs.