DataLakeLeaseClient class
Constructores
Data |
Propiedades
lease |
|
url |
Métodos
acquire |
|
break |
|
change |
|
release |
|
renew |
Detalles del constructor
DataLakeLeaseClient(BlobLeaseClient)
Detalles de las propiedades
leaseId
string leaseId
Valor de propiedad
string
url
string url
Valor de propiedad
string
Detalles del método
acquireLease(number, LeaseOperationOptions)
function acquireLease(duration: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parámetros
- duration
-
number
- options
- LeaseOperationOptions
Devoluciones
Promise<LeaseOperationResponse>
breakLease(number, LeaseOperationOptions)
function breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parámetros
- breakPeriod
-
number
- options
- LeaseOperationOptions
Devoluciones
Promise<LeaseOperationResponse>
changeLease(string, LeaseOperationOptions)
function changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parámetros
- proposedLeaseId
-
string
- options
- LeaseOperationOptions
Devoluciones
Promise<LeaseOperationResponse>
releaseLease(LeaseOperationOptions)
function releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parámetros
- options
- LeaseOperationOptions
Devoluciones
Promise<LeaseOperationResponse>
renewLease(LeaseOperationOptions)
function renewLease(options?: LeaseOperationOptions): Promise<Lease>
Parámetros
- options
- LeaseOperationOptions
Devoluciones
Promise<Lease>