DataLakeLeaseClient class
Costruttori
| Data |
Metodi
| acquire |
|
| break |
|
| change |
|
| release |
|
| renew |
Dettagli costruttore
DataLakeLeaseClient(BlobLeaseClient)
Dettagli proprietà
leaseId
string leaseId
Valore della proprietà
string
url
string url
Valore della proprietà
string
Dettagli metodo
acquireLease(number, LeaseOperationOptions)
function acquireLease(duration: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parametri
- duration
-
number
- options
- LeaseOperationOptions
Restituisce
Promise<LeaseOperationResponse>
breakLease(number, LeaseOperationOptions)
function breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parametri
- breakPeriod
-
number
- options
- LeaseOperationOptions
Restituisce
Promise<LeaseOperationResponse>
changeLease(string, LeaseOperationOptions)
function changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parametri
- proposedLeaseId
-
string
- options
- LeaseOperationOptions
Restituisce
Promise<LeaseOperationResponse>
releaseLease(LeaseOperationOptions)
function releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parametri
- options
- LeaseOperationOptions
Restituisce
Promise<LeaseOperationResponse>
renewLease(LeaseOperationOptions)
function renewLease(options?: LeaseOperationOptions): Promise<Lease>
Parametri
- options
- LeaseOperationOptions
Restituisce
Promise<Lease>