on_container_list Event
Fires once for each container returned when listing containers.
Syntax
class AzureBlobContainerListEventParams(object): @property def name() -> str: ... @property def modified_time() -> str: ... @property def e_tag() -> str: ... @property def is_leased() -> bool: ... @property def lease_state() -> int: ... # In class AzureBlob: @property def on_container_list() -> Callable[[AzureBlobContainerListEventParams], None]: ... @on_container_list.setter def on_container_list(event_hook: Callable[[AzureBlobContainerListEventParams], None]) -> None: ...
Remarks
This event fires once for each container returned when list_containers or get_container_info is called.
Name is the name of the container.
ModifiedTime reflects the last modified time of the container, formatted according to RFC 1123.
ETag is the container's ETag.
IsLeased indicates whether the container is currently leased.
LeaseState reflects the lease state of the container. Possible values are:
aclsAvailable (0) | The container's lease is unlocked and can be acquired. |
aclsLeased (1) | The container's lease is locked. |
aclsExpired (2) | The lease duration has expired. |
aclsBreaking (3) | The lease has been broken, but will continue to be locked until the break period expires. |
aclsBroken (4) | The lease has been broken, and the break period has expired. |