Share via


EventHubDataSourceProperties Class

Definition

The common properties that are associated with Event Hub data sources.

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

Constructors

EventHubDataSourceProperties()

Creates an new EventHubDataSourceProperties instance.

Properties

AuthenticationMode

Authentication Mode.

EventHubName

The name of the Event Hub. Required on PUT (CreateOrReplace) requests.

ServiceBusNamespace

The namespace that is associated with the desired Event Hub, Service Bus Queue, Service Bus Topic, etc. 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 Event Hub, Service Bus Queue, Service Bus Topic, etc. Required on PUT (CreateOrReplace) requests.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventHubDataSourceProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventHubDataSourceProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventHubDataSourceProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to