IotHubDataConnection Class

Class representing an iot hub data connection.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.kusto.models._models_py3.DataConnection
IotHubDataConnection

Constructor

IotHubDataConnection(*, location: typing.Union[str, NoneType] = None, iot_hub_resource_id: typing.Union[str, NoneType] = None, consumer_group: typing.Union[str, NoneType] = None, table_name: typing.Union[str, NoneType] = None, mapping_rule_name: typing.Union[str, NoneType] = None, data_format: typing.Union[str, _ForwardRef('IotHubDataFormat'), NoneType] = None, event_system_properties: typing.Union[typing.List[str], NoneType] = None, shared_access_policy_name: typing.Union[str, NoneType] = None, **kwargs)

Parameters

location
str
Required

Resource location.

kind
str or DataConnectionKind
Required

Required. Kind of the endpoint for the data connection.Constant filled by server. Possible values include: "EventHub", "EventGrid", "IotHub".

iot_hub_resource_id
str
Required

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

consumer_group
str
Required

The iot hub consumer group.

table_name
str
Required

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

mapping_rule_name
str
Required

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

data_format
str or IotHubDataFormat
Required

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

event_system_properties
list[str]
Required

System properties of the iot hub.

shared_access_policy_name
str
Required

The name of the share access policy.

Variables

id
str

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

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

provisioning_state
str or ProvisioningState

The provisioned state of the resource. Possible values include: "Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving".