Bagikan melalui


DataLakeLeaseClient class

Konstruktor

DataLakeLeaseClient(BlobLeaseClient)

Properti

leaseId
url

Metode

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

Detail Konstruktor

DataLakeLeaseClient(BlobLeaseClient)

new DataLakeLeaseClient(client: BlobLeaseClient)

Parameter

Detail Properti

leaseId

string leaseId

Nilai Properti

string

url

string url

Nilai Properti

string

Detail Metode

acquireLease(number, LeaseOperationOptions)

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

Parameter

duration

number

Mengembalikan

breakLease(number, LeaseOperationOptions)

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

Parameter

breakPeriod

number

Mengembalikan

changeLease(string, LeaseOperationOptions)

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

Parameter

proposedLeaseId

string

Mengembalikan

releaseLease(LeaseOperationOptions)

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

Parameter

Mengembalikan

renewLease(LeaseOperationOptions)

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

Parameter

Mengembalikan

Promise<Lease>