otcextensions.sdk.auto_scaling.v1.activity

The AS Activity Class

The Activity class inherits from Resource.

class otcextensions.sdk.auto_scaling.v1.activity.Activity(_synchronized=False, connection=None, **attrs)

The base resource

Parameters
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

id

Properties

scaling_group_id

AutoScaling Group Reference this activity belongs to

status

AutoScaling Activity status valid values include: SUCCESS, FAIL, DOING

start_time

UTC date and time of activity begin

end_time

UTC date and time of activity finish

description

AutoScaling Activity description

scaling_value

changed instance number during the AutoScaling Activity

instance_value

current instance number during the AutoScaling Activity

desire_value

desired instance number of the AutoScaling Activity

instance_removed_list

The instance list removed in the AutoScaling Activity

instance_deleted_list

The instance list deleted in the AutoScaling Activity

instance_added_list

The instance list added in the AutoScaling Activity