Compartir a través de


DataLakeLeaseClient class

Constructores

DataLakeLeaseClient(BlobLeaseClient)

Propiedades

leaseId
url

Métodos

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

Detalles del constructor

DataLakeLeaseClient(BlobLeaseClient)

new DataLakeLeaseClient(client: BlobLeaseClient)

Parámetros

Detalles de las propiedades

leaseId

string leaseId

Valor de propiedad

string

url

string url

Valor de propiedad

string

Detalles del método

acquireLease(number, LeaseOperationOptions)

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

Parámetros

duration

number

Devoluciones

breakLease(number, LeaseOperationOptions)

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

Parámetros

breakPeriod

number

Devoluciones

changeLease(string, LeaseOperationOptions)

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

Parámetros

proposedLeaseId

string

Devoluciones

releaseLease(LeaseOperationOptions)

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

Parámetros

Devoluciones

renewLease(LeaseOperationOptions)

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

Parámetros

Devoluciones

Promise<Lease>