DataLakeLeaseClient class
Конструкторы
| Data |
Методы
| acquire |
|
| break |
|
| change |
|
| release |
|
| renew |
Сведения о конструкторе
DataLakeLeaseClient(BlobLeaseClient)
Сведения о свойстве
leaseId
string leaseId
Значение свойства
string
url
string url
Значение свойства
string
Сведения о методе
acquireLease(number, LeaseOperationOptions)
function acquireLease(duration: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Параметры
- duration
-
number
- options
- LeaseOperationOptions
Возвращаемое значение
Promise<LeaseOperationResponse>
breakLease(number, LeaseOperationOptions)
function breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Параметры
- breakPeriod
-
number
- options
- LeaseOperationOptions
Возвращаемое значение
Promise<LeaseOperationResponse>
changeLease(string, LeaseOperationOptions)
function changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Параметры
- proposedLeaseId
-
string
- options
- LeaseOperationOptions
Возвращаемое значение
Promise<LeaseOperationResponse>
releaseLease(LeaseOperationOptions)
function releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Параметры
- options
- LeaseOperationOptions
Возвращаемое значение
Promise<LeaseOperationResponse>
renewLease(LeaseOperationOptions)
function renewLease(options?: LeaseOperationOptions): Promise<Lease>
Параметры
- options
- LeaseOperationOptions
Возвращаемое значение
Promise<Lease>