Partilhar via


EventHubDataConnection Class

Definition

Class representing an event hub data connection.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Synapse.Models.Api20210601Preview.EventHubDataConnectionTypeConverter))]
public class EventHubDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Synapse.Models.Api20210601Preview.IEventHubDataConnection, Microsoft.Azure.PowerShell.Cmdlets.Synapse.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Synapse.Models.Api20210601Preview.EventHubDataConnectionTypeConverter))>]
type EventHubDataConnection = class
    interface IEventHubDataConnection
    interface IJsonSerializable
    interface IDataConnection
    interface IResource
    interface IValidates
Public Class EventHubDataConnection
Implements IEventHubDataConnection, IValidates
Inheritance
EventHubDataConnection
Attributes
Implements

Constructors

EventHubDataConnection()

Creates an new EventHubDataConnection instance.

Properties

Compression

The event hub messages compression type

ConsumerGroup

The event hub consumer group.

DataFormat

The data format of the message. Optionally the data format can be added to each message.

EventHubResourceId

The resource ID of the event hub to be used to create a data connection.

EventSystemProperty

System properties of the event hub

Id

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

Kind

Kind of the endpoint for the data connection

Location

Resource location.

MappingRuleName

The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.

Name

The name of the resource

ProvisioningState

The provisioned state of the resource.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

TableName

The table where the data should be ingested. Optionally the table information can be added to each message.

Type

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EventHubDataConnection.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EventHubDataConnection.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Synapse.Models.Api20210601Preview.IEventHubDataConnection.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of EventHubDataConnection into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to