Share via


EventHubEventSourceCreationProperties Class

Definition

Properties of the EventHub event source that are required on create or update requests.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EventHubEventSourceCreationPropertiesTypeConverter))]
public class EventHubEventSourceCreationProperties : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEventHubEventSourceCreationProperties, Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EventHubEventSourceCreationPropertiesTypeConverter))>]
type EventHubEventSourceCreationProperties = class
    interface IEventHubEventSourceCreationProperties
    interface IJsonSerializable
    interface IEventHubEventSourceCommonProperties
    interface IAzureEventSourceProperties
    interface IEventSourceCommonProperties
    interface IResourceProperties
    interface IValidates
Public Class EventHubEventSourceCreationProperties
Implements IEventHubEventSourceCreationProperties, IValidates
Inheritance
EventHubEventSourceCreationProperties
Attributes
Implements

Constructors

EventHubEventSourceCreationProperties()

Creates an new EventHubEventSourceCreationProperties instance.

Properties

ConsumerGroupName

The name of the event hub's consumer group that holds the partitions from which events will be read.

CreationTime

The time the resource was created.

EventHubName

The name of the event hub.

EventSourceResourceId

The resource id of the event source in Azure Resource Manager.

KeyName

The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub.

ProvisioningState

Provisioning state of the resource.

ServiceBusNamespace

The name of the service bus that contains the event hub.

SharedAccessKey

The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses.

TimestampPropertyName

The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventHubEventSourceCreationProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventHubEventSourceCreationProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEventHubEventSourceCreationProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventHubEventSourceCreationProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to