LeaseProperties Class
Blob Lease Properties.
Constructor
Python
LeaseProperties(**kwargs: Any)
get
Python
get(key, default=None)
Parameters
Name | Description |
---|---|
key
Required
|
|
default
Required
|
Default value: None
|
has_key
Python
has_key(k)
Parameters
Name | Description |
---|---|
k
Required
|
|
items
Python
items()
keys
Python
keys()
update
Python
update(*args, **kwargs)
values
Python
values()
duration
When a blob is leased, specifies whether the lease is of infinite or fixed duration.
Python
duration: str | None
state
available|leased|expired|breaking|broken
Python
state: str
status
locked|unlocked
Python
status: str
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python