当前位置: 首页 > news >正文

【译】GitHub Copilot for Azure(预览版)已经在 Visual Studio 2022 中推出

  适用于 Azure 的 GitHub Copilot 扩展现已在 Visual Studio 2022(17.14及以上版本)中进入公开预览阶段。它通过 Azure MCP 服务器提供了一组精心挑选的 Azure 开发工具,直接集成到 Visual Studio 的 GitHub Copilot Agent 模式中。该扩展会自动安装和管理 Azure MCP 服务器,因此您可以在 Copilot 聊天中完成资源查询、问题诊断、使用 azd 进行部署以及运行 Azure CLI 命令等所有操作。

公开预览版中有什么?

  零配置 Azure MCP 服务器 首次打开 Copilot 聊天时,该扩展会自动下载并启动 Azure MCP 服务器,无需手动安装。(您可以在 Agent 模式的工具列表中看到它。)(注意:该扩展所包含的 MCP 服务器版本有时可能会比最新的上游版本落后几个版本。)

  Agent模式 + Azure 工具 让 Copilot 为您的目标选择合适的工具,或者从 Copilot 聊天窗口的工具箱中选择特定工具。典型任务包括:列出和检查资源、诊断问题、提取应用日志、使用 azd 进行部署、运行 Azure CLI 命令等。

  通过 MCP 工具实现广泛的 Azure 覆盖 这套工具支持与以下对象进行交互:

  - ⚙️ Azure App Configuration

  - 🛡️ Azure Best Practices

  - 🖥️ Azure CLI Extension

  - 📦 Azure Container Registry (ACR)

  - 📊 Azure Cosmos DB (NoSQL Databases)

  - 🧮 Azure Data Explorer

  - 🐘 Azure Database for PostgreSQL – Flexible Server

  - 🛠️ Azure Developer CLI (azd) Extension

  - 🚀 Azure Deploy

  - ☁️ Azure Function App

  - 🔑 Azure Key Vault

  - ☸️ Azure Kubernetes Service (AKS)

  - 🗄️ Azure SQL Database, Elastic Pool, and Server

  - 💾 Azure Storage

  - ...

  请查看 Azure MCP 服务器文档(https://github.com/Azure/azure-mcp/blob/main/docs/azmcp-commands.md)中完整且持续更新的列表。

开始使用

先决条件

  - Visual Studio 2022 17.14 或更高版本(支持 Agent 模式 + MCP)

  - 有效的 GitHub Copilot 订阅,且在 Visual Studio 中启用了 Copilot Chat

  - 有权访问 Azure 订阅的 Microsoft 账户

安装并设置

  - 为 Visual Studio 2022 安装 GitHub Copilot for Azure 扩展 (预览版)。该扩展会自动启动 Azure MCP 服务器,无需手动设置。

  - 打开 Copilot 聊天并选择 Agent 模式。

2

  - 点击“选择工具”并勾选以启用 Azure Extension。

3

4

  - 在您的提示词中,包含资源详情以获得最佳结果(订阅、资源组、资源名称)。

试试这些示例提示词

  这些示例假设您处于启用了 Azure 工具的 Agent 模式。在有帮助的地方添加订阅和资源组名称。

  “我当前的订阅中有任何网络应用程序吗?”

  “找一个名为<appname>的 WebApp。它最近有任何停机时间吗?”

  “找出我有权访问的租户以及我当前正在使用的租户。”

  “提供这些 ACA 应用的网络链接。”

接下来是什么?

  我们致力于不断扩展 Azure 工具集,并深化与 Visual Studio 的集成,所有这些都建立在强大的 MCP 基础之上,该基础现已在 Visual Studio 中全面可用。如果您已经在使用 GitHub Copilot,我们鼓励您尝试 GitHub Copilot for Azure,亲身体验这些新功能。您的反馈极具价值——请告诉我们您接下来想自动化哪些 Azure 场景,帮助塑造 GitHub Copilot for Azure 的未来!

原文链接:https://devblogs.microsoft.com/visualstudio/github-copilot-for-azure-preview-launches-in-visual-studio-2022-with-azure-mcp-support/

me


文章转载自:

http://a5rFhddw.ryqhg.cn
http://HvgeMU0A.ryqhg.cn
http://AgtYSv10.ryqhg.cn
http://zdA5yZ5G.ryqhg.cn
http://M81X0HyV.ryqhg.cn
http://DkbLFt5k.ryqhg.cn
http://aS0OBWNr.ryqhg.cn
http://3mqPw7Td.ryqhg.cn
http://qiNV7jQq.ryqhg.cn
http://JDrObuEc.ryqhg.cn
http://JQbbDHSU.ryqhg.cn
http://pdDteQT5.ryqhg.cn
http://yERbVJPC.ryqhg.cn
http://l4FG6L73.ryqhg.cn
http://2gOXkU5g.ryqhg.cn
http://sO9dYAZn.ryqhg.cn
http://b9iVwogQ.ryqhg.cn
http://ddkhscd2.ryqhg.cn
http://v5qYUsqE.ryqhg.cn
http://3aUsWsU8.ryqhg.cn
http://QlIQJFtv.ryqhg.cn
http://K8SYwk4D.ryqhg.cn
http://RlihWKHx.ryqhg.cn
http://6mAZCCGp.ryqhg.cn
http://0dsXFMPA.ryqhg.cn
http://r9q1ePTO.ryqhg.cn
http://Rn9Xmmxu.ryqhg.cn
http://2YvOZZwl.ryqhg.cn
http://4G5BFyoE.ryqhg.cn
http://2PYG3VL1.ryqhg.cn
http://www.dtcms.com/a/367877.html

相关文章:

  • langchain 提示模版 PromptTemplate
  • Ubuntu开发笔记:1.常见操作指令
  • DDD+WebAPI实战
  • 狗都能看懂的HunYuan3D 1.0详解
  • CodeQL(Mac)安装与测试(Visual Studio)简明指南
  • Next.js 介绍:为什么选择它来构建你的下一个 Web 应用?
  • $attrs学习
  • 无定位更安全:5G 高清视频终端的保密场景适配之道
  • GitHub 热榜项目 - 日榜(2025-09-05)
  • 一文看懂什么是GaN HEMT以及其工艺流程(氮化镓高电子迁移率晶体管)
  • 【AI编程工具】快速搭建图书管理系统
  • 安卓学习 之 EditText 控件
  • 2025职教技能大赛汽车制造与维修赛道速递-产教融合实战亮剑​
  • java面试中经常会问到的zookeeper问题有哪些(基础版)
  • 光伏项目无人机踏勘--如何使用无人机自动航线规划APP
  • jenkins加docker 部署项目
  • linux离线安装elasticsearch8.19.3
  • Jenkins环境搭建与使⽤
  • Jenkins 监控方案:Prometheus + Grafana 实践
  • 【论文阅读】Security of Language Models for Code: A Systematic Literature Review
  • 神经网络算法各种层的原理(基于Keras)--输入层,全连接层,卷积层,池化层,嵌入层,长短期记忆网络层等
  • Github | MoneyPrinterTurbo:自动化视频内容生成系统
  • JUnit入门:Java单元测试全解析
  • 如何下载B站视频,去水印,翻译字幕
  • 脚本语言的大浪淘沙或百花争艳
  • Redis中的hash数据类型
  • 如何安全地删除与重建 Elasticsearch 的 .watches 索引
  • HDFS存储农业大数据的秘密是什么?高级大豆数据分析与可视化系统架构设计思路
  • uni-app iOS 文件调试常见问题与解决方案:结合 itools、克魔、iMazing 的实战经验
  • 解析豆科系统发育冲突原因