DeleteFiles
yaml
type: "io.kestra.plugin.azure.storage.adls.deletefiles"
Examples
yaml
id: azure_storage_blob_delete_list
namespace: company.team
pluginDefaults:
- type: io.kestra.plugin.azure.storage.adls
values:
connectionString: "{{ secret('AZURE_CONNECTION_STRING') }}"
fileSystem: "tasks"
endpoint: "https://yourblob.blob.core.windows.net"
tasks:
- id: for_each
type: io.kestra.plugin.core.flow.EachSequential
value: ["pikachu", "charmander"]
tasks:
- id: download_request
type: io.kestra.plugin.core.http.Download
uri: https://pokeapi.co/api/v2/pokemon/{{ taskrun.value }}
- id: to_ion
type: io.kestra.plugin.serdes.json.JsonToIon
from: "{{ currentEachOutput(outputs.download_request).uri }}"
- id: upload_file
type: io.kestra.plugin.azure.storage.adls.Upload
fileName: "adls/pokemon/{{ taskrun.value }}.json"
from: "{{ currentEachOutput(outputs.to_ion).uri }}"
- id: delete_file
type: io.kestra.plugin.azure.storage.adls.DeleteFiles
concurrent: 2
directoryPath: "adls/pokemon/"
Properties
directoryPath *Requiredstring
endpoint *Requiredstring
fileSystem *Requiredstring
concurrent Non-dynamicinteger
Minimum
>= 2
connectionString string
errorOnEmpty booleanstring
Default
false
sasToken string
Outputs
count integer
Default
0
size integer
Default
0