TFS释放门:如何使用天蓝色功能来实现释放门。 [英] TFS Release gates: How to impliment release gate using azure function.

查看:386
本文介绍了TFS释放门:如何使用天蓝色功能来实现释放门。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Hi,

我们希望使用Azure Function / Rest api(首选lang是powershell)实现tfs release gate功能,如下所述。

We wants to implement tfs release gates function using Azure Function/ Rest api (Preferred lang is powershell) for bellow mentioned scenario.

我们在Azure上有多个虚拟机,用于发布。每个VM都有自己的自动关闭策略。

We have Multiple Virtual machines on Azure and used for releases. Every VM have own Auto shut down policy.

有人试图在VM关闭时间1小时之前触发释放并且直到开始VM。

Release need to be prevented by gates when someone tries to trigger release before 1 hr of VM shut down time and till the start of VM.

提前致谢。

推荐答案

无法使用powershell命令在DevTestLab中获取VM的Auto-Shudown时间。你有什么想法,我们怎么能得到它。
Unable to fetch Auto-Shudown time of VM's in DevTestLab using powershell command. Do you have any idea , how can we get that.


这篇关于TFS释放门:如何使用天蓝色功能来实现释放门。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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