Azure监视器中的服务总线队列的ARM模板 [英] ARM templates for service bus queue in Azure monitor

查看:58
本文介绍了Azure监视器中的服务总线队列的ARM模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已使用ARM模板为Azure服务总线命名空间创建了度量标准并成功部署。



问题:



在"条件"中我们在"EntityName"和"EntityName"下面有一个名为"DimensionName"的选项。 - >将选中* select *以监视服务总线命名空间。如何在ARM模板中添加该部件名称

I have created metric alert for Azure service bus namespace using ARM templates and deployed successfully.

Issues:

In "Condition" section we have option called "DimensionName", under "EntityName" -> will check box select* to monitor under the service bus namespace. How to add that part name in ARM templates





Vinoth

推荐答案

我检查了REST API的响应是什么,它看起来像这样

I checked what the response from the REST API was and it look something like this


"criteria": {
  "allOf": [
    {
      "threshold": 100.0,
      "name": "Metric1",
      "metricNamespace": "Microsoft.ServiceBus/namespaces",
      "metricName": "IncomingMessages",
      "dimensions": [
        {
          "name": "EntityName",
          "operator": "Include",
          "values": ["*"]
        }
      ],
      "operator": "GreaterThan",
      "timeAggregation": "Total",
      "monitorTemplateType": 8
    }
  ],
  "odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria"
},


这篇关于Azure监视器中的服务总线队列的ARM模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆