Share via


IotHubDataConnection Class

Definition

Class representing an iot hub data connection.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.IotHubDataConnectionTypeConverter))]
public class IotHubDataConnection : Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.IIotHubDataConnection, Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.IotHubDataConnectionTypeConverter))>]
type IotHubDataConnection = class
    interface IIotHubDataConnection
    interface IJsonSerializable
    interface IDataConnection
    interface IResource
    interface IValidates
Public Class IotHubDataConnection
Implements IIotHubDataConnection, IValidates
Inheritance
IotHubDataConnection
Attributes
Implements

Constructors

IotHubDataConnection()

Creates an new IotHubDataConnection instance.

Properties

ConsumerGroup

The iot hub consumer group.

DatabaseRouting

Indication for database routing information from the data connection, by default only database routing information is allowed

DataFormat

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

EventSystemProperty

System properties of the iot hub

Id

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

IotHubResourceId

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

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.

RetrievalStartDate

When defined, the data connection retrieves existing Event hub events created since the Retrieval start date. It can only retrieve events retained by the Event hub, based on its retention period.

SharedAccessPolicyName

The name of the share access policy

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 IotHubDataConnection.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of IotHubDataConnection.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api20230815.IIotHubDataConnection.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of IotHubDataConnection into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to