DataLakeLeaseClient class
Konstruktoren
| Data |
Methoden
| acquire |
|
| break |
|
| change |
|
| release |
|
| renew |
Details zum Konstruktor
DataLakeLeaseClient(BlobLeaseClient)
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
- options
- LeaseOperationOptions
Gibt zurück
Promise<LeaseOperationResponse>
breakLease(number, LeaseOperationOptions)
function breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parameter
- breakPeriod
-
number
- options
- LeaseOperationOptions
Gibt zurück
Promise<LeaseOperationResponse>
changeLease(string, LeaseOperationOptions)
function changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parameter
- proposedLeaseId
-
string
- options
- LeaseOperationOptions
Gibt zurück
Promise<LeaseOperationResponse>
releaseLease(LeaseOperationOptions)
function releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parameter
- options
- LeaseOperationOptions
Gibt zurück
Promise<LeaseOperationResponse>
renewLease(LeaseOperationOptions)
function renewLease(options?: LeaseOperationOptions): Promise<Lease>
Parameter
- options
- LeaseOperationOptions
Gibt zurück
Promise<Lease>