Aracılığıyla paylaş


DataLakeLeaseClient class

Oluşturucular

DataLakeLeaseClient(BlobLeaseClient)

Özellikler

leaseId
url

Yöntemler

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

Oluşturucu Ayrıntıları

DataLakeLeaseClient(BlobLeaseClient)

new DataLakeLeaseClient(client: BlobLeaseClient)

Parametreler

Özellik Ayrıntıları

leaseId

string leaseId

Özellik Değeri

string

url

string url

Özellik Değeri

string

Yöntem Ayrıntıları

acquireLease(number, LeaseOperationOptions)

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

Parametreler

duration

number

Döndürülenler

breakLease(number, LeaseOperationOptions)

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

Parametreler

breakPeriod

number

Döndürülenler

changeLease(string, LeaseOperationOptions)

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

Parametreler

proposedLeaseId

string

Döndürülenler

releaseLease(LeaseOperationOptions)

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

Parametreler

Döndürülenler

renewLease(LeaseOperationOptions)

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

Parametreler

Döndürülenler

Promise<Lease>