RecycleBinEntry#

class RecycleBinEntry(expiration_time=None, deletion_time=None, space_consumed_bytes=None, deleted_by_user_ext_id=None, cluster_ext_id=None, category_ids=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Details of the Recycle Bin entry along with the entity details.

Parameters:
  • expiration_time – (expiration_time) Absolute time in ISO-8601 format until which the entity’s (VM/Volume group) retention is ensured by the Recycle Bin.

  • deletion_time – (deletion_time) Entity deletion time in ISO-8601 format.

  • space_consumed_bytes – (space_consumed_bytes) Space consumed (in bytes) by the deleted entity in the Recycle Bin.

  • deleted_by_user_ext_id – (deleted_by_user_ext_id) External identifier of the user who deleted the entity.

  • cluster_ext_id – (cluster_ext_id) External identifier of the cluster.

  • category_ids – (category_ids) External identifier of the categories attached to the entity at the time of deletion.

property category_ids#

External identifier of the categories attached to the entity at the time of deletion.

Type:

list[ str ]

property cluster_ext_id#

External identifier of the cluster.

Type:

str

property deleted_by_user_ext_id#

External identifier of the user who deleted the entity.

Type:

str

property deletion_time#

Entity deletion time in ISO-8601 format.

Type:

datetime

property expiration_time#

Absolute time in ISO-8601 format until which the entity’s (VM/Volume group) retention is ensured by the Recycle Bin.

Type:

datetime

property space_consumed_bytes#

Space consumed (in bytes) by the deleted entity in the Recycle Bin.

Type:

int

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model