Azure发布Gates API版本2018-05-05未显示结果 [英] Azure release gates api version 2018-05-05 not showing up results

查看:51
本文介绍了Azure发布Gates API版本2018-05-05未显示结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在发布管道中使用预部署门(查询Azure Monitor警报).我也试图从上一个30d以来获取警报,但是api版本2018-05-05并未填充结果.但是,如果我的API版本到2019-03-01,则会显示所有警报.

I am trying to use a pre-deployment gate(Query Azure Monitor alerts) in release pipeline. Also I am trying to fetch the alerts since last 30d, but the api version 2018-05-05 is not populating the result. But if I have the api version to 2019-03-01 all alerts are shown.

问题是Query Azure Monitor警报门正在使用api版本2018-05-05,是否有任何方法可以更改此内部门并使用新的api版本2019-03-01?

Problem is the Query Azure Monitor alerts gate is using the api version 2018-05-05, Is there any way to change this inside gate and use the new api version 2019-03-01 ?

请让我知道是否还有其他方法可以在闸门中获取警报.

Please let me know if there is any other way to get the alerts in gates.

谢谢

推荐答案

有什么办法可以更改此登机门并使用新的api版本2019-03-01?

Is there any way to change this inside gate and use the new api version 2019-03-01 ?

很抱歉给您带来不便.

恐怕没有办法更改内门以使用新的api版本 2019-03-01 .由于它是内置门,因此我们无法修改其源代码或对其进行自定义以进行扩展.

I am afraid there is no such way to change the inside gate to use the new api version 2019-03-01. Since it is a built-in gates, we could not modify its source code or customize it to extend.

要解决此问题,您可以在github上提交有关此任务的请求:

To resolve this issue, you could submit this request on the github about this task:

https://github.com/microsoft/azure-pipelines-tasks/issues

注意:我找不到API版本2019-03-01,只是 2018-05-05 ,您可以在提交请求时提供2019-03-01的链接.

Note: I could not find the API version 2019-03-01, just 2018-05-05, you could provide the link for 2019-03-01 when you submit the request.

希望这会有所帮助.

这篇关于Azure发布Gates API版本2018-05-05未显示结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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