azure - 通过 terraform 创建 Azure 预算警报

标签 azure terraform terraform-provider-azure

我正在尝试通过 terraform 复制在门户中创建 Azure 预算警报的过程。

在门户中,我导航到“成本管理 + 计费”,然后导航到“成本警报”,我可以根据整个订阅的条件创建警报,以使预算不超过一定金额,否则将发送电子邮件至特定群体或个人。

我可以通过 azurerm_monitor_action_group 在 terraform 中创建操作组,但如何创建预算警报。我没有看到任何有效的文档。

最佳答案

我发现这个提供商可以暂时利用 terraform 来创建预算警报。希望这对任何寻找的人都有帮助

https://registry.terraform.io/providers/innovationnorway/azure-preview/latest/docs/resources/azurepreview_budget

关于azure - 通过 terraform 创建 Azure 预算警报,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66642927/

相关文章:

python - Azure 数据湖的 Pyarrow 切片下推

Azure-cli 删除所有虚拟机和磁盘以及资源组下的所有内容

Terraform 组合变量和字符串

terraform - 如何在 terraform 中将 concat 与 formatlist 结合起来?

Terraform - 多次计数的无效索引错误

terraform - 执行 : "powershell": executable file not found in $PATH while running local-exec in Terraform

azure - 用于扩展 RU 的 Cosmos DB 存储过程

azure - 政策不允许的请求

Terraform JSON 需要嵌套在 Azure Vnet 对象中的 Azure 子网才能拥有 ID,但不允许对其进行设置

azure - 如何使用 Terraform 在 Microsoft Defender for Cloud 中启用 "Log Analytics agent/Azure Monitor agent"?