az iot ops ns device endpoint inbound
Note
此参考是 Azure CLI(版本 2.67.0 或更高版本)的 azure-iot-ops 扩展的一部分。 该扩展将在首次运行 az iot ops ns device endpoint inbound 命令时自动安装。 了解更多关于扩展的信息。
命令组“iot ops ns”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
管理设备注册表命名空间中的设备的入站终结点。
入站终结点定义从设备到 IoT Ops 平台的信道。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az iot ops ns device endpoint inbound add |
将入站终结点添加到设备注册表命名空间中的设备。 |
Extension | Preview |
| az iot ops ns device endpoint inbound add custom |
将自定义入站终结点添加到设备注册表命名空间中的设备。 |
Extension | Preview |
| az iot ops ns device endpoint inbound add media |
将媒体入站终结点添加到设备注册表命名空间中的设备。 |
Extension | Preview |
| az iot ops ns device endpoint inbound add mqtt |
将 MQTT 入站终结点添加到设备注册表命名空间中的设备。 |
Extension | Preview |
| az iot ops ns device endpoint inbound add onvif |
将 ONVIF 入站终结点添加到设备注册表命名空间中的设备。 |
Extension | Preview |
| az iot ops ns device endpoint inbound add opcua |
将 OPC UA 入站终结点添加到设备注册表命名空间中的设备。 |
Extension | Preview |
| az iot ops ns device endpoint inbound add rest |
将 Rest 入站终结点添加到设备注册表命名空间中的设备。 |
Extension | Preview |
| az iot ops ns device endpoint inbound add sse |
将 SSE 入站终结点添加到设备注册表命名空间中的设备。 |
Extension | Preview |
| az iot ops ns device endpoint inbound list |
列出设备注册表命名空间中的设备的入站终结点。 |
Extension | Preview |
| az iot ops ns device endpoint inbound remove |
从设备注册表命名空间中的设备中删除入站终结点。 |
Extension | Preview |
az iot ops ns device endpoint inbound list
命令组“iot ops ns”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
列出设备注册表命名空间中的设备的入站终结点。
az iot ops ns device endpoint inbound list --device
--instance
--resource-group
[--endpoint-type --et]
示例
列出设备的所有入站终结点
az iot ops ns device endpoint inbound list --device mydevice --instance myInstance -g myInstanceResourceGroup
使用关键字列出设备的所有媒体终结点
az iot ops ns device endpoint inbound list --device mydevice --instance myInstance -g myInstanceResourceGroup --endpoint-type media
使用完整终结点类型列出设备的所有媒体终结点
az iot ops ns device endpoint inbound list --device mydevice --instance myInstance -g myInstanceResourceGroup --endpoint-type Microsoft.Media
必需参数
设备名称。
Azure IoT作实例的名称。
Azure IoT作实例的资源组。
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
按类型筛选入站终结点。 支持完整终结点名称和 Microsoft.OpcUa 短名称 opcua 。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az iot ops ns device endpoint inbound remove
命令组“iot ops ns”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
从设备注册表命名空间中的设备中删除入站终结点。
az iot ops ns device endpoint inbound remove --device
--endpoint
--instance
--resource-group
[--yes {false, true}]
示例
从设备中删除单个入站终结点
az iot ops ns device endpoint inbound remove --device mydevice --instance myInstance -g myInstanceResourceGroup --endpoint myEndpoint
从设备中删除多个入站终结点
az iot ops ns device endpoint inbound remove --device mydevice --instance myInstance -g myInstanceResourceGroup --endpoint myEndpoint1 myEndpoint2
必需参数
设备名称。
要从设备中删除的终结点名称的空间分隔列表。
Azure IoT作实例的名称。
Azure IoT作实例的资源组。
可选参数
以下参数是可选的,但根据上下文,命令可能需要一个或多个参数才能成功执行。
在没有提示的情况下确认 [y]es。 适用于 CI 和自动化方案。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
只显示错误,取消显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |