Read a file from Azure Data Lake Storage.
yaml
type: "io.kestra.plugin.azure.storage.adls.Read"
Examples
yaml
id: azure_storage_datalake_read
namespace: company.team
tasks:
- id: read_file
type: io.kestra.plugin.azure.storage.adls.Read
connectionString: "{{ secret('AZURE_CONNECTION_STRING') }}"
fileSystem: "tasks"
endpoint: "https://yourblob.blob.core.windows.net"
filePath: "full/path/to/file.txt"
- id: log_size
type: io.kestra.plugin.core.debug.Echo
level: INFO
format: " {{ outputs.read_file.file.size }}"
Properties
endpoint *Requiredstring
The blob service endpoint.
filePath *Requiredstring
File path
Full path of the file in its file system
fileSystem *Requiredstring
The name of the file systems. If the path name contains special characters, pass in the url encoded version of the path name.
connectionString string
Connection string of the Storage Account.
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
file AdlsFile
The downloaded file.
Definitions
com.azure.storage.file.datalake.models.AccessTier
com.azure.storage.file.datalake.models.ArchiveStatus
io.kestra.plugin.azure.storage.adls.models.AdlsFile
accessControlList array
SubType string
archiveStatus ArchiveStatus
archiveTier AccessTier
contentEncoding string
contentLanguage string
contentMd5 string
contentType string
creationTime string
Format
date-time
eTag string
fileName string
fileSystem string
group string
isDirectory boolean
lastModifed string
Format
date-time
leaseDuration string
Possible Values
INFINITE
FIXED
leaseState string
Possible Values
AVAILABLE
LEASED
EXPIRED
BREAKING
BROKEN
leaseStatus string
Possible Values
LOCKED
UNLOCKED
name string
owner string
permissions string
size integer
uri string
Format
uri