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