linode#

class platypush.message.event.linode.LinodeEvent(target=None, origin=None, id=None, timestamp=None, logging_level=20, disable_web_clients_notification=False, **kwargs)[source]#

Bases: Event

Base Linode event class.

class platypush.message.event.linode.LinodeInstanceStatusChanged(*args, instance_id: int, instance_name: str, status: str, old_status: str | None = None, **kwargs)[source]#

Bases: LinodeEvent

Event triggered when the status of a Linode instance changes.

__init__(*args, instance_id: int, instance_name: str, status: str, old_status: str | None = None, **kwargs)[source]#
Parameters:
  • instance_id – Linode instance ID.

  • instance – Linode instance name.

  • status – New status of the instance.

  • old_status – Old status of the instance.