scheduled event is missing the delete/scale-in event for scale sets
to properly demote cluster members during a scale-in or delete operation on a scale set node, the schedule event endpoint should provide the event-type delete or similar.
then it would be possible, to take proper local actions before the node is gone.
Jonathan Huff commented
I would add Re-image to this list of events as well. This is a common operation on our system and the way we deploy new code, and not having re-image events makes the Scheduled Events feature of very limited use for us.