共用方式為


ArmSynapseModelFactory.SynapseEventHubDataConnection Method

Definition

Initializes a new instance of SynapseEventHubDataConnection.

public static Azure.ResourceManager.Synapse.Models.SynapseEventHubDataConnection SynapseEventHubDataConnection (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, Azure.Core.ResourceIdentifier eventHubResourceId = default, string consumerGroup = default, string tableName = default, string mappingRuleName = default, Azure.ResourceManager.Synapse.Models.SynapseEventHubDataFormat? dataFormat = default, System.Collections.Generic.IEnumerable<string> eventSystemProperties = default, Azure.ResourceManager.Synapse.Models.KustoPoolCompressionType? compression = default, Azure.ResourceManager.Synapse.Models.ResourceProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier managedIdentityResourceId = default);
static member SynapseEventHubDataConnection : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * Azure.Core.ResourceIdentifier * string * string * string * Nullable<Azure.ResourceManager.Synapse.Models.SynapseEventHubDataFormat> * seq<string> * Nullable<Azure.ResourceManager.Synapse.Models.KustoPoolCompressionType> * Nullable<Azure.ResourceManager.Synapse.Models.ResourceProvisioningState> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Synapse.Models.SynapseEventHubDataConnection
Public Shared Function SynapseEventHubDataConnection (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional eventHubResourceId As ResourceIdentifier = Nothing, Optional consumerGroup As String = Nothing, Optional tableName As String = Nothing, Optional mappingRuleName As String = Nothing, Optional dataFormat As Nullable(Of SynapseEventHubDataFormat) = Nothing, Optional eventSystemProperties As IEnumerable(Of String) = Nothing, Optional compression As Nullable(Of KustoPoolCompressionType) = Nothing, Optional provisioningState As Nullable(Of ResourceProvisioningState) = Nothing, Optional managedIdentityResourceId As ResourceIdentifier = Nothing) As SynapseEventHubDataConnection

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

Resource location.

eventHubResourceId
ResourceIdentifier

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

consumerGroup
String

The event hub consumer group.

tableName
String

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

mappingRuleName
String

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

dataFormat
Nullable<SynapseEventHubDataFormat>

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

eventSystemProperties
IEnumerable<String>

System properties of the event hub.

compression
Nullable<KustoPoolCompressionType>

The event hub messages compression type.

provisioningState
Nullable<ResourceProvisioningState>

The provisioned state of the resource.

managedIdentityResourceId
ResourceIdentifier

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

Returns

A new SynapseEventHubDataConnection instance for mocking.

Applies to