共用方式為


IoTHubStreamInputDataSource Class

Definition

Describes an IoT Hub input data source that contains stream data.

[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("Microsoft.Devices/IotHubs")]
public class IoTHubStreamInputDataSource : Microsoft.Azure.Management.StreamAnalytics.Models.StreamInputDataSource
[<Microsoft.Rest.Serialization.JsonTransformation>]
[<Newtonsoft.Json.JsonObject("Microsoft.Devices/IotHubs")>]
type IoTHubStreamInputDataSource = class
    inherit StreamInputDataSource
Public Class IoTHubStreamInputDataSource
Inherits StreamInputDataSource
Inheritance
IoTHubStreamInputDataSource
Attributes
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute

Constructors

IoTHubStreamInputDataSource()

Initializes a new instance of the IoTHubStreamInputDataSource class.

IoTHubStreamInputDataSource(String, String, String, String, String)

Initializes a new instance of the IoTHubStreamInputDataSource class.

Properties

ConsumerGroupName

Gets or sets the name of an IoT Hub Consumer Group that should be used to read events from the IoT Hub. If not specified, the input uses the Iot Hub’s default consumer group.

Endpoint

Gets or sets the IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.).

IotHubNamespace

Gets or sets the name or the URI of the IoT Hub. Required on PUT (CreateOrReplace) requests.

SharedAccessPolicyKey

Gets or sets the shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests.

SharedAccessPolicyName

Gets or sets the shared access policy name for the IoT Hub. This policy must contain at least the Service connect permission. Required on PUT (CreateOrReplace) requests.

Applies to