Hi Stuart,

The easiest way to implement some lifecycle hooks is by using the event bus
feature. CloudStack supports In-memory, RabbitMQ and Kafta for publishing
events.
You can filter these down via the queuing mechanism of your choice and
trigger based on the event.

See here for more info -
https://docs.cloudstack.apache.org/en/latest/adminguide/events.html?highlight=eventing

-Si


On Thu, Mar 16, 2023 at 3:46 PM Stuart Whitman <swhit...@groupw.com.invalid>
wrote:

> Hello,
>
> How would you implement a lifecycle hook in Cloudstack? For example, when
> a VM for a particular purpose is created, I want to register it with Red
> Hat Identify Management and unregister it when it is destroyed.
>
> Thanks,
> -Stu
> _____________________________________
> The information contained in this e-mail and any attachments from Group W
> may contain confidential and/or proprietary information and is intended
> only for the named recipient to whom it was originally addressed. If you
> are not the intended recipient, be aware that any disclosure, distribution,
> or copying of this e-mail or its attachments is strictly prohibited. If you
> have received this e-mail in error, please notify the sender immediately of
> that fact by return e-mail and permanently delete the e-mail and any
> attachments to it.
>

Reply via email to