CData Python Connector for Azure Data Lake Storage

Build 24.0.9060

LeaseBlob

The LeaseBlob operation creates and manages a lock on a blob for write and delete operations.

Input

Name Type Description
Path String The path of the file which will be created.
LeaseAction String Specifies the lease action to execute

The allowed values are Acquire, Renew, Change, Release, Break.

LeaseId String Required to Renew, Change, or Release the lease.
LeaseBreak Integer For a Break operation, this is the proposed duration of seconds that the lease should continue before it is broken, between 0 and 60 seconds.
LeaseDuration Integer Only allowed and required on an Acquire operation. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite lease can be between 15 and 60 seconds. A lease duration can't be changed by using renew or change.
ProposedLeaseId String Optional for Acquire, and required for Change. Proposed lease ID, in a GUID string format.

Result Set Columns

Name Type Description
LeaseId String The Id of the lease.
Success String Determines if the operation was successful or not.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060