mcpField
A
azure-lab-services

azure-lab-services

github.com/microsoftdocs云与 DevOps796161 次安装3 天前更新
代码仓库

关于 azure-lab-services

azure-lab-services 是面向 Azure Lab Services 管理者和使用者的指导技能,涵盖配置、部署、安全、故障排查及架构决策,并结合本地参考内容与远程文档获取。

主要功能

  1. 01VM 访问与连接故障排查
  2. 02实验室配置与部署指导
  3. 03安全、角色与策略参考
  4. 04配额、容量与成本规划
  5. 05Canvas、Teams 与自动化集成

适用场景

  1. 01排查实验室 VM 无法访问或连接的问题
  2. 02规划 GPU、容量及实验室费用
  3. 03设置实验室网络、映像与计划
  4. 04通过 Bicep、PowerShell 或 Python 自动创建实验室

MCP 相关

该技能可使用 mcp_microsoftdocs 的 microsoft_docs_fetch 获取文档;也可通过 fetch_webpage 作为后备方式。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-lab-services

安装后在 Claude Code 中输入/azure-lab-services确认已加载。

详细介绍

Azure Lab Services 技能

此技能为 Azure Lab Services 提供专业指导,涵盖故障排除、最佳实践、决策、架构与设计模式、限制与配额、安全性、配置、集成与编码模式,以及部署。它结合了本地快速参考内容与远程文档获取功能。

如何使用此技能

IMPORTANT for Agent:使用下方的类别索引查找相关部分。对于带有行范围的类别(例如 L35-L120),请使用 read_file 读取指定行。对于带有文件链接的类别(例如 [security.md](security.md)),请使用 read_file 读取链接的参考文件

IMPORTANT for Agent:如果 metadata.generated_at 距今超过 3 个月,请建议用户从存储库拉取最新版本。如果 mcp_microsoftdocs 工具不可用,请建议用户安装该工具:安装指南

此技能需要网络访问才能获取文档内容:

  • 首选:使用 mcp_microsoftdocs:microsoft_docs_fetch,并将查询字符串设为 from=learn-agent-skill。返回 Markdown。
  • 备用:使用 fetch_webpage,并将查询字符串设为 from=learn-agent-skill&accept=text/markdown。返回 Markdown。

类别索引

类别行描述
故障排除L37-L44诊断并解决 Azure Lab Services 中的 VM 访问、连接、部署和实验室创建问题,包括何时重新部署或重新映像 VM。
最佳实践L45-L53有关实验室计划、自定义映像、嵌套虚拟化、Linux 图形 RDP,以及在 Azure Lab Services 中准备经过优化的 Windows 模板 VM 的治理和设置指南
决策L54-L63有关何时以及如何使用 Azure Lab Services 的指南:选择实验室类型、规划迁移(物理环境或迁移至其他服务)、估算成本、确定 GPU 规格,以及运行培训或黑客马拉松场景。
架构与设计模式L64-L70Azure Lab Services 的核心架构、支持的网络拓扑,以及用于构建可靠、弹性实验室环境和实验室计划的设计模式
限制与配额L71-L78实验室的 VM 容量和核心配额、如何查看使用情况、申请提高配额,以及 VM 自动删除和清理的时间安排。
安全性L79-L93RBAC 角色、实验室创建者/所有者分配、用于合规性和 VM 大小限制的 Azure Policy、防火墙和公共 IP 设置,以及教育工作者/学生 VM 密码管理。
配置L94-L124配置 Azure Lab Services:实验室计划、区域、映像、网络、VM 模板、计划(启动/停止/关机)、容量、GPU/嵌套虚拟化,以及用户/教育工作者访问权限。
集成与编码模式L125-L138将 Lab Services 与 Canvas 和 Teams 集成;通过 Bicep/PowerShell/Python 自动创建实验室;将实验室连接到 VNet;以及通过 X2Go 远程访问 Linux VM。
部署L139-L148创建和导入 Windows/Linux 实验室 VM 映像(来自 Azure VM、物理实验室或计算库)、快速设置/发布实验室,以及将实验室帐户迁移到实验室计划。
故障排除
主题URL
通过重新部署或重新映像排查 Azure Lab Services VM 问题https://learn.microsoft.com/en-us/azure/lab-services/how-to-reset-and-redeploy-vm
排查 Azure Lab Services VM 的访问问题https://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-access-lab-vm
排查 Azure Lab Services 中的连接问题https://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-connect-lab-vm
排查 Azure Lab Services 实验室创建问题https://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-lab-creation
最佳实践
主题URL
管理 Lab Services 的实验室计划和治理https://learn.microsoft.com/en-us/azure/lab-services/administrator-guide
Azure Lab 自定义映像的推荐方法https://learn.microsoft.com/en-us/azure/lab-services/approaches-for-custom-image-creation
在 Azure Lab Services 中配置嵌套虚拟化https://learn.microsoft.com/en-us/azure/lab-services/concept-nested-virtualization-template-vm
为 Linux 实验室启用图形远程桌面,以获得最佳性能https://learn.microsoft.com/en-us/azure/lab-services/how-to-enable-remote-desktop-linux
准备 Windows 实验室模板的最佳实践https://learn.microsoft.com/en-us/azure/lab-services/how-to-prepare-windows-template
决策制定
主题URL
在培训场景中使用 Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/classroom-labs-scenarios
在实验室帐户和实验室计划之间进行选择https://learn.microsoft.com/en-us/azure/lab-services/concept-lab-accounts-versus-lab-plans
规划从物理实验室迁移到 Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/concept-migrating-physical-labs
估算和分析 Azure Lab Services 成本https://learn.microsoft.com/en-us/azure/lab-services/cost-management-guide
使用 Azure Lab Services 环境举办黑客马拉松https://learn.microsoft.com/en-us/azure/lab-services/hackathon-labs
为 Azure 实验室选择和配置 GPU VM 大小https://learn.microsoft.com/en-us/azure/lab-services/how-to-setup-lab-gpu
架构与设计模式
主题URL
了解 Azure Lab Services 架构基础知识https://learn.microsoft.com/en-us/azure/lab-services/classroom-labs-fundamentals
为实验室计划选择受支持的网络架构https://learn.microsoft.com/en-us/azure/lab-services/concept-lab-services-supported-networking-scenarios
了解 Azure Lab Services 的可靠性和复原能力https://learn.microsoft.com/en-us/azure/lab-services/reliability-in-azure-lab-services
限制与配额
主题URL
查看实验室的 VM 容量限制和配额https://learn.microsoft.com/en-us/azure/lab-services/capacity-limits
确定 Azure Lab Services 配额和核心使用量https://learn.microsoft.com/en-us/azure/lab-services/how-to-determine-your-quota-usage
申请提高 Azure Lab Services 核心配额https://learn.microsoft.com/en-us/azure/lab-services/how-to-request-capacity-increase
了解 VM 自动删除策略的时间安排https://learn.microsoft.com/en-us/azure/lab-services/vm-deletion-policy
安全性
主题URL
在 Azure Lab Services 中分配实验室创建者角色https://learn.microsoft.com/en-us/azure/lab-services/add-lab-creator
使用 Azure Policy 强制实施 Azure Lab Services 合规性https://learn.microsoft.com/en-us/azure/lab-services/azure-polices-for-lab-services
在 Azure Lab Services 中使用 Azure RBAC 角色https://learn.microsoft.com/en-us/azure/lab-services/concept-lab-services-role-based-access-control
将实验室帐户中的角色分配映射到实验室计划https://learn.microsoft.com/en-us/azure/lab-services/concept-migrate-from-lab-accounts-roles
为 Azure Lab Services 帐户分配实验室创建者角色https://learn.microsoft.com/en-us/azure/lab-services/how-to-add-lab-creator
在 Azure Lab Services 中添加其他实验室所有者https://learn.microsoft.com/en-us/azure/lab-services/how-to-add-user-lab-owner
确定用于配置防火墙的实验室 VM 公共 IP 地址https://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-firewall-settings
为 Azure Lab Services 实验室 VM 配置防火墙规则https://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-firewall-settings-1
作为教育工作者设置和重置实验室 VM 密码https://learn.microsoft.com/en-us/azure/lab-services/how-to-set-virtual-machine-passwords
学生重置 Azure Lab Services VM 的密码https://learn.microsoft.com/en-us/azure/lab-services/how-to-set-virtual-machine-passwords-student
使用 Azure Policy 限制 Azure Lab VM 的大小https://learn.microsoft.com/en-us/azure/lab-services/how-to-use-restrict-allowed-virtual-machine-sku-sizes-policy
配置
主题URL
允许实验室创建者在 Azure Lab Services 中选择实验室位置https://learn.microsoft.com/en-us/azure/lab-services/allow-lab-creator-pick-lab-location
为 Azure Lab Services 实验室配置允许的区域https://learn.microsoft.com/en-us/azure/lab-services/create-and-configure-labs-admin
将 Azure 计算库附加到实验室计划或从中分离https://learn.microsoft.com/en-us/azure/lab-services/how-to-attach-detach-shared-image-gallery
将共享映像库附加到 Azure Lab Services 帐户或从中分离https://learn.microsoft.com/en-us/azure/lab-services/how-to-attach-detach-shared-image-gallery-1
为 Azure 实验室计划配置自动关闭策略https://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-auto-shutdown-lab-plans
为 Azure Lab Services 帐户配置 VM 自动关闭https://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-lab-accounts
使用 VNET 注入将实验室计划连接到虚拟网络https://learn.microsoft.com/en-us/azure/lab-services/how-to-connect-vnet-injection
使用共享资源创建 Azure Lab Services 实验室https://learn.microsoft.com/en-us/azure/lab-services/how-to-create-a-lab-with-shared-resource-1
使用 Bicep 或 ARM 模板定义实验室计划https://learn.microsoft.com/en-us/azure/lab-services/how-to-create-lab-plan-bicep
使用 Azure PowerShell 创建实验室计划https://learn.microsoft.com/en-us/azure/lab-services/how-to-create-lab-plan-powershell
使用 Python SDK 以编程方式创建实验室计划https://learn.microsoft.com/en-us/azure/lab-services/how-to-create-lab-plan-python
创建和管理 Azure Lab Services VM 模板https://learn.microsoft.com/en-us/azure/lab-services/how-to-create-manage-template
配置实验室 VM 的自动启动/停止计划https://learn.microsoft.com/en-us/azure/lab-services/how-to-create-schedules
在 Azure Lab Services 模板中启用嵌套虚拟化https://learn.microsoft.com/en-us/azure/lab-services/how-to-enable-nested-virtualization-template-vm-using-script
为实验室配置用户断开连接时自动关闭https://learn.microsoft.com/en-us/azure/lab-services/how-to-enable-shutdown-disconnect
创建、查看和删除 Azure Lab Services 实验室计划https://learn.microsoft.com/en-us/azure/lab-services/how-to-manage-lab-plans
配置和管理 Azure Lab Services 用户及使用时长https://learn.microsoft.com/en-us/azure/lab-services/how-to-manage-lab-users
管理 Azure Lab Services VM 池容量和状态https://learn.microsoft.com/en-us/azure/lab-services/how-to-manage-vm-pool
在 Azure Lab Services 中设置基于 GPU 的实验室https://learn.microsoft.com/en-us/azure/lab-services/how-to-setup-lab-gpu-1
配置 Windows 实验室 VM,防止在操作系统级别关闭https://learn.microsoft.com/en-us/azure/lab-services/how-to-windows-shutdown
允许教育工作者访问 Azure 实验室中的学生 VMhttps://learn.microsoft.com/en-us/azure/lab-services/instructor-access-virtual-machines
为 Azure 实验室帐户配置支持联系信息https://learn.microsoft.com/en-us/azure/lab-services/lab-account-owner-support-information
快速为学校配置实验室计划https://learn.microsoft.com/en-us/azure/lab-services/lab-plan-setup-guide
Azure Lab Services 的 Azure Policy 内置定义https://learn.microsoft.com/en-us/azure/lab-services/policy-reference
为实验室配置允许使用的 Azure Marketplace 映像https://learn.microsoft.com/en-us/azure/lab-services/specify-marketplace-images
指定 Azure Lab Services 实验室允许使用的 Marketplace 映像https://learn.microsoft.com/en-us/azure/lab-services/specify-marketplace-images-1
为 Azure Lab Services 配置高级网络https://learn.microsoft.com/en-us/azure/lab-services/tutorial-create-lab-with-advanced-networking
集成与编码模式
主题URL
使用 X2Go 连接到 Linux 实验室 VMhttps://learn.microsoft.com/en-us/azure/lab-services/connect-virtual-machine-linux-x2go
配置 Canvas LMS 与 Azure Lab Services 的集成https://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-canvas-for-lab-plans
配置 Microsoft Teams 与 Azure Lab Services 的集成https://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-teams-for-lab-plans
将 Azure Lab Services 实验室连接到对等虚拟网络https://learn.microsoft.com/en-us/azure/lab-services/how-to-connect-peer-virtual-network
使用 Bicep 模板预配 Azure Lab Services 实验室https://learn.microsoft.com/en-us/azure/lab-services/how-to-create-lab-bicep
使用 PowerShell Az 模块创建 Azure Lab Services 实验室https://learn.microsoft.com/en-us/azure/lab-services/how-to-create-lab-powershell
使用 Python SDK 创建 Azure Lab Services 实验室https://learn.microsoft.com/en-us/azure/lab-services/how-to-create-lab-python
将 Azure Lab Services 与 Canvas LMS 集成https://learn.microsoft.com/en-us/azure/lab-services/lab-services-within-canvas-overview
将 Azure Lab Services 与 Microsoft Teams 集成https://learn.microsoft.com/en-us/azure/lab-services/lab-services-within-teams-overview
使用 Az.LabServices PowerShell 模块管理 Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/reference-powershell-module
部署
主题URL
将 Azure VM 中的 Linux 自定义映像导入实验室https://learn.microsoft.com/en-us/azure/lab-services/how-to-bring-custom-linux-image-azure-vm
将物理实验室中的 Linux 映像导入 Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-bring-custom-linux-image-vhd
根据 Windows VM 映像创建 Azure Lab Services 实验室https://learn.microsoft.com/en-us/azure/lab-services/how-to-bring-custom-windows-image-azure-vm
将 Azure Lab Services 帐户迁移到实验室计划https://learn.microsoft.com/en-us/azure/lab-services/how-to-migrate-lab-acounts-to-lab-plans
使用 Azure 计算库提供实验室 VM 映像https://learn.microsoft.com/en-us/azure/lab-services/how-to-use-shared-image-gallery
快速创建并发布供学生使用的实验室https://learn.microsoft.com/en-us/azure/lab-services/setup-guide
将物理实验室中的 Windows 映像导入 Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/upload-custom-image-shared-image-gallery

评论

支持 Markdown