Freigeben über


DataLakeLeaseClient class

Konstruktoren

DataLakeLeaseClient(BlobLeaseClient)

Eigenschaften

leaseId
url

Methoden

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

Details zum Konstruktor

DataLakeLeaseClient(BlobLeaseClient)

new DataLakeLeaseClient(client: BlobLeaseClient)

Parameter

Details zur Eigenschaft

leaseId

string leaseId

Eigenschaftswert

string

url

string url

Eigenschaftswert

string

Details zur Methode

acquireLease(number, LeaseOperationOptions)

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

Parameter

duration

number

Gibt zurück

breakLease(number, LeaseOperationOptions)

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

Parameter

breakPeriod

number

Gibt zurück

changeLease(string, LeaseOperationOptions)

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

Parameter

proposedLeaseId

string

Gibt zurück

releaseLease(LeaseOperationOptions)

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

Parameter

Gibt zurück

renewLease(LeaseOperationOptions)

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

Parameter

Gibt zurück

Promise<Lease>