acquire_lease | R Documentation |
Manage leases for blobs and blob containers.
acquire_lease(container, blob = "", duration = 60, lease = NULL) break_lease(container, blob = "", period = NULL) release_lease(container, blob = "", lease) renew_lease(container, blob = "", lease) change_lease(container, blob = "", lease, new_lease)
container |
A blob container object. |
blob |
The name of an individual blob. If not supplied, the lease applies to the entire container. |
duration |
For |
lease |
For |
period |
For |
new_lease |
For |
Leasing is a way to prevent a blob or container from being accidentally deleted. The duration of a lease can range from 15 to 60 seconds, or be indefinite.
For acquire_lease
and change_lease
, a string containing the lease ID.
blob_container, Leasing a blob, Leasing a container
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.