DataLakeLeaseClient class
方法
| acquire |
|
| break |
|
| change |
|
| release |
|
| renew |
建構函式詳細資料
DataLakeLeaseClient(BlobLeaseClient)
屬性詳細資料
leaseId
string leaseId
屬性值
string
url
string url
屬性值
string
方法詳細資料
acquireLease(number, LeaseOperationOptions)
function acquireLease(duration: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
參數
- duration
-
number
- options
- LeaseOperationOptions
傳回
Promise<LeaseOperationResponse>
breakLease(number, LeaseOperationOptions)
function breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
參數
- breakPeriod
-
number
- options
- LeaseOperationOptions
傳回
Promise<LeaseOperationResponse>
changeLease(string, LeaseOperationOptions)
function changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
參數
- proposedLeaseId
-
string
- options
- LeaseOperationOptions
傳回
Promise<LeaseOperationResponse>
releaseLease(LeaseOperationOptions)
function releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
參數
- options
- LeaseOperationOptions
傳回
Promise<LeaseOperationResponse>
renewLease(LeaseOperationOptions)
function renewLease(options?: LeaseOperationOptions): Promise<Lease>
參數
- options
- LeaseOperationOptions
傳回
Promise<Lease>