mcpField
A
azure-notification-hubs

azure-notification-hubs

github.com/microsoftdocs开发796162 次安装3 天前更新
代码仓库

关于 azure-notification-hubs

azure-notification-hubs 是面向 Azure Notification Hubs 开发和运维人员的 Agent 技能,结合本地资料与远程文档,涵盖推送设计、故障排查、配置、安全、集成和部署。

主要功能

  1. 01推送通知故障排查
  2. 02注册、标签与模板
  3. 03架构、限制和配额
  4. 04安全与服务配置
  5. 05SDK、REST 和部署指导

适用场景

  1. 01追踪推送通知丢失
  2. 02设计定向、多租户推送
  3. 03配置平台推送凭据
  4. 04规划区域迁移

MCP 相关

该技能可通过 mcp_microsoftdocs:microsoft_docs_fetch 获取文档,并提供网页抓取作为备用方式。

安装

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

$npx skills add https://github.com/microsoftdocs/agent-skills --skill azure-notification-hubs

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

详细介绍

Azure Notification Hubs 技能

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

如何使用此技能

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

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

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

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

分类索引

分类行描述
故障排除L37-L41诊断并修复常见的 Notification Hubs 问题,包括发送失败、通知丢失、平台特定错误,以及跟踪、测试和解决发送问题的步骤。
最佳实践L42-L49设计 Notification Hubs 解决方案、选择注册模式、使用标记/路由,以及创建模板,以高效地发送定向推送通知。
决策L50-L54指导如何选择和切换 Notification Hubs 定价层,并比较不同工作负载的功能限制、规模和成本影响。
架构与设计模式L55-L59指导如何使用 Azure Notification Hubs 设计大规模、多租户和地理分布式推送通知架构,包括模式、最佳实践和集成方法。
限制与配额L60-L64Notification Hubs 的限制、配额和节流行为,以及如何创建和管理计划推送通知,并了解其约束。
安全性L65-L73Notification Hubs 的安全性、加密、TLS 和网络隔离:静态数据加密、欧盟数据边界、SAS/基于角色的访问、TLS 版本规划和 Private Link 设置。
配置L74-L94配置 Notification Hubs(APNS/FCM/WNS/MPNS/Baidu 的 PNS 凭据)、IaC 设置(Bicep/ARM/Terraform),以及通过指标、日志和 PowerShell 进行监视和自动化。
集成与编码模式L95-L121实现和迁移推送通知集成(FCM v1、APNS、WNS)、设备/用户定向、模板、本地化,以及使用 REST/SDK(Java、PHP、Python、UWP、Android、iOS)。
部署L122-L125指导如何在 Azure 区域之间安全迁移 Notification Hubs,包括迁移规划、数据保留,以及尽可能减少区域迁移期间的停机时间。
故障排除
主题URL
诊断并修复 Notification Hubs 中丢失的通知https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-fixer
最佳实践
主题URL
使用 Azure Notification Hubs 设计和实现解决方案https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-faq
选择 Azure Notification Hubs 的注册模式https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-registration-management
在 Azure Notification Hubs 中使用标记和路由表达式https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-tags-segment-push-message
设计和使用 Notification Hubs 推送模板https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-templates-cross-platform-push-messages
决策制定
主题URL
选择和更改 Azure Notification Hubs 定价层https://learn.microsoft.com/en-us/azure/notification-hubs/change-pricing-tier
架构与设计模式
主题URL
使用 Notification Hubs 设计企业级推送架构https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-enterprise-push-notification-architecture
限制与配额
主题URL
在 Notification Hubs 中使用计划通知https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-send-push-notifications-scheduled
安全性
主题URL
Azure Notification Hubs 静态数据加密详情https://learn.microsoft.com/en-us/azure/notification-hubs/encrypt-at-rest
了解 Notification Hubs 中欧盟数据边界的行为https://learn.microsoft.com/en-us/azure/notification-hubs/eu-data-boundary
应用 Notification Hubs 安全模型和访问规则https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-security
规划 Azure Notification Hubs 的 TLS 版本支持https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-tls12
为 Azure Notification Hubs 配置 Private Linkhttps://learn.microsoft.com/en-us/azure/notification-hubs/private-link
配置
主题URL
在 Azure Notification Hubs 中配置 APNS 凭据https://learn.microsoft.com/en-us/azure/notification-hubs/configure-apple-push-notification-service
在 Notification Hubs 中配置 Baidu Cloud Pushhttps://learn.microsoft.com/en-us/azure/notification-hubs/configure-baidu-cloud-push
在 Azure Notification Hubs 中配置 FCM 设置https://learn.microsoft.com/en-us/azure/notification-hubs/configure-google-firebase-cloud-messaging
在 Azure Notification Hubs 中配置 MPNS 设置https://learn.microsoft.com/en-us/azure/notification-hubs/configure-microsoft-push-notification-service
为 Azure Notification Hubs 配置 PNS 设置https://learn.microsoft.com/en-us/azure/notification-hubs/configure-notification-hub-portal-pns-settings
在 Azure Notification Hubs 中配置 WNS 设置https://learn.microsoft.com/en-us/azure/notification-hubs/configure-windows-push-notification-service
使用 Bicep 模板定义 Azure Notification Hubshttps://learn.microsoft.com/en-us/azure/notification-hubs/create-notification-hub-bicep
使用 ARM 模板配置 Azure Notification Hubshttps://learn.microsoft.com/en-us/azure/notification-hubs/create-notification-hub-template
使用 Terraform 预配 Azure Notification Hubshttps://learn.microsoft.com/en-us/azure/notification-hubs/create-notification-hub-terraform
在 Azure Notification Hubs 上配置 FCM v1 凭据https://learn.microsoft.com/en-us/azure/notification-hubs/firebase-migration-update-sdk
配置 Azure Notification Hubs 的监视和警报https://learn.microsoft.com/en-us/azure/notification-hubs/monitor-notification-hubs
Azure Notification Hubs 监视指标和日志参考https://learn.microsoft.com/en-us/azure/notification-hubs/monitor-notification-hubs-reference
使用 PowerShell 自动化 Azure Notification Hubshttps://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-deploy-and-manage-powershell
配置 Azure Notification Hubs 诊断和资源日志https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-diagnostic-logs
在 Notification Hubs 中配置 APNS HTTP/2 令牌身份验证https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-http2-token-authentication
在 Azure Notification Hubs 中处理 iOS 13 推送变更https://learn.microsoft.com/en-us/azure/notification-hubs/push-notification-updates-ios-13
使用 Azure PowerShell 脚本管理 Notification Hubshttps://learn.microsoft.com/en-us/azure/notification-hubs/samples-powershell
集成与编码模式
主题URL
使用 FCM v1 SDK 将 Notification Hubs 集成到 Androidhttps://learn.microsoft.com/en-us/azure/notification-hubs/android-sdk
更新 Notification Hubs 的 FCM v1 REST 集成https://learn.microsoft.com/en-us/azure/notification-hubs/firebase-migration-rest
将 Notification Hubs SDK 集成迁移到 FCM v1https://learn.microsoft.com/en-us/azure/notification-hubs/firebase-migration-sdk
使用 Notification Hubs iOS SDK 3.0.0-preview1 发送推送通知https://learn.microsoft.com/en-us/azure/notification-hubs/ios-sdk-current
通过 APNS 将 iOS 应用连接到 Notification Hubshttps://learn.microsoft.com/en-us/azure/notification-hubs/ios-sdk-get-started
使用 FCM SDK 0.6 将 Notification Hubs 集成到 Androidhttps://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-android-push-notification-google-fcm-get-started
使用 Notification Hubs 向特定用户发送 iOS 通知https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-aspnet-backend-ios-apple-apns-notification
使用 Notification Hubs 向指定用户发送 UWP 通知https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-aspnet-backend-windows-dotnet-wns-notification
使用 Notification Hubs 模板发送跨平台用户通知https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-aspnet-cross-platform-notification
通过 REST 和 SDK 将 Notification Hubs 从 FCM legacy 迁移到 FCM v1https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-gcm-to-fcm
通过 ASP.NET Web API 注册 iOS 用户以接收推送通知https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-ios-aspnet-register-user-from-backend-to-push-notification
使用 Notification Hubs 模板发送本地化 iOS 推送通知https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-ios-xplat-localized-apns-push-notification
使用 Azure Notification Hubs 定向发送到特定 iOS 设备https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-ios-xplat-segmented-apns-push-notification
使用 Azure Notification Hubs Java SDKhttps://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-java-push-notification-tutorial
将 Azure Notification Hubs 与 PHP 集成https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-php-push-notification-tutorial
使用 Notification Hubs 和 Bing Spatial Data 发送基于位置的推送通知https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-bing-spatial-data-geofencing-notification
使用 Python 发送 Azure Notification Hubs 推送通知https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-python-push-notification-tutorial
使用标签向特定设备发送 UWP 通知https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-windows-notification-dotnet-push-xplat-segmented-wns
通过 WNS 将 UWP 应用集成到 Azure Notification Hubshttps://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-windows-store-dotnet-get-started-wns-push-notification
使用 Notification Hubs 模板发送本地化 UWP 通知https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-windows-store-dotnet-xplat-localized-wns-push-notification
使用 Notification Hubs 和 FCM 定向发送到特定 Android 设备https://learn.microsoft.com/en-us/azure/notification-hubs/push-notifications-android-specific-devices-firebase-cloud-messaging
使用 Notification Hubs 向指定用户发送 Android 通知https://learn.microsoft.com/en-us/azure/notification-hubs/push-notifications-android-specific-users-firebase-cloud-messaging
通过 Notification Hubs 发送 APNS VOIP 通知https://learn.microsoft.com/en-us/azure/notification-hubs/voip-apns
部署
主题URL
安全地在区域之间迁移 Azure Notification Hubshttps://learn.microsoft.com/en-us/azure/notification-hubs/move-registrations

评论

支持 Markdown