IoTHubStreamInputDataSource Class

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

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.streamanalytics.models._models_py3.StreamInputDataSource
IoTHubStreamInputDataSource

Constructor

IoTHubStreamInputDataSource(*, iot_hub_namespace: Optional[str] = None, shared_access_policy_name: Optional[str] = None, shared_access_policy_key: Optional[str] = None, consumer_group_name: Optional[str] = None, endpoint: Optional[str] = None, **kwargs)

Parameters

type
str
Required

Required. Indicates the type of input data source containing stream data. Required on PUT (CreateOrReplace) requests.Constant filled by server.

iot_hub_namespace
str
Required

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

shared_access_policy_name
str
Required

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

shared_access_policy_key
str
Required

The shared access policy key for the specified shared access policy. Required on PUT (CreateOrReplace) requests.

consumer_group_name
str
Required

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
str
Required

The IoT Hub endpoint to connect to (ie. messages/events, messages/operationsMonitoringEvents, etc.).