Udostępnij za pośrednictwem


IotHubDataConnection Class

Definition

Class representing an iot hub data connection.

[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("IotHub")]
public class IotHubDataConnection : Microsoft.Azure.Management.Kusto.Models.DataConnection
[<Microsoft.Rest.Serialization.JsonTransformation>]
[<Newtonsoft.Json.JsonObject("IotHub")>]
type IotHubDataConnection = class
    inherit DataConnection
Public Class IotHubDataConnection
Inherits DataConnection
Inheritance
Attributes
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute

Constructors

IotHubDataConnection()

Initializes a new instance of the IotHubDataConnection class.

IotHubDataConnection(String, String, String, String, String, String, String, String, String, String, IList<String>, String, String)

Initializes a new instance of the IotHubDataConnection class.

Properties

ConsumerGroup

Gets or sets the iot 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'

EventSystemProperties

Gets or sets system properties of the iot hub

Id

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

(Inherited from Resource)
IotHubResourceId

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

Location

Gets or sets resource location.

(Inherited from DataConnection)
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'

SharedAccessPolicyName

Gets or sets the name of the share access policy

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