Azure Lease

Azure Lease

Certified

Lease a file from Azure Data Lake Storage

Lease a file from Azure Data Lake Storage using the Azure SDK.

yaml
type: io.kestra.plugin.azure.storage.adls.update.Lease
yaml
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

Service endpoint URL

Base HTTPS endpoint of the target service.

File path

Full path of the file in its file system

The name of the file systems. If the path name contains special characters, pass in the url encoded version of the path name

DefaultACQUIRE
Possible Values
ACQUIRERENEWRELEASEBREAK

Lease action

The lease action you want to set (ex: 'ACQUIRE')

Connection string of the Storage Account.

Default-1

Lease 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.

Lease ID

ID of the lease that must be provided for the following action : RENEW, BREAK, RELEASE

Reference (ref) of the pluginDefaults to apply to this task.

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.

Shared Key access key for authenticating requests.

Shared Key account name for authenticating requests.

Lease ID