IoT中心URI [英] IoT Hub URI

查看:124
本文介绍了IoT中心URI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是IOT Hub的URI?

What is IOT Hub's URI?

是连接字符串吗?

推荐答案

Hello Karthik,

Hello Karthik,

这取决于您要访问什么资源或要执行什么操作.

It depends what resource you are going to access or what operation do you want to do.

例如,如果要使用REST发送设备事件. POST请求URI为

For example, if you want to send device event using REST. The POST request URI is 

https://fully-qualified-iothubname.azure-devices.net/devices/{id}/messages/events?api-version=2018-06-30


Azure IoT中心连接字符串具有以下格式:

Azure IoT Hub connection string has the following format:

HostName=<Host Name>;SharedAccessKeyName=<Key Name>;SharedAccessKey=<SAS Key>

它可以给您一些访问Azure IOT Hub的权限.引用访问控制和权限".

It can give you some permission to access azure iot hub. Ref "Access control and permissions".

请告诉我是否有帮助.如果您有任何疑问,请随时告诉我.

Please let me know if it helps. If you have any concern feel free let me know.

最诚挚的问候,

丽塔


这篇关于IoT中心URI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆