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.DataConnectionIotHubDataConnection
Constructor
IotHubDataConnection(*, location: Optional[str] = None, iot_hub_resource_id: Optional[str] = None, consumer_group: Optional[str] = None, table_name: Optional[str] = None, mapping_rule_name: Optional[str] = None, data_format: Optional[Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.IotHubDataFormat]] = None, event_system_properties: Optional[List[str]] = None, shared_access_policy_name: Optional[str] = None, database_routing: Optional[Union[str, azure.mgmt.kusto.models._kusto_management_client_enums.DatabaseRouting]] = None, **kwargs)
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".
- location
- str
Resource location.
- kind
- str or <xref:kusto_management_client.models.DataConnectionKind>
Required. Kind of the endpoint for the data connection.Constant filled by server. Possible values include: "EventHub", "EventGrid", "IotHub".
- iot_hub_resource_id
- str
The resource ID of the Iot hub to be used to create a data connection.
- consumer_group
- str
The iot hub consumer group.
- table_name
- str
The table where the data should be ingested. Optionally the table information can be added to each message.
- mapping_rule_name
- str
The mapping rule to be used to ingest the data. Optionally the mapping information can be added to each message.
- data_format
- str or <xref:kusto_management_client.models.IotHubDataFormat>
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".
- shared_access_policy_name
- str
The name of the share access policy.
- database_routing
- str or <xref:kusto_management_client.models.DatabaseRouting>
Indication for database routing information from the data connection, by default only database routing information is allowed. Possible values include: "Single", "Multi".
- provisioning_state
- str or <xref:kusto_management_client.models.ProvisioningState>
The provisioned state of the resource. Possible values include: "Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving".
Feedback
Submit and view feedback for