Class DataLakeLeaseClient
Methods
acquireLease
- acquireLease(duration: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
-
Parameters
-
duration: number
-
Default value options: LeaseOperationOptions = {}
Returns Promise<LeaseOperationResponse>
breakLease
- breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
-
Parameters
-
breakPeriod: number
-
Default value options: LeaseOperationOptions = {}
Returns Promise<LeaseOperationResponse>
changeLease
- changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
-
Parameters
-
proposedLeaseId: string
-
Default value options: LeaseOperationOptions = {}
Returns Promise<LeaseOperationResponse>
releaseLease
- releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
-
Parameters
-
Default value options: LeaseOperationOptions = {}
Returns Promise<LeaseOperationResponse>
renewLease
- renewLease(options?: LeaseOperationOptions): Promise<Lease>
-
Parameters
-
Default value options: LeaseOperationOptions = {}
Returns Promise<Lease>