您如何通过Azure DevOps REST API获得批准并检查给定服务连接的配置?

发布于 2025-01-26 07:11:54 字数 651 浏览 4 评论 0原文

我想检索现有SC的现有分支和过滤配置设置。

我正在使用以下API:

“ https://dev.azure.com/ {org }/ {project }/_apis /pipelines/checks/checks/configurations?Resourcetype type =&ltt;版本= 5.2-preview.1

但是在这种情况下,ResourceId和RescourCeType将是什么? 没有给出这个两个参数,我无法获取所有现有的配置?

文档使用: https://learn.microsoft.com/en-us/rest/rest/api/api/azure/devops/approvals/approvalsandchecks/check-configurations/get?view= azure-devops-devops-pops-rest-

6.1帮助?

I would like to retrieve existing Branch and filter configuration settings for a existing SC.

I am using below API:

"https://dev.azure.com/{org}/{project}/_apis/pipelines/checks/configurations?resourceType=<>&resourceId=<>?api-version=5.2-preview.1

But what will be the resourceId and rescourceType in this case?
Without giving this 2 parameters cant I fetch all existing configuration ?

Document Use : https://learn.microsoft.com/en-us/rest/api/azure/devops/approvalsandchecks/check-configurations/get?view=azure-devops-rest-6.1

Can someone help?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

千纸鹤 2025-02-02 07:11:54

获取指定的环境资源IDID的检查配置列表

  • - &gt;环境ID
  • 撤销型 - &GT; “环境”

For getting a list of check configurations of a specified environment

  • resourceId -> environment Id
  • rescourceType -> "environment"
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文