DataLakeLeaseClient class
Constructeurs
Data |
Propriétés
lease |
|
url |
Méthodes
acquire |
|
break |
|
change |
|
release |
|
renew |
Détails du constructeur
DataLakeLeaseClient(BlobLeaseClient)
Détails de la propriété
leaseId
string leaseId
Valeur de propriété
string
url
string url
Valeur de propriété
string
Détails de la méthode
acquireLease(number, LeaseOperationOptions)
function acquireLease(duration: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Paramètres
- duration
-
number
- options
- LeaseOperationOptions
Retours
Promise<LeaseOperationResponse>
breakLease(number, LeaseOperationOptions)
function breakLease(breakPeriod: number, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Paramètres
- breakPeriod
-
number
- options
- LeaseOperationOptions
Retours
Promise<LeaseOperationResponse>
changeLease(string, LeaseOperationOptions)
function changeLease(proposedLeaseId: string, options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Paramètres
- proposedLeaseId
-
string
- options
- LeaseOperationOptions
Retours
Promise<LeaseOperationResponse>
releaseLease(LeaseOperationOptions)
function releaseLease(options?: LeaseOperationOptions): Promise<LeaseOperationResponse>
Paramètres
- options
- LeaseOperationOptions
Retours
Promise<LeaseOperationResponse>
renewLease(LeaseOperationOptions)
function renewLease(options?: LeaseOperationOptions): Promise<Lease>
Paramètres
- options
- LeaseOperationOptions
Retours
Promise<Lease>