Refactor Azure Service Bus: move create_subscription to hook
This commit refactors the logic to create a subscription into the hook. The operators should not be accessing the connection to Azure Service Bus directly. This code belongs in the hook to promote reuse.
In addition, it allows the caller to pass a RuleFilter to apply to the subscription to limit which messages are sent to the subscription.
@dabla: this addresses part of your comments on PR 44675
The build failure appears unrelated to my re-wording of the comment :)
Yeah. Fixed in main (including #45131 fixing selective checks that caused broken main). Rebased it now.
Thank you to both of you!
Thank you to both of you!
Nicely done, good work!