다음을 통해 공유


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>