你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DataLakeLeaseClient class
构造函数
Data |
属性
lease |
|
url |
方法
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>