IotHubDataConnection Class
- java.
lang. Object - com.
microsoft. azure. ProxyResource - com.
microsoft. azure. management. kusto. v2020_09_18.implementation. DataConnectionInner - com.
microsoft. azure. management. kusto. v2020_09_18.IotHubDataConnection
- com.
- com.
- com.
public class IotHubDataConnection
extends com.microsoft.azure.management.kusto.v2020_09_18.implementation.DataConnectionInner
Class representing an iot hub data connection.
Constructor Summary
Constructor | Description | |
---|---|---|
IotHubDataConnection() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
consumerGroup()
Get the iot hub consumer group. |
Iot |
dataFormat()
Get the data format of the message. |
java.util.List<java.lang.String> |
eventSystemProperties()
Get system properties of the iot hub. |
java.lang.String |
iotHubResourceId()
Get the resource ID of the Iot hub to be used to create a data connection. |
java.lang.String |
mappingRuleName()
Get the mapping rule to be used to ingest the data. |
Provisioning |
provisioningState()
Get the provisioned state of the resource. |
java.lang.String |
sharedAccessPolicyName()
Get the name of the share access policy. |
java.lang.String |
tableName()
Get the table where the data should be ingested. |
Iot |
withConsumerGroup(String consumerGroup)
Set the iot hub consumer group. |
Iot |
withDataFormat(IotHubDataFormat dataFormat)
Set the data format of the message. |
Iot |
withEventSystemProperties(List<String> eventSystemProperties)
Set system properties of the iot hub. |
Iot |
withIotHubResourceId(String iotHubResourceId)
Set the resource ID of the Iot hub to be used to create a data connection. |
Iot |
withMappingRuleName(String mappingRuleName)
Set the mapping rule to be used to ingest the data. |
Iot |
withSharedAccessPolicyName(String sharedAccessPolicyName)
Set the name of the share access policy. |
Iot |
withTableName(String tableName)
Set the table where the data should be ingested. |
Methods inherited from com.microsoft.azure.ProxyResource
Methods inherited from com.microsoft.azure.management.kusto.v2020_09_18.implementation.DataConnectionInner
Methods inherited from java.lang.Object
Constructor Details
IotHubDataConnection
public IotHubDataConnection()
Method Details
consumerGroup
public String consumerGroup()
Get the iot hub consumer group.
Returns:
dataFormat
public IotHubDataFormat dataFormat()
Get 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'.
Returns:
eventSystemProperties
public List
Get system properties of the iot hub.
Returns:
iotHubResourceId
public String iotHubResourceId()
Get the resource ID of the Iot hub to be used to create a data connection.
Returns:
mappingRuleName
public String mappingRuleName()
Get the mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'.
Returns:
sharedAccessPolicyName
public String sharedAccessPolicyName()
Get the name of the share access policy.
Returns:
tableName
public String tableName()
Get the table where the data should be ingested. Optionally the table information can be added to each message.
Returns:
withConsumerGroup
public IotHubDataConnection withConsumerGroup(String consumerGroup)
Set the iot hub consumer group.
Parameters:
Returns:
withDataFormat
public IotHubDataConnection withDataFormat(IotHubDataFormat dataFormat)
Set 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'.
Parameters:
Returns:
withEventSystemProperties
public IotHubDataConnection withEventSystemProperties(List
Set system properties of the iot hub.
Parameters:
Returns:
withIotHubResourceId
public IotHubDataConnection withIotHubResourceId(String iotHubResourceId)
Set the resource ID of the Iot hub to be used to create a data connection.
Parameters:
Returns:
withMappingRuleName
public IotHubDataConnection withMappingRuleName(String mappingRuleName)
Set the mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
Parameters:
Returns:
withSharedAccessPolicyName
public IotHubDataConnection withSharedAccessPolicyName(String sharedAccessPolicyName)
Set the name of the share access policy.
Parameters:
Returns:
withTableName
public IotHubDataConnection withTableName(String tableName)
Set the table where the data should be ingested. Optionally the table information can be added to each message.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for