次の方法で共有


DataLakeLeaseClient class

コンストラクター

DataLakeLeaseClient(BlobLeaseClient)

プロパティ

leaseId
url

メソッド

acquireLease(number, LeaseOperationOptions)
breakLease(number, LeaseOperationOptions)
changeLease(string, LeaseOperationOptions)
releaseLease(LeaseOperationOptions)
renewLease(LeaseOperationOptions)

コンストラクターの詳細

DataLakeLeaseClient(BlobLeaseClient)

new DataLakeLeaseClient(client: BlobLeaseClient)

パラメーター

プロパティの詳細

leaseId

string leaseId

プロパティ値

string

url

string url

プロパティ値

string

メソッドの詳細

acquireLease(number, LeaseOperationOptions)

function acquireLease(duration: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>

パラメーター

duration

number

戻り値

breakLease(number, LeaseOperationOptions)

function breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>

パラメーター

breakPeriod

number

戻り値

changeLease(string, LeaseOperationOptions)

function changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>

パラメーター

proposedLeaseId

string

戻り値

releaseLease(LeaseOperationOptions)

function releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>

パラメーター

戻り値

renewLease(LeaseOperationOptions)

function renewLease(options?: LeaseOperationOptions): Promise<Lease>

パラメーター

戻り値

Promise<Lease>