blob_lease_state Property
The lease state of the blob.
Syntax
def get_blob_lease_state(blob_index: int) -> int: ...
Default Value
0
Remarks
The lease state of the blob.
This property reflects the lease state of the blob. Possible values are:
ablsAvailable (0) | The blob's lease is unlocked and can be acquired. |
ablsLeased (1) | The blob's lease is locked. |
ablsExpired (2) | The lease duration has expired. |
ablsBreaking (3) | The lease has been broken, but will continue to be locked until the break period expires. |
ablsBroken (4) | The lease has been broken, and the break period has expired. |
This property is always ablsAvailable (0) when blob_is_leased is False.
The blob_index parameter specifies the index of the item in the array. The size of the array is controlled by the blob_count property.
This property is read-only.