Compartilhar via


DataLakeLeaseClient class

Construtores

DataLakeLeaseClient(BlobLeaseClient)

Propriedades

leaseId
url

Métodos

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

Detalhes do construtor

DataLakeLeaseClient(BlobLeaseClient)

new DataLakeLeaseClient(client: BlobLeaseClient)

Parâmetros

Detalhes da propriedade

leaseId

string leaseId

Valor da propriedade

string

url

string url

Valor da propriedade

string

Detalhes do método

acquireLease(number, LeaseOperationOptions)

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

Parâmetros

duration

number

Retornos

breakLease(number, LeaseOperationOptions)

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

Parâmetros

breakPeriod

number

Retornos

changeLease(string, LeaseOperationOptions)

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

Parâmetros

proposedLeaseId

string

Retornos

releaseLease(LeaseOperationOptions)

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

Parâmetros

Retornos

renewLease(LeaseOperationOptions)

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

Parâmetros

Retornos

Promise<Lease>