Updating Azure Alerts

Today I learned how to update an alert in azure and add an action group to it with the cli. az monitor alert --name {foo} --add-action {bar}