DataLakeLeaseClient class
Constructors
Data |
Eigenschappen
lease |
|
url |
Methoden
acquire |
|
break |
|
change |
|
release |
|
renew |
Constructordetails
DataLakeLeaseClient(BlobLeaseClient)
Eigenschapdetails
leaseId
string leaseId
Waarde van eigenschap
string
url
string url
Waarde van eigenschap
string
Methodedetails
acquireLease(number, LeaseOperationOptions)
function acquireLease(duration: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parameters
- duration
-
number
- options
- LeaseOperationOptions
Retouren
Promise<LeaseOperationResponse>
breakLease(number, LeaseOperationOptions)
function breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parameters
- breakPeriod
-
number
- options
- LeaseOperationOptions
Retouren
Promise<LeaseOperationResponse>
changeLease(string, LeaseOperationOptions)
function changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parameters
- proposedLeaseId
-
string
- options
- LeaseOperationOptions
Retouren
Promise<LeaseOperationResponse>
releaseLease(LeaseOperationOptions)
function releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parameters
- options
- LeaseOperationOptions
Retouren
Promise<LeaseOperationResponse>
renewLease(LeaseOperationOptions)
function renewLease(options?: LeaseOperationOptions): Promise<Lease>
Parameters
- options
- LeaseOperationOptions
Retouren
Promise<Lease>