IoTHubStreamInputDataSource interface
描述包含流数据的 IoT 中心输入数据源。
属性
| consumer |
应用于从 IoT 中心读取事件的 IoT 中心使用者组的名称。 如果未指定,则输入使用 Iot 中心的默认使用者组。 |
| endpoint | 要连接到的 IoT 中心终结点(例如消息/事件、消息/operationsMonitoringEvents 等)。 |
| iot |
IoT 中心的名称或 URI。 PUT (CreateOrReplace) 请求时是必需的。 |
| shared |
指定共享访问策略的共享访问策略密钥。 PUT (CreateOrReplace) 请求时是必需的。 |
| shared |
IoT 中心的共享访问策略名称。 此策略必须至少包含服务连接权限。 PUT (CreateOrReplace) 请求时是必需的。 |
| type | 多态鉴别器,它指定此对象可以的不同类型的 |
属性详细信息
consumerGroupName
应用于从 IoT 中心读取事件的 IoT 中心使用者组的名称。 如果未指定,则输入使用 Iot 中心的默认使用者组。
consumerGroupName?: string
属性值
string
endpoint
要连接到的 IoT 中心终结点(例如消息/事件、消息/operationsMonitoringEvents 等)。
endpoint?: string
属性值
string
iotHubNamespace
IoT 中心的名称或 URI。 PUT (CreateOrReplace) 请求时是必需的。
iotHubNamespace?: string
属性值
string
sharedAccessPolicyKey
指定共享访问策略的共享访问策略密钥。 PUT (CreateOrReplace) 请求时是必需的。
sharedAccessPolicyKey?: string
属性值
string
sharedAccessPolicyName
IoT 中心的共享访问策略名称。 此策略必须至少包含服务连接权限。 PUT (CreateOrReplace) 请求时是必需的。
sharedAccessPolicyName?: string
属性值
string
type
多态鉴别器,它指定此对象可以的不同类型的
type: "Microsoft.Devices/IotHubs"
属性值
"Microsoft.Devices/IotHubs"