New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azure - docs - teams notification example #4620
azure - docs - teams notification example #4620
Conversation
url: <your_webhook_here> | ||
batch: false | ||
body: > | ||
resource.{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth changing this slightly based on a previous customers issues. People always want to reference some of the other fields that are siblings to resource, but looking at parents is impossible in JMESPath.
Instead of jumping into resource.
right here you can just open with the {
and reference resource.location
and resource.id
, etc, in your text. Then you would have access to account_id
to mention the subscription in question.
This is excellent. Minor feedback. |
Adds an example to the Azure examples for how to setup a Teams notification as a webhook action. This particular one will send a message to Teams whenever a new resource group is created in the subscription.
@stefangordon is this what you had in mind for issue #4137
I am happy to change to a more exciting example or continue adding them