DataLakeLeaseClient class
Konstruktorok
| Data |
Metódusok
| acquire |
|
| break |
|
| change |
|
| release |
|
| renew |
Konstruktor adatai
DataLakeLeaseClient(BlobLeaseClient)
Tulajdonság adatai
leaseId
string leaseId
Tulajdonság értéke
string
url
string url
Tulajdonság értéke
string
Metódus adatai
acquireLease(number, LeaseOperationOptions)
function acquireLease(duration: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Paraméterek
- duration
-
number
- options
- LeaseOperationOptions
Válaszok
Promise<LeaseOperationResponse>
breakLease(number, LeaseOperationOptions)
function breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Paraméterek
- breakPeriod
-
number
- options
- LeaseOperationOptions
Válaszok
Promise<LeaseOperationResponse>
changeLease(string, LeaseOperationOptions)
function changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Paraméterek
- proposedLeaseId
-
string
- options
- LeaseOperationOptions
Válaszok
Promise<LeaseOperationResponse>
releaseLease(LeaseOperationOptions)
function releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Paraméterek
- options
- LeaseOperationOptions
Válaszok
Promise<LeaseOperationResponse>
renewLease(LeaseOperationOptions)
function renewLease(options?: LeaseOperationOptions): Promise<Lease>
Paraméterek
- options
- LeaseOperationOptions
Válaszok
Promise<Lease>