Share via


IoTHubStreamInputDataSource Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.IoTHubStreamInputDataSourceTypeConverter))]
public class IoTHubStreamInputDataSource : Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.IIoTHubStreamInputDataSource, Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.IoTHubStreamInputDataSourceTypeConverter))>]
type IoTHubStreamInputDataSource = class
    interface IIoTHubStreamInputDataSource
    interface IJsonSerializable
    interface IStreamInputDataSource
    interface IValidates
Public Class IoTHubStreamInputDataSource
Implements IIoTHubStreamInputDataSource, IValidates
Inheritance
IoTHubStreamInputDataSource
Attributes
Implements

Constructors

IoTHubStreamInputDataSource()

Creates an new IoTHubStreamInputDataSource instance.

Properties

ConsumerGroupName

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

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

IotHubNamespace

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

SharedAccessPolicyKey

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

SharedAccessPolicyName

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

Type

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of IoTHubStreamInputDataSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of IoTHubStreamInputDataSource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.IIoTHubStreamInputDataSource.

FromJsonString(String)

Creates a new instance of IoTHubStreamInputDataSource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of IoTHubStreamInputDataSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to