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.

resources_key: ty.Optional[str] = 'scaling_activity_log'

Plural form of key for resource.

base_path: str = '/scaling_activity_log/%(scaling_group_id)s'

The base part of the URI for this resource.

allow_list = True

Allow list operation for this resource.

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