
Azure Lease
CertifiedLease a file from Azure Data Lake Storage
Azure Lease
Lease a file from Azure Data Lake Storage
Lease a file from Azure Data Lake Storage using the Azure SDK.
type: io.kestra.plugin.azure.storage.adls.update.LeaseExamples
id: azure_storage_datalake_lease
namespace: company.team
tasks:
- id: lease_file
type: io.kestra.plugin.azure.storage.adls.update.Lease
endpoint: "https://yourblob.blob.core.windows.net"
sasToken: "{{ secret('SAS_TOKEN') }}"
fileSystem: "mydata"
filePath: "path/to/myfile"
leaseDuration: 20
action: ACQUIRE
Properties
endpoint *string
Service endpoint URL
Base HTTPS endpoint of the target service.
filePath *string
File path
Full path of the file in its file system
fileSystem *string
The name of the file systems. If the path name contains special characters, pass in the url encoded version of the path name
action string
ACQUIREACQUIRERENEWRELEASEBREAKLease action
The lease action you want to set (ex: 'ACQUIRE')
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150connectionString string
Connection string of the Storage Account.
leaseDuration integerstring
-1Lease duration in seconds
To be used with the action 'ACQUIRE'. The duration of the lease must be between 15 and 60 seconds or left blank for an infinite duration.
leaseId string
Lease ID
ID of the lease that must be provided for the following action : RENEW, BREAK, RELEASE
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
id string
Lease ID