IPWorks Cloud 2020 Python Edition

Questions / Feedback?

container_lease_state Property

The lease state of the container.

Syntax

def get_container_lease_state(container_index: int) -> int: ...

Default Value

0

Remarks

The lease state of the container.

This property 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.

This property is always aclsAvailable (0) when container_is_leased is False.

The container_index parameter specifies the index of the item in the array. The size of the array is controlled by the container_count property.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Python Edition - Version 20.0 [Build 8265]