I am trying to automate the offer publishing process on Azure Cloud Partner Portal.
I would like to get notified when the offer reaches the preview stage. One way to do this would be to deploy a serverless function which polls the cloudpartner api to check the status of the offer.
I was wondering if there was a cleaner solution to this problem though. I have been reading about Event Grid at the following page: https://learn.microsoft.com/en-us/azure/event-grid/overview
It seems like there is a possibility to configure an event source if the event is within the subscription, but this event is not in the subscription but rather at the Cloud Partner Portal level.
Is it possible to achieve what I am looking for with a pub-sub model?