你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventHubEventSourceResource Class

Definition

An event source that receives its data from an Azure EventHub.

[Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EventHubEventSourceResourceTypeConverter))]
public class EventHubEventSourceResource : Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.IEventHubEventSourceResource, Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515.EventHubEventSourceResourceTypeConverter))>]
type EventHubEventSourceResource = class
    interface IEventHubEventSourceResource
    interface IJsonSerializable
    interface IEventSourceResource
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class EventHubEventSourceResource
Implements IEventHubEventSourceResource, IValidates
Inheritance
EventHubEventSourceResource
Attributes
Implements

Constructors

EventHubEventSourceResource()

Creates an new EventHubEventSourceResource 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.

Id

Resource Id

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.

Kind

The kind of the event source.

Location

Resource location

Name

Resource name

ProvisioningState

Provisioning state of the resource.

ServiceBusNamespace

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

Tag

Resource tags

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.

Type

Resource type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventHubEventSourceResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventHubEventSourceResource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventHubEventSourceResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to