mcpField
A
azure-iot-operations

azure-iot-operations

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

关于 azure-iot-operations

azure-iot-operations 是为 Azure IoT Operations 提供指导的 Agent 技能,面向 IoT 部署的规划、开发与运维。它结合本地速查内容和联网文档获取,覆盖 MQTT、OPC UA、安全、数据流与部署。

主要功能

  1. 01排查 WASM、连接和健康状态问题
  2. 02规划部署拓扑、容量与持久化
  3. 03配置 MQTT、OPC UA 和数据流
  4. 04安全、证书与访问控制指导
  5. 05集成、编码和部署模式

适用场景

  1. 01诊断私有连接或 MQTT 通信问题
  2. 02规划边缘部署资源与高可用性
  3. 03构建数据流并配置连接器和安全

MCP 相关

文档获取可优先使用 mcp_microsoftdocs 的 microsoft_docs_fetch 工具;也可通过 fetch_webpage 获取内容。

安装

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

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-iot-operations

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

详细介绍

Azure IoT Operations 技能

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

如何使用此技能

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-L46诊断并解决 Azure IoT Operations 问题:调试 WASM 模块、解读运行状况原因代码、解决专用连接问题,以及使用工具排查已知问题。
最佳实践L47-L54Azure IoT Operations 生产就绪指南:MQTT 代理高可用设计、边缘持久状态存储,以及 MQTT 连接的测试与故障排除。
决策制定L55-L65Azure IoT Operations 架构规划与选择指南:数据流与图、部署拓扑和规模、MQTT 代理诊断、缓冲与持久化,以及 OPC UA 资产发现模式。
架构与设计模式L66-L71使用 ISA-95 统一命名空间概念设计 Azure IoT 架构,并规划分层、分段的网络拓扑,以实现安全且可扩展的 IoT Operations 部署。
限制与配额L72-L78OPC UA 会话和高可用性的容量规划、基线资源使用量估算,以及 Azure IoT Operations 中 MQTT 代理的功能、数据包和吞吐量限制。
安全L79-L96保护 Azure IoT Operations:TLS 和证书、MQTT 身份验证与授权、OPC UA 信任、专用网络、RBAC/ABAC 角色、机密管理和映像真实性。
配置L97-L133配置 IoT Operations 数据流、终结点、转换、MQTT/OPC UA 功能、可观测性和资源管理,包括存储、分析、WASM 和连接器设置。
集成与编码模式L134-L158Azure IoT Operations 数据流连接模式与代码:表达式、筛选器、路由、节流、窗口聚合、WASM/Dapr/ONNX、状态存储、架构,以及连接器(MQTT/HTTP/媒体/SSE/Fabric)。
部署L159-L172在启用了 Arc 的 Kubernetes 上部署、升级、克隆和移除 Azure IoT Operations,包括安全/生产环境设置、专用网络/注册表和 Dapr MQTT 组件。
故障排除
主题URL
在 VS Code 中调试 Azure IoT WASM 模块https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/howto-debug-wasm-modules
排查 Azure IoT Operations 中的专用连接问题https://learn.microsoft.com/en-us/azure/iot-operations/manage-layered-network/howto-troubleshoot-private-connectivity
解读 Azure IoT Operations 健康状态原因代码https://learn.microsoft.com/en-us/azure/iot-operations/reference/health-status-reason-codes
诊断 Azure IoT Operations 中的已知问题https://learn.microsoft.com/en-us/azure/iot-operations/troubleshoot/known-issues
使用工具排查 Azure IoT Operations 问题https://learn.microsoft.com/en-us/azure/iot-operations/troubleshoot/tips-tools
诊断并修复 Azure IoT Operations 问题https://learn.microsoft.com/en-us/azure/iot-operations/troubleshoot/troubleshoot
最佳实践
主题URL
应用 Azure IoT Operations 生产部署指南https://learn.microsoft.com/en-us/azure/iot-operations/deploy-iot-ops/concept-production-guidelines
使用 Azure IoT Operations MQTT 代理设计高可用边缘应用https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/overview-edge-apps
使用 Azure IoT Operations 状态存储保存持久化边缘数据https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/overview-state-store
测试 Azure IoT Operations 中的 MQTT 代理连接https://learn.microsoft.com/en-us/azure/iot-operations/manage-mqtt-broker/howto-test-connection
决策
主题URL
在数据流和数据流图之间进行选择https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/overview-dataflow-comparison
规划生产规模的 Azure IoT Operations 部署https://learn.microsoft.com/en-us/azure/iot-operations/deploy-iot-ops/concept-production-examples
规划 Azure IoT Operations 部署拓扑和规模https://learn.microsoft.com/en-us/azure/iot-operations/deployment-plan/deployment-planning
规划 MQTT 代理诊断配置https://learn.microsoft.com/en-us/azure/iot-operations/deployment-plan/deployment-planning-diagnostics
规划 MQTT 代理的磁盘支持消息缓冲https://learn.microsoft.com/en-us/azure/iot-operations/deployment-plan/deployment-planning-disk-buffer
决定 IoT Operations 的 MQTT 代理持久化策略https://learn.microsoft.com/en-us/azure/iot-operations/deployment-plan/deployment-planning-persistence
选择 Azure IoT 中的 OPC UA 资产发现模式https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/concept-opc-ua-asset-discovery
架构与设计模式
主题URL
使用 Azure IoT 构建 ISA-95 统一命名空间https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-build-unified-namespace
为 Azure IoT Operations 部署设计分层网络https://learn.microsoft.com/en-us/azure/iot-operations/manage-layered-network/concept-layered-network
限制与配额
主题URL
规划 OPC UA 会话共享和高可用容量https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-configure-opc-ua-sessions-high-availability
规划 Azure IoT Operations 基线资源用量https://learn.microsoft.com/en-us/azure/iot-operations/reference/concept-resource-profiles
查看 Azure IoT Operations 代理中的 MQTT 功能和数据包限制https://learn.microsoft.com/en-us/azure/iot-operations/reference/mqtt-support
安全
主题URL
为 Azure IoT Operations 配置自定义证书颁发者https://learn.microsoft.com/en-us/azure/iot-operations/deploy-iot-ops/howto-bring-your-own-issuer
规划 MQTT broker Pod 的内部流量加密https://learn.microsoft.com/en-us/azure/iot-operations/deployment-plan/deployment-planning-encryption
为 IoT Operations 配置 OPC UA 证书信任https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-configure-opc-ua-certificates-infrastructure
为 Azure IoT Operations 配置 OPC UA 证书信任https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/overview-opc-ua-connector-certificates-management
为 Azure IoT Operations 配置专用连接和网络安全https://learn.microsoft.com/en-us/azure/iot-operations/manage-layered-network/howto-private-connectivity
为 Azure IoT Operations MQTT broker 配置身份验证https://learn.microsoft.com/en-us/azure/iot-operations/manage-mqtt-broker/howto-configure-authentication
在 Azure IoT Operations 中配置 MQTT broker 授权https://learn.microsoft.com/en-us/azure/iot-operations/manage-mqtt-broker/howto-configure-authorization
使用 BrokerListener 配置保护 MQTT broker 终结点https://learn.microsoft.com/en-us/azure/iot-operations/manage-mqtt-broker/howto-configure-brokerlistener
为 IoT MQTT 配置 TLS、X.509 身份验证和 ABAChttps://learn.microsoft.com/en-us/azure/iot-operations/manage-mqtt-broker/tutorial-tls-x509
为 Azure IoT Operations 定义自定义 RBAC 角色https://learn.microsoft.com/en-us/azure/iot-operations/reference/custom-rbac
在 Azure IoT Operations 中启用安全设置和标识https://learn.microsoft.com/en-us/azure/iot-operations/secure-iot-ops/howto-enable-secure-settings
管理外部 IoT Operations 通信的 TLS 证书https://learn.microsoft.com/en-us/azure/iot-operations/secure-iot-ops/howto-manage-certificates
管理已启用 Arc 的 IoT Operations 集群的机密https://learn.microsoft.com/en-us/azure/iot-operations/secure-iot-ops/howto-manage-secrets
验证 Azure IoT Operations 映像的真实性https://learn.microsoft.com/en-us/azure/iot-operations/secure-iot-ops/howto-validate-images
配置
主题URL
在 Azure IoT Operations 中定义和配置数据流图https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/concept-dataflow-graphs
为 IoT Operations 配置 Azure Data Lake Storage Gen2 终结点https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-adlsv2-endpoint
为 IoT 数据配置 Azure Data Explorer 终结点https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-adx-endpoint
为 IoT 数据流配置目标和动态主题https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-dataflow-destination
配置 Azure IoT Operations 数据流终结点https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-dataflow-endpoint
配置数据流配置文件和实例数https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-dataflow-profile
在 Azure IoT Operations 中配置数据流源和主题https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-dataflow-source
为 IoT 数据流配置缓冲和磁盘持久化https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-disk-persistence
在 Azure IoT Operations 中配置 Fabric OneLake 终结点https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-fabric-endpoint
为 IoT Operations 配置 Kafka 和 Event Hubs 终结点https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-kafka-endpoint
在 Azure IoT 中配置本地存储数据流终结点https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-local-storage-endpoint
在 IoT Operations 中配置 MQTT 数据流终结点https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-mqtt-endpoint
使用可组合转换创建数据流图https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-create-dataflow-graph
在 Azure IoT Operations 数据流中配置筛选阶段https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-dataflow-filter
在 IoT 数据流中配置自定义 WASM 转换https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-dataflow-graph-wasm
在 Azure IoT 数据流图中配置映射转换https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-dataflow-graphs-map
配置向 Azure 报告统一运行状况状态https://learn.microsoft.com/en-us/azure/iot-operations/deploy-iot-ops/health-status-reporting
配置 Azure IoT Operations 的可观测性https://learn.microsoft.com/en-us/azure/iot-operations/deploy-iot-ops/howto-configure-observability
配置 Azure IoT Operations 的高级 MQTT 选项https://learn.microsoft.com/en-us/azure/iot-operations/deployment-plan/deployment-planning-mqtt-options
为 IoT Operations 配置容器注册表终结点https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/howto-configure-registry-endpoint
为 IoT Operations 配置 WebAssembly 图定义https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/howto-configure-wasm-graph-definitions
为 IoT 部署 WASM 模块和图定义https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/howto-deploy-wasm-graph-definitions
在 Azure IoT Operations 中配置 OPC UA 资产和数据集https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-configure-opc-ua
配置高级 OPC UA 数据收集功能https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-configure-opc-ua-advanced-data-collection
在 Azure IoT 中配置 OPC UA 资产发现https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-detect-opc-ua-assets
在 Azure IoT 中创建和管理连接器模板https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-manage-connector-templates
配置用于摄像头媒体流的 ONVIF 连接器https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-use-onvif-connector
在 operations experience UI 中管理 Azure IoT Operations 资源https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-use-operations-experience
为 Azure IoT Operations MQTT 代理配置数据持久化https://learn.microsoft.com/en-us/azure/iot-operations/manage-mqtt-broker/howto-broker-persistence
使用 Azure IoT 指标监视 Akri 和连接器https://learn.microsoft.com/en-us/azure/iot-operations/reference/observability-metrics-akri-connectors
使用指标监视 Azure IoT Operations 数据流https://learn.microsoft.com/en-us/azure/iot-operations/reference/observability-metrics-data-flows
在 Azure IoT Operations 中使用 MQTT 代理可观测性指标https://learn.microsoft.com/en-us/azure/iot-operations/reference/observability-metrics-mqtt-broker
在 IoT Operations 中使用 OPC UA 连接器可观测性指标https://learn.microsoft.com/en-us/azure/iot-operations/reference/observability-metrics-opcua-broker
集成与编码模式
主题URL
在 Azure IoT 数据流中使用表达式语言https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/concept-dataflow-graphs-expressions
设置 Fabric Real-Time Intelligence 数据流终结点https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-configure-fabric-real-time-intelligence
使用状态存储数据集丰富 IoT Operations 数据流https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-dataflow-graphs-enrich
使用筛选器和分支控制 IoT Operations 数据流https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-dataflow-graphs-filter-route
限制 IoT Operations 数据流中的 MQTT 消息速率https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-dataflow-graphs-throttle
使用 IoT Operations 数据流动态路由 MQTT 主题https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-dataflow-graphs-topic-routing
配置 IoT Operations 数据流中的窗口聚合https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/howto-dataflow-graphs-window
为 Azure IoT Operations 配置 OpenTelemetry 终结点https://learn.microsoft.com/en-us/azure/iot-operations/connect-to-cloud/open-telemetry
为 Azure IoT 数据流构建和测试 WASM 模块https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/howto-build-wasm-modules
构建和部署自定义 Akri REST 连接器https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/howto-develop-akri-connectors
开发与 MQTT 代理集成的 Dapr 应用https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/howto-develop-dapr-apps
在 IoT WASM 数据流中运行 ONNX 推理https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/howto-wasm-onnx-inference
使用 Azure IoT 架构注册表验证 WASM 消息https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/howto-wasm-schema-registry
在 Azure IoT WASM 运算符中使用状态存储https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/howto-wasm-state-store
实现 Azure IoT Operations 状态存储协议https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/reference-state-store-protocol
通过 Azure IoT Operations 控制 OPC UA 服务端数据https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-control-opc-ua
配置 Azure IoT Operations HTTP 连接器https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-use-http-connector
为摄像头配置 Azure IoT 媒体连接器https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-use-media-connector
在 Azure IoT Operations 中配置 MQTT 连接器资产https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-use-mqtt-connector
配置 Azure IoT Operations SSE 连接器https://learn.microsoft.com/en-us/azure/iot-operations/discover-manage-assets/howto-use-sse-connector
将 ONVIF 摄像头媒体捕获到 Azure Blob Storagehttps://learn.microsoft.com/en-us/azure/iot-operations/end-to-end-tutorials/tutorial-onvif-media-blob-storage
部署
主题URL
清理 Azure IoT Operations 可观测性资源https://learn.microsoft.com/en-us/azure/iot-operations/deploy-iot-ops/howto-clean-up-observability-resources
将 Azure IoT Operations 安全地部署到生产集群https://learn.microsoft.com/en-us/azure/iot-operations/deploy-iot-ops/howto-deploy-iot-operations
将 Azure IoT Operations 部署到测试集群https://learn.microsoft.com/en-us/azure/iot-operations/deploy-iot-ops/howto-deploy-iot-test-operations
为部署 IoT Operations 准备 Azure Arc Kubernetes 集群https://learn.microsoft.com/en-us/azure/iot-operations/deploy-iot-ops/howto-prepare-cluster
使用 MQTT 代理部署 Dapr 可插拔组件https://learn.microsoft.com/en-us/azure/iot-operations/develop-edge-apps/howto-deploy-dapr
在分层专用网络中部署 Azure IoT Operationshttps://learn.microsoft.com/en-us/azure/iot-operations/end-to-end-tutorials/tutorial-layered-network-private-connectivity
使用 Azure CLI 克隆 Azure IoT Operations 实例https://learn.microsoft.com/en-us/azure/iot-operations/manage-iot-ops/howto-clone-instance
管理、更新和卸载 Azure IoT Operations 实例https://learn.microsoft.com/en-us/azure/iot-operations/manage-iot-ops/howto-manage-update-uninstall
将 Azure IoT Operations 部署升级到较新版本https://learn.microsoft.com/en-us/azure/iot-operations/manage-iot-ops/howto-upgrade
检查 Azure IoT Operations 支持的版本和环境https://learn.microsoft.com/en-us/azure/iot-operations/overview-support
将 Azure IoT Operations 映像镜像到专用注册表https://learn.microsoft.com/en-us/azure/iot-operations/secure-iot-ops/howto-mirror-images-private-registry

评论

支持 Markdown