Azure Stack 集线器上的 IoT 中心概述Overview of IoT Hub on Azure Stack Hub
重要
Azure Stack 集线器上的 IoT 中心目前处于预览阶段,在预览期间免费提供。IoT Hub on Azure Stack Hub is currently in preview, and is provided free during the preview period.
通过 Azure Stack 集线器上的 IoT 中心,你可以创建混合 IoT 解决方案。IoT Hub on Azure Stack Hub allows you to create hybrid IoT solutions. IoT 中心是一种托管服务,充当用于 IoT 应用程序与它所管理的设备之间的双向通信的中心消息中心。IoT Hub is a managed service, acts as a central message hub for bi-directional communication between your IoT application and the devices it manages. 你可以使用 Azure Stack 集线器上的 IoT 中心来构建 IoT 解决方案,在 IoT 设备与本地解决方案后端之间提供可靠且安全的通信。You can use IoT Hub on Azure Stack Hub to build IoT solutions with reliable and secure communications between IoT devices and a on-prem solution backend.
功能Features
功能Feature | Azure 上的 IoT 中心IoT Hub on Azure | Azure Stack 中心预览版上的 IoT 中心 (S2/S3) IoT Hub on Azure Stack Hub preview (S2/S3) |
---|---|---|
设备到云的遥测Device-to-cloud telemetry | ✔✔ | ✔✔ |
云到设备的消息传送Cloud-to-device messaging | ✔✔ | ✔✔ |
每设备标识Per-device identity | ✔✔ | ✔✔ |
消息路由 1,4Message routing 1, 4 | ✔✔ | ✔✔ |
HTTP、AMQP、MQTT 协议HTTP, AMQP, MQTT protocols | ✔✔ | ✔✔ |
多租户Multi-tenancy | ✔✔ | ✔✔ |
监视和诊断Monitoring and diagnostics | ✔✔ | ✔✔ |
云到设备的消息传送Cloud-to-device messaging | ✔✔ | ✔✔ |
设备管理、设备克隆、模块克隆Device management, device twin, module twin | ✔✔ | ✔✔ |
克隆通知,设备生命周期事件Twin notifications, device life cycle events | ✔✔ | ✔✔ |
边缘分层部署Edge layered deployment | ✔✔ | 共同coming |
管理员门户 2Administrator portal 2 | ✘✘ | ✔✔ |
机密旋转 2Secret rotation 2 | ✘✘ | ✔✔ |
容量管理 2Capacity management 2 | ✘✘ | ✔✔ |
备份 & 还原 3Backup & restore 3 | ✘✘ | ✘✘ |
DeviceConnected,DeviceDisconnected,ASC 4DeviceConnected, DeviceDisconnected, ASC 4 | ✔✔ | ✘✘ |
设备模块配置Device module configuration | ✔✔ | 共同coming |
设备流式处理、IoT 即插即用、作业、文件上传 5Device streaming, IoT plug and play, jobs, file upload 5 | ✔✔ | ✘✘ |
使用事件网格4监视设备连接状态Monitor device connection state using Event Grid 4 | ✔✔ | ✘✘ |
故障转移 6Failover 6 | ✔✔ | ✘✘ |
1 限制为内置终结点、事件中心和存储。1 Limited to built-in endpoints, Event Hubs and Storage. Service Bus 在 Azure Stack 集线器上不可用。Service Bus is not available on Azure Stack Hub.
2 适用于操作员在 ASH 上管理 IoT 中心。2 For operators to manage IoT Hub on ASH.
3 备份在预览版中可用。3 Backup is available in preview release. GA 将支持还原。Restore will be supported in GA.
4 依赖于 Azure Stack 集线器上不提供的其他服务。4 Depends on other services that are not available on Azure Stack Hub.
5 在路线图中引入 Azure Stack 中心。5 In the roadmap to bring to Azure Stack Hub.
6 在 Azure Stack 集线器上不适用。6 Not applicable on Azure Stack Hub.
API 可用于 Azure Stack 集线器上的 IoT 中心API available for IoT Hub on Azure Stack Hub
APIAPIs | Azure Stack 集线器上的 IoT 中心IoT Hub on Azure Stack Hub |
---|---|
在设备上应用配置Apply Configuration On Device | ✔✔ |
配置创建Configuration Create | ✔✔ |
配置删除Configuration Delete | ✔✔ |
配置读取Configuration Read | ✔✔ |
配置读取多个Configuration Read Many | ✔✔ |
配置服务应用Configuration Service Apply | ✔✔ |
配置更新Configuration Update | ✔✔ |
设备直接调用方法Device Direct Invoke Method | ✔✔ |
GetDeviceAndModuleInScopeGetDeviceAndModuleInScope | ✔✔ |
GetDevicesAndModulesInScopeGetDevicesAndModulesInScope | ✔✔ |
注销设备Unregister Device | ✔✔ |
获取设备Get Devices | ✔✔ |
更新模块克隆Update Module Twin | ✔✔ |
D2C 获取克隆D2C Get Twin | ✔✔ |
导入设备Import Devices | ✔✔ |
获取克隆Get Twin | ✔✔ |
取消注册模块Unregister Module | ✔✔ |
更新设备Update Device | ✔✔ |
更新模块Update Module | ✔✔ |
查询设备Query Devices | ✔✔ |
导出设备Export Devices | ✔✔ |
备份和还原– ADMBack up and Restore – ADM | ✔✔ |
替换克隆Replace Twin | ✔✔ |
备份和还原– DSSBack up and Restore – DSS | ✔✔ |
D2C 通知 DesiredPropertiesD2C Notify DesiredProperties | ✔✔ |
D2C 修补程序 ReportedPropertiesD2C Patch ReportedProperties | ✔✔ |
获取模块克隆Get Module Twin | ✔✔ |
模块 D2C 获取克隆Module D2C Get Twin | ✔✔ |
获取模块Get Module | ✔✔ |
模块 D2C 通知 DesiredPropertiesModule D2C Notify DesiredProperties | ✔✔ |
模块 D2C 修补 ReportedPropertiesModule D2C Patch ReportedProperties | ✔✔ |
Module Direct Invoke 方法Module Direct Invoke Method | ✔✔ |
更新克隆Update Twin | ✔✔ |
大容量设备操作Bulk Device Operations | ✔✔ |
设备到云的遥测Device to Cloud Telemetry | ✔✔ |
注册设备Register Device | ✔✔ |
注册模块Register Module | ✔✔ |
替换模块克隆Replace Module Twin | ✔✔ |
GenericAuthenticationGenericAuthentication | ✔✔ |
获取设备Get Device | ✔✔ |
分区移动/角色更改Partition Move/Role Change | ✔✔ |
Azure Stack 上的 Azure 云和 IoT 中心上的 IoT 中心之间的差异Differences between IoT Hub on Azure Cloud and IoT Hub on Azure Stack
方面Aspect | 云上的 IoT 中心IoT Hub on Cloud | 堆栈上的 IoT 中心IoT Hub on Stack |
---|---|---|
消息消耗Message Consumption | https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messages-read-builtin | 默认情况下,消息将路由到与事件中心兼容的内置面向服务的终结点 (messages/events) 中。By default, messages are routed to the built-in service-facing endpoint (messages/events) that is compatible with Event Hubs. 在 Azure 云上,你可以通过提供 IoT 中心连接字符串或事件中心连接字符串从终结点访问消息。On Azure cloud, you can access the messages from the end point by providing either IoT Hub connection string or Event Hub connection string. 但是,在 Azure Stack 集线器上,只支持事件中心连接字符串。However, on Azure Stack hub, only event hub connection string is supported. |
后续步骤Next Steps
如果 IoT 中心在订阅中不可用,请与管理员联系,以 在 Azure Stack 中心资源提供程序上安装 Iot 中心。If IoT Hub isn't available in your subscription, work with your administrator to install the IoT Hub on Azure Stack Hub resource provider.
若要了解如何使用 IoT 中心,请参阅 Azure Iot 中心文档。To learn how to use IoT Hub, refer to the Azure IoT Hub documentation.