DataLakeLeaseClient class
Construtores
Data |
Propriedades
lease |
|
url |
Métodos
acquire |
|
break |
|
change |
|
release |
|
renew |
Detalhes do Construtor
DataLakeLeaseClient(BlobLeaseClient)
Detalhes de Propriedade
leaseId
string leaseId
Valor de Propriedade
string
url
string url
Valor de Propriedade
string
Detalhes de Método
acquireLease(number, LeaseOperationOptions)
function acquireLease(duration: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parâmetros
- duration
-
number
- options
- LeaseOperationOptions
Devoluções
Promise<LeaseOperationResponse>
breakLease(number, LeaseOperationOptions)
function breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parâmetros
- breakPeriod
-
number
- options
- LeaseOperationOptions
Devoluções
Promise<LeaseOperationResponse>
changeLease(string, LeaseOperationOptions)
function changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parâmetros
- proposedLeaseId
-
string
- options
- LeaseOperationOptions
Devoluções
Promise<LeaseOperationResponse>
releaseLease(LeaseOperationOptions)
function releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Parâmetros
- options
- LeaseOperationOptions
Devoluções
Promise<LeaseOperationResponse>
renewLease(LeaseOperationOptions)
function renewLease(options?: LeaseOperationOptions): Promise<Lease>
Parâmetros
- options
- LeaseOperationOptions
Devoluções
Promise<Lease>