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

EventHubDataConnection 类

定义

表示事件中心数据连接的类。

[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("EventHub")]
public class EventHubDataConnection : Microsoft.Azure.Management.Kusto.Models.DataConnection
[<Microsoft.Rest.Serialization.JsonTransformation>]
[<Newtonsoft.Json.JsonObject("EventHub")>]
type EventHubDataConnection = class
    inherit DataConnection
Public Class EventHubDataConnection
Inherits DataConnection
继承
EventHubDataConnection
属性
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute

构造函数

EventHubDataConnection()

初始化 EventHubDataConnection 类的新实例。

EventHubDataConnection(String, String, String, String, String, String, String, String, String, IList<String>, String, String, String, String, String)

初始化 EventHubDataConnection 类的新实例。

属性

Compression

获取或设置事件中心消息压缩类型。 可能的值包括:“None”、“GZip”

ConsumerGroup

获取或设置事件中心使用者组。

DatabaseRouting

获取或设置来自数据连接的数据库路由信息的指示,默认情况下仅允许数据库路由信息。 可能的值包括:“Single”、“Multi”

DataFormat

获取或设置消息的数据格式。 (可选)可将数据格式添加到每条消息。 可能的值包括:“MULTIJSON”、“JSON”、“CSV”、“TSV”、“SCSV”、“SOHSV”、“PSV”、“TXT”、“RAW”、“SINGLEJSON”、“AVRO”、“TSVE”、“PARQUET”、“ORC”、“APACHEAVRO”、“W3CLOGFILE”

EventHubResourceId

获取或设置要用于创建数据连接的事件中心的资源 ID。

EventSystemProperties

获取或设置事件中心的系统属性

Id

获取资源的完全限定资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(继承自 Resource)
Location

获取或设置资源位置。

(继承自 DataConnection)
ManagedIdentityObjectId

获取 managedIdentityResourceId 的对象 ID

ManagedIdentityResourceId

获取或设置托管标识的资源 ID, (系统或用户分配) 用于对事件中心进行身份验证。

MappingRuleName

获取或设置用于引入数据的映射规则。 (可选)可以将映射信息添加到每条消息。

Name

获取资源的名称

(继承自 Resource)
ProvisioningState

获取资源的预配状态。 可能的值包括:“Running”、“Create”、“Deleting”、“Succeeded”、“Failed”、“Moving”

TableName

获取或设置应在其中引入数据的表。 (可选)表信息可以添加到每条消息中。

Type

获取资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

(继承自 Resource)

方法

Validate()

验证 对象。

适用于