Delete
yaml
type: "io.kestra.plugin.azure.storage.adls.Delete"
Delete a file from Azure Data Lake Storage.
Examples
Delete an existing file in Azure Data Lake Storage.
yaml
id: azure_storage_datalake_delete
namespace: company.team
tasks:
- id: delete_file
type: io.kestra.plugin.azure.storage.adls.Delete
filePath: "full/path/to/file.txt"
fileSystem: "tasks"
endpoint: "https://yourblob.blob.core.windows.net"
connectionString: "{{ secret('AZURE_CONNECTION_STRING') }}"
Properties
endpoint
- Type: string
- Dynamic: ✔️
- Required: ✔️
The blob service endpoint.
filePath
- Type: string
- Dynamic: ✔️
- Required: ✔️
File path
Full path of the file in its file system
fileSystem
- Type: string
- Dynamic: ✔️
- Required: ✔️
The name of the file systems. If the path name contains special characters, pass in the url encoded version of the path name.
connectionString
- Type: string
- Dynamic: ✔️
- Required: ❌
Connection string of the Storage Account.
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
file
- Type: AdlsFile
- Required: ❌
The deleted file.
Definitions
com.azure.storage.file.datalake.models.AccessTier
com.azure.storage.file.datalake.models.ArchiveStatus
io.kestra.plugin.azure.storage.adls.models.AdlsFile
Properties
accessControlList
- Type: array
- SubType: string
- Dynamic: ❓
- Required: ❓
archiveStatus
- Type: ArchiveStatus
- Dynamic: ❓
- Required: ❓
archiveTier
- Type: AccessTier
- Dynamic: ❓
- Required: ❓
contentEncoding
- Type: string
- Dynamic: ❓
- Required: ❓
contentLanguage
- Type: string
- Dynamic: ❓
- Required: ❓
contentMd5
- Type: string
- Dynamic: ❓
- Required: ❓
contentType
- Type: string
- Dynamic: ❓
- Required: ❓
creationTime
- Type: string
- Dynamic: ❓
- Required: ❓
- Format:
date-time
eTag
- Type: string
- Dynamic: ❓
- Required: ❓
fileName
- Type: string
- Dynamic: ❓
- Required: ❓
fileSystem
- Type: string
- Dynamic: ❓
- Required: ❓
group
- Type: string
- Dynamic: ❓
- Required: ❓
isDirectory
- Type: boolean
- Dynamic: ❓
- Required: ❓
lastModifed
- Type: string
- Dynamic: ❓
- Required: ❓
- Format:
date-time
leaseDuration
- Type: string
- Dynamic: ❓
- Required: ❓
- Possible Values:
INFINITE
FIXED
leaseState
- Type: string
- Dynamic: ❓
- Required: ❓
- Possible Values:
AVAILABLE
LEASED
EXPIRED
BREAKING
BROKEN
leaseStatus
- Type: string
- Dynamic: ❓
- Required: ❓
- Possible Values:
LOCKED
UNLOCKED
name
- Type: string
- Dynamic: ❓
- Required: ❓
owner
- Type: string
- Dynamic: ❓
- Required: ❓
permissions
- Type: string
- Dynamic: ❓
- Required: ❓
size
- Type: integer
- Dynamic: ❓
- Required: ❓
uri
- Type: string
- Dynamic: ❓
- Required: ❓
- Format:
uri
Was this page helpful?