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
使用できる値は次のとおりです。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. |