Partager via


DataLakeLeaseClient class

Constructeurs

DataLakeLeaseClient(BlobLeaseClient)

Propriétés

leaseId
url

Méthodes

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

Détails du constructeur

DataLakeLeaseClient(BlobLeaseClient)

new DataLakeLeaseClient(client: BlobLeaseClient)

Paramètres

Détails de la propriété

leaseId

string leaseId

Valeur de propriété

string

url

string url

Valeur de propriété

string

Détails de la méthode

acquireLease(number, LeaseOperationOptions)

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

Paramètres

duration

number

Retours

breakLease(number, LeaseOperationOptions)

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

Paramètres

breakPeriod

number

Retours

changeLease(string, LeaseOperationOptions)

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

Paramètres

proposedLeaseId

string

Retours

releaseLease(LeaseOperationOptions)

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

Paramètres

Retours

renewLease(LeaseOperationOptions)

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

Paramètres

Retours

Promise<Lease>