DataLakeLeaseClient class

Konstruktorok

DataLakeLeaseClient(BlobLeaseClient)

Tulajdonságok

leaseId
url

Metódusok

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

Konstruktor adatai

DataLakeLeaseClient(BlobLeaseClient)

new DataLakeLeaseClient(client: BlobLeaseClient)

Paraméterek

Tulajdonság adatai

leaseId

string leaseId

Tulajdonság értéke

string

url

string url

Tulajdonság értéke

string

Metódus adatai

acquireLease(number, LeaseOperationOptions)

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

Paraméterek

duration

number

Válaszok

breakLease(number, LeaseOperationOptions)

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

Paraméterek

breakPeriod

number

Válaszok

changeLease(string, LeaseOperationOptions)

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

Paraméterek

proposedLeaseId

string

Válaszok

releaseLease(LeaseOperationOptions)

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

Paraméterek

Válaszok

renewLease(LeaseOperationOptions)

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

Paraméterek

Válaszok

Promise<Lease>