gpt4 book ai didi

azure - 使用 VSTS,我可以安装下拉列表中列出的扩展之外的扩展吗?

转载 作者:行者123 更新时间:2023-12-03 05:52:55 24 4
gpt4 key购买 nike

我想安装 Web 应用程序扩展作为 VSTS 构建/部署的一部分。选项列表仅包含几个选项(主要是 Python)。我如何/可以安装其他扩展?

enter image description here

最佳答案

Azure App Service Manage任务中的值是静态的,您只能选择它们,但您可以引用源代码:AzureAppServiceManagecustom build/release task以包含您想要的扩展。

您还可以通过 kudu API 安装必要的扩展:

SiteExtensions

GET /api/extensionfeed List all extension package infos available on the online (remote) server. The following query strings are supported. - filter: matching string

GET /api/siteextensions List all extension package infos currently installed. The following query strings are supported. - filter: matching string

GET /api/extensionfeed/{id} Get a package info with {id} from remote store.

GET /api/siteextensions/{id} Get a package info with {id} currently installed.

PUT /api/siteextensions/{id} Install or update the package to local machine. The payload is the package info returned by List/Get apis above.

DELETE /api/siteextensions/{id} Uninstall the package with {id}.

一篇关于 Install Azure App Extension With Powershell 的文章.

有一个调用Kudu API的线程可以帮助你:Remove files and foldes on Azure before a new deploy from VSTS

关于azure - 使用 VSTS,我可以安装下拉列表中列出的扩展之外的扩展吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45595777/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com