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

IEventHubDataSource Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.EventHubDataSourceTypeConverter))]
public interface IEventHubDataSource : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.EventHubDataSourceTypeConverter))>]
type IEventHubDataSource = interface
    interface IJsonSerializable
Public Interface IEventHubDataSource
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

ConsumerGroup

Event Hub consumer group name

Name

A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

Stream

The stream to collect from EventHub

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to