Поделиться через


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>