DataLakeLeaseClient class
Konstruktory
Data |
Właściwości
lease |
|
url |
Metody
acquire |
|
break |
|
change |
|
release |
|
renew |
Szczegóły konstruktora
DataLakeLeaseClient(BlobLeaseClient)
Szczegóły właściwości
leaseId
string leaseId
Wartość właściwości
string
url
string url
Wartość właściwości
string
Szczegóły metody
acquireLease(number, LeaseOperationOptions)
function acquireLease(duration: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parametry
- duration
-
number
- options
- LeaseOperationOptions
Zwraca
Promise<LeaseOperationResponse>
breakLease(number, LeaseOperationOptions)
function breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parametry
- breakPeriod
-
number
- options
- LeaseOperationOptions
Zwraca
Promise<LeaseOperationResponse>
changeLease(string, LeaseOperationOptions)
function changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parametry
- proposedLeaseId
-
string
- options
- LeaseOperationOptions
Zwraca
Promise<LeaseOperationResponse>
releaseLease(LeaseOperationOptions)
function releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parametry
- options
- LeaseOperationOptions
Zwraca
Promise<LeaseOperationResponse>
renewLease(LeaseOperationOptions)
function renewLease(options?: LeaseOperationOptions): Promise<Lease>
Parametry
- options
- LeaseOperationOptions
Zwraca
Promise<Lease>