Condividi tramite


DataLakeLeaseClient class

Costruttori

DataLakeLeaseClient(BlobLeaseClient)

Proprietà

leaseId
url

Metodi

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

Dettagli costruttore

DataLakeLeaseClient(BlobLeaseClient)

new DataLakeLeaseClient(client: BlobLeaseClient)

Parametri

Dettagli proprietà

leaseId

string leaseId

Valore della proprietà

string

url

string url

Valore della proprietà

string

Dettagli metodo

acquireLease(number, LeaseOperationOptions)

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

Parametri

duration

number

Restituisce

breakLease(number, LeaseOperationOptions)

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

Parametri

breakPeriod

number

Restituisce

changeLease(string, LeaseOperationOptions)

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

Parametri

proposedLeaseId

string

Restituisce

releaseLease(LeaseOperationOptions)

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

Parametri

Restituisce

renewLease(LeaseOperationOptions)

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

Parametri

Restituisce

Promise<Lease>