ThingWorx Azure IoT Extension Reference > ThingWorx Azure IoT Thing Templates
ThingWorx Azure IoT Thing Templates
AzureIotHubTemplate Thing Template
The AzureIotHubTemplate Thing Template populates a Thing that represents an Azure IoT Hub with configuration properties, alerts, and services. The Connector uses configuration values provided in the AzureIotHub Thing to connect to the corresponding Azure IoT Hub. This Thing Template implements the AzureHubDataShape, which defines the configuration settings, and the EgressGateway Thing Shape. In addition, to bind the Azure IoT Hub using a routing group, this Thing Template implements the MultiBindRemoteThingShape.
* 
The Azure OPC UA integration version of the Connector provides services on the AzureIotHubTemplate Thing. For information about these services, refer to
Configuration Settings
The following table lists and briefly describes the configuration settings that are provided to the AzureIotHubTemplate Thing by the AzureConfigurationDataShape Data Shape:
Configuration Setting
Description
consumerGroup
The value of this setting is the name of the consumer group to which the hub is assigned.
consumerPolicyConnectionString
The value of this setting is the connection string for the Connector to use when connecting to this Azure IoT Hub. You can find this value by navigating in Azure IoT: <your hub. > Settings > Shared access policies > service > Shared access keys > Connection String Primary key
deviceExportBlobThing
This setting contains the name of the AzureBlobStorageTemplate Thing that you created in ThingWorx.
deviceExportContainerNamePrefix
deviceExportReadBlockSize
The default value of this setting is 10,000.
eventHubEndpoint
You can find the value for this setting by navigating in Azure IoT: <your hub> > Settings > Built-in Endpoints > Event-Hub compatible endpoint.
eventHubName
The name of the Event Hub associated with this Azure IoT Hub in Azure. You can find the value for this setting by navigating in Azure IoT: <your hub> > Settings > Built-in Endpoints > Event-Hub compatible name
eventProcessorHostBlobThing
The name of the AzureBlobStorageTemplate Thing that you created in ThingWorx.
eventProcessorHostContainerName
The name of the container that hosts the event processor checkpointing file. The default value is eph-storage+eventHubName.
fileRepositoryBlobThing
The name of the AzureBlobStorageTemplate Thing that you created in ThingWorx.
hubName
The name you used when creating your Azure IoT Hub.
maxBatchSize
The default value of this setting is 500.
registryPolicyConnectionString
The value from <your hub. > Settings > Shared access policies > registryReadWrite > Shared access keys > Connection String Primary key.
* 
The AzureIotThing Thing Template has a gatewayThing property that references its Azure IoT Hub Thing. The value of the gatewayThing property should match the ThingName of the AzureIotHub Thing.