LeaseBlob
Creates and manages a lease on a blob, providing a lock that controls write and delete access to prevent conflicting operations.
Input
| Name | Type | Description |
| Path | String | Mandatory. The full path of the blob to which to apply the lease operation. |
| LeaseAction | String | Specifies the lease action to perform. Supported actions include Acquire, Renew, Change, Release, and Break.
The allowed values are Acquire, Renew, Change, Release, Break. |
| LeaseId | String | Identifies the active lease. Required when performing Renew, Change, or Release operations. |
| LeaseBreak | Integer | Specifies the number of seconds (0–60) a Break operation's lease continues before it is broken. |
| LeaseDuration | Integer | Sets the lease duration for an Acquire operation, in seconds. Set -1 for an infinite lease, or a period between 15 and 60 seconds for a non-infinite lease. |
| ProposedLeaseId | String | The proposed lease identifier in GUID string format. Optional for Acquire operations and required for Change operations. |
Result Set Columns
| Name | Type | Description |
| LeaseId | String | The unique identifier assigned to the lease when it is acquired or changed. |
| Success | String | Indicates whether the lease operation completed successfully. |