共用方式為


EventHubDataConnection Class

Definition

Class representing an event hub data connection.

[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
Inheritance
EventHubDataConnection
Attributes
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute

Constructors

EventHubDataConnection()

Initializes a new instance of the EventHubDataConnection class.

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

Initializes a new instance of the EventHubDataConnection class.

Properties

Compression

Gets or sets the event hub messages compression type. Possible values include: 'None', 'GZip'

ConsumerGroup

Gets or sets the event hub consumer group.

DatabaseRouting

Gets or sets indication for database routing information from the data connection, by default only database routing information is allowed. Possible values include: 'Single', 'Multi'

DataFormat

Gets or sets the data format of the message. Optionally the data format can be added to each message. Possible values include: 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT', 'RAW', 'SINGLEJSON', 'AVRO', 'TSVE', 'PARQUET', 'ORC', 'APACHEAVRO', 'W3CLOGFILE'

EventHubResourceId

Gets or sets the resource ID of the event hub to be used to create a data connection.

EventSystemProperties

Gets or sets system properties of the event hub

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
Location

Gets or sets resource location.

(Inherited from DataConnection)
ManagedIdentityObjectId

Gets the object ID of the managedIdentityResourceId

ManagedIdentityResourceId

Gets or sets the resource ID of a managed identity (system or user assigned) to be used to authenticate with event hub.

MappingRuleName

Gets or sets the mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.

Name

Gets the name of the resource

(Inherited from Resource)
ProvisioningState

Gets the provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'

TableName

Gets or sets the table where the data should be ingested. Optionally the table information can be added to each message.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to