共用方式為


ArmSynapseModelFactory.SynapseIotHubDataConnection Method

Definition

Initializes a new instance of SynapseIotHubDataConnection.

public static Azure.ResourceManager.Synapse.Models.SynapseIotHubDataConnection SynapseIotHubDataConnection (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 iotHubResourceId = default, string consumerGroup = default, string tableName = default, string mappingRuleName = default, Azure.ResourceManager.Synapse.Models.SynapseIotHubDataFormat? dataFormat = default, System.Collections.Generic.IEnumerable<string> eventSystemProperties = default, string sharedAccessPolicyName = default, Azure.ResourceManager.Synapse.Models.ResourceProvisioningState? provisioningState = default);
static member SynapseIotHubDataConnection : 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.SynapseIotHubDataFormat> * seq<string> * string * Nullable<Azure.ResourceManager.Synapse.Models.ResourceProvisioningState> -> Azure.ResourceManager.Synapse.Models.SynapseIotHubDataConnection
Public Shared Function SynapseIotHubDataConnection (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 iotHubResourceId As ResourceIdentifier = Nothing, Optional consumerGroup As String = Nothing, Optional tableName As String = Nothing, Optional mappingRuleName As String = Nothing, Optional dataFormat As Nullable(Of SynapseIotHubDataFormat) = Nothing, Optional eventSystemProperties As IEnumerable(Of String) = Nothing, Optional sharedAccessPolicyName As String = Nothing, Optional provisioningState As Nullable(Of ResourceProvisioningState) = Nothing) As SynapseIotHubDataConnection

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

Resource location.

iotHubResourceId
ResourceIdentifier

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

consumerGroup
String

The iot 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<SynapseIotHubDataFormat>

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

eventSystemProperties
IEnumerable<String>

System properties of the iot hub.

sharedAccessPolicyName
String

The name of the share access policy.

provisioningState
Nullable<ResourceProvisioningState>

The provisioned state of the resource.

Returns

A new SynapseIotHubDataConnection instance for mocking.

Applies to