We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages an Azure IoT Time Series Insights IoTHub Event Source.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleIoTHub = new Azure.Iot.IoTHub("exampleIoTHub", new Azure.Iot.IoTHubArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
Sku = new Azure.Iot.Inputs.IoTHubSkuArgs
{
Name = "B1",
Capacity = 1,
},
});
var exampleConsumerGroup = new Azure.Iot.ConsumerGroup("exampleConsumerGroup", new Azure.Iot.ConsumerGroupArgs
{
IothubName = exampleIoTHub.Name,
EventhubEndpointName = "events",
ResourceGroupName = exampleResourceGroup.Name,
});
var storage = new Azure.Storage.Account("storage", new Azure.Storage.AccountArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
AccountTier = "Standard",
AccountReplicationType = "LRS",
});
var exampleTimeSeriesInsightsGen2Environment = new Azure.Iot.TimeSeriesInsightsGen2Environment("exampleTimeSeriesInsightsGen2Environment", new Azure.Iot.TimeSeriesInsightsGen2EnvironmentArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
SkuName = "L1",
IdProperties =
{
"id",
},
Storage = new Azure.Iot.Inputs.TimeSeriesInsightsGen2EnvironmentStorageArgs
{
Name = storage.Name,
Key = storage.PrimaryAccessKey,
},
});
var exampleTimeSeriesInsightsEventSourceIothub = new Azure.Iot.TimeSeriesInsightsEventSourceIothub("exampleTimeSeriesInsightsEventSourceIothub", new Azure.Iot.TimeSeriesInsightsEventSourceIothubArgs
{
Location = exampleResourceGroup.Location,
EnvironmentId = exampleTimeSeriesInsightsGen2Environment.Id,
IothubName = exampleIoTHub.Name,
SharedAccessKey = exampleIoTHub.SharedAccessPolicies.Apply(sharedAccessPolicies => sharedAccessPolicies[0].PrimaryKey),
SharedAccessKeyName = exampleIoTHub.SharedAccessPolicies.Apply(sharedAccessPolicies => sharedAccessPolicies[0].KeyName),
ConsumerGroupName = exampleConsumerGroup.Name,
EventSourceResourceId = exampleIoTHub.Id,
});
}
}
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/iot"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleIoTHub, err := iot.NewIoTHub(ctx, "exampleIoTHub", &iot.IoTHubArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
Sku: &iot.IoTHubSkuArgs{
Name: pulumi.String("B1"),
Capacity: pulumi.Int(1),
},
})
if err != nil {
return err
}
exampleConsumerGroup, err := iot.NewConsumerGroup(ctx, "exampleConsumerGroup", &iot.ConsumerGroupArgs{
IothubName: exampleIoTHub.Name,
EventhubEndpointName: pulumi.String("events"),
ResourceGroupName: exampleResourceGroup.Name,
})
if err != nil {
return err
}
storage, err := storage.NewAccount(ctx, "storage", &storage.AccountArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("LRS"),
})
if err != nil {
return err
}
exampleTimeSeriesInsightsGen2Environment, err := iot.NewTimeSeriesInsightsGen2Environment(ctx, "exampleTimeSeriesInsightsGen2Environment", &iot.TimeSeriesInsightsGen2EnvironmentArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
SkuName: pulumi.String("L1"),
IdProperties: pulumi.StringArray{
pulumi.String("id"),
},
Storage: &iot.TimeSeriesInsightsGen2EnvironmentStorageArgs{
Name: storage.Name,
Key: storage.PrimaryAccessKey,
},
})
if err != nil {
return err
}
_, err = iot.NewTimeSeriesInsightsEventSourceIothub(ctx, "exampleTimeSeriesInsightsEventSourceIothub", &iot.TimeSeriesInsightsEventSourceIothubArgs{
Location: exampleResourceGroup.Location,
EnvironmentId: exampleTimeSeriesInsightsGen2Environment.ID(),
IothubName: exampleIoTHub.Name,
SharedAccessKey: exampleIoTHub.SharedAccessPolicies.ApplyT(func(sharedAccessPolicies []iot.IoTHubSharedAccessPolicy) (string, error) {
return sharedAccessPolicies[0].PrimaryKey, nil
}).(pulumi.StringOutput),
SharedAccessKeyName: exampleIoTHub.SharedAccessPolicies.ApplyT(func(sharedAccessPolicies []iot.IoTHubSharedAccessPolicy) (string, error) {
return sharedAccessPolicies[0].KeyName, nil
}).(pulumi.StringOutput),
ConsumerGroupName: exampleConsumerGroup.Name,
EventSourceResourceId: exampleIoTHub.ID(),
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleIoTHub = new azure.iot.IoTHub("exampleIoTHub", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
sku: {
name: "B1",
capacity: "1",
},
});
const exampleConsumerGroup = new azure.iot.ConsumerGroup("exampleConsumerGroup", {
iothubName: exampleIoTHub.name,
eventhubEndpointName: "events",
resourceGroupName: exampleResourceGroup.name,
});
const storage = new azure.storage.Account("storage", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
accountTier: "Standard",
accountReplicationType: "LRS",
});
const exampleTimeSeriesInsightsGen2Environment = new azure.iot.TimeSeriesInsightsGen2Environment("exampleTimeSeriesInsightsGen2Environment", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
skuName: "L1",
idProperties: ["id"],
storage: {
name: storage.name,
key: storage.primaryAccessKey,
},
});
const exampleTimeSeriesInsightsEventSourceIothub = new azure.iot.TimeSeriesInsightsEventSourceIothub("exampleTimeSeriesInsightsEventSourceIothub", {
location: exampleResourceGroup.location,
environmentId: exampleTimeSeriesInsightsGen2Environment.id,
iothubName: exampleIoTHub.name,
sharedAccessKey: exampleIoTHub.sharedAccessPolicies.apply(sharedAccessPolicies => sharedAccessPolicies[0].primaryKey),
sharedAccessKeyName: exampleIoTHub.sharedAccessPolicies.apply(sharedAccessPolicies => sharedAccessPolicies[0].keyName),
consumerGroupName: exampleConsumerGroup.name,
eventSourceResourceId: exampleIoTHub.id,
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_io_t_hub = azure.iot.IoTHub("exampleIoTHub",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
sku=azure.iot.IoTHubSkuArgs(
name="B1",
capacity=1,
))
example_consumer_group = azure.iot.ConsumerGroup("exampleConsumerGroup",
iothub_name=example_io_t_hub.name,
eventhub_endpoint_name="events",
resource_group_name=example_resource_group.name)
storage = azure.storage.Account("storage",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
account_tier="Standard",
account_replication_type="LRS")
example_time_series_insights_gen2_environment = azure.iot.TimeSeriesInsightsGen2Environment("exampleTimeSeriesInsightsGen2Environment",
location=example_resource_group.location,
resource_group_name=example_resource_group.name,
sku_name="L1",
id_properties=["id"],
storage=azure.iot.TimeSeriesInsightsGen2EnvironmentStorageArgs(
name=storage.name,
key=storage.primary_access_key,
))
example_time_series_insights_event_source_iothub = azure.iot.TimeSeriesInsightsEventSourceIothub("exampleTimeSeriesInsightsEventSourceIothub",
location=example_resource_group.location,
environment_id=example_time_series_insights_gen2_environment.id,
iothub_name=example_io_t_hub.name,
shared_access_key=example_io_t_hub.shared_access_policies[0].primary_key,
shared_access_key_name=example_io_t_hub.shared_access_policies[0].key_name,
consumer_group_name=example_consumer_group.name,
event_source_resource_id=example_io_t_hub.id)
Example coming soon!
Create TimeSeriesInsightsEventSourceIothub Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TimeSeriesInsightsEventSourceIothub(name: string, args: TimeSeriesInsightsEventSourceIothubArgs, opts?: CustomResourceOptions);@overload
def TimeSeriesInsightsEventSourceIothub(resource_name: str,
args: TimeSeriesInsightsEventSourceIothubArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TimeSeriesInsightsEventSourceIothub(resource_name: str,
opts: Optional[ResourceOptions] = None,
consumer_group_name: Optional[str] = None,
environment_id: Optional[str] = None,
event_source_resource_id: Optional[str] = None,
iothub_name: Optional[str] = None,
shared_access_key: Optional[str] = None,
shared_access_key_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timestamp_property_name: Optional[str] = None)func NewTimeSeriesInsightsEventSourceIothub(ctx *Context, name string, args TimeSeriesInsightsEventSourceIothubArgs, opts ...ResourceOption) (*TimeSeriesInsightsEventSourceIothub, error)public TimeSeriesInsightsEventSourceIothub(string name, TimeSeriesInsightsEventSourceIothubArgs args, CustomResourceOptions? opts = null)
public TimeSeriesInsightsEventSourceIothub(String name, TimeSeriesInsightsEventSourceIothubArgs args)
public TimeSeriesInsightsEventSourceIothub(String name, TimeSeriesInsightsEventSourceIothubArgs args, CustomResourceOptions options)
type: azure:iot:TimeSeriesInsightsEventSourceIothub
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TimeSeriesInsightsEventSourceIothubArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TimeSeriesInsightsEventSourceIothubArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TimeSeriesInsightsEventSourceIothubArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TimeSeriesInsightsEventSourceIothubArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TimeSeriesInsightsEventSourceIothubArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var timeSeriesInsightsEventSourceIothubResource = new Azure.Iot.TimeSeriesInsightsEventSourceIothub("timeSeriesInsightsEventSourceIothubResource", new()
{
ConsumerGroupName = "string",
EnvironmentId = "string",
EventSourceResourceId = "string",
IothubName = "string",
SharedAccessKey = "string",
SharedAccessKeyName = "string",
Location = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
TimestampPropertyName = "string",
});
example, err := iot.NewTimeSeriesInsightsEventSourceIothub(ctx, "timeSeriesInsightsEventSourceIothubResource", &iot.TimeSeriesInsightsEventSourceIothubArgs{
ConsumerGroupName: pulumi.String("string"),
EnvironmentId: pulumi.String("string"),
EventSourceResourceId: pulumi.String("string"),
IothubName: pulumi.String("string"),
SharedAccessKey: pulumi.String("string"),
SharedAccessKeyName: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TimestampPropertyName: pulumi.String("string"),
})
var timeSeriesInsightsEventSourceIothubResource = new TimeSeriesInsightsEventSourceIothub("timeSeriesInsightsEventSourceIothubResource", TimeSeriesInsightsEventSourceIothubArgs.builder()
.consumerGroupName("string")
.environmentId("string")
.eventSourceResourceId("string")
.iothubName("string")
.sharedAccessKey("string")
.sharedAccessKeyName("string")
.location("string")
.name("string")
.tags(Map.of("string", "string"))
.timestampPropertyName("string")
.build());
time_series_insights_event_source_iothub_resource = azure.iot.TimeSeriesInsightsEventSourceIothub("timeSeriesInsightsEventSourceIothubResource",
consumer_group_name="string",
environment_id="string",
event_source_resource_id="string",
iothub_name="string",
shared_access_key="string",
shared_access_key_name="string",
location="string",
name="string",
tags={
"string": "string",
},
timestamp_property_name="string")
const timeSeriesInsightsEventSourceIothubResource = new azure.iot.TimeSeriesInsightsEventSourceIothub("timeSeriesInsightsEventSourceIothubResource", {
consumerGroupName: "string",
environmentId: "string",
eventSourceResourceId: "string",
iothubName: "string",
sharedAccessKey: "string",
sharedAccessKeyName: "string",
location: "string",
name: "string",
tags: {
string: "string",
},
timestampPropertyName: "string",
});
type: azure:iot:TimeSeriesInsightsEventSourceIothub
properties:
consumerGroupName: string
environmentId: string
eventSourceResourceId: string
iothubName: string
location: string
name: string
sharedAccessKey: string
sharedAccessKeyName: string
tags:
string: string
timestampPropertyName: string
TimeSeriesInsightsEventSourceIothub Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TimeSeriesInsightsEventSourceIothub resource accepts the following input properties:
- Consumer
Group stringName - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- Environment
Id string - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- Event
Source stringResource Id - Specifies the resource id where events will be coming from.
- Iothub
Name string - Specifies the name of the IotHub which will be associated with this resource.
- string
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- string
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Timestamp
Property stringName - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
- Consumer
Group stringName - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- Environment
Id string - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- Event
Source stringResource Id - Specifies the resource id where events will be coming from.
- Iothub
Name string - Specifies the name of the IotHub which will be associated with this resource.
- string
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- string
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- map[string]string
- A mapping of tags to assign to the resource.
- Timestamp
Property stringName - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
- consumer
Group StringName - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- environment
Id String - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- event
Source StringResource Id - Specifies the resource id where events will be coming from.
- iothub
Name String - Specifies the name of the IotHub which will be associated with this resource.
- String
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- String
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- Map<String,String>
- A mapping of tags to assign to the resource.
- timestamp
Property StringName - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
- consumer
Group stringName - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- environment
Id string - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- event
Source stringResource Id - Specifies the resource id where events will be coming from.
- iothub
Name string - Specifies the name of the IotHub which will be associated with this resource.
- string
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- string
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- timestamp
Property stringName - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
- consumer_
group_ strname - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- environment_
id str - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- event_
source_ strresource_ id - Specifies the resource id where events will be coming from.
- iothub_
name str - Specifies the name of the IotHub which will be associated with this resource.
- str
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- str
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- timestamp_
property_ strname - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
- consumer
Group StringName - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- environment
Id String - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- event
Source StringResource Id - Specifies the resource id where events will be coming from.
- iothub
Name String - Specifies the name of the IotHub which will be associated with this resource.
- String
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- String
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- Map<String>
- A mapping of tags to assign to the resource.
- timestamp
Property StringName - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
Outputs
All input properties are implicitly available as output properties. Additionally, the TimeSeriesInsightsEventSourceIothub resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing TimeSeriesInsightsEventSourceIothub Resource
Get an existing TimeSeriesInsightsEventSourceIothub resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TimeSeriesInsightsEventSourceIothubState, opts?: CustomResourceOptions): TimeSeriesInsightsEventSourceIothub@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
consumer_group_name: Optional[str] = None,
environment_id: Optional[str] = None,
event_source_resource_id: Optional[str] = None,
iothub_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
shared_access_key: Optional[str] = None,
shared_access_key_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timestamp_property_name: Optional[str] = None) -> TimeSeriesInsightsEventSourceIothubfunc GetTimeSeriesInsightsEventSourceIothub(ctx *Context, name string, id IDInput, state *TimeSeriesInsightsEventSourceIothubState, opts ...ResourceOption) (*TimeSeriesInsightsEventSourceIothub, error)public static TimeSeriesInsightsEventSourceIothub Get(string name, Input<string> id, TimeSeriesInsightsEventSourceIothubState? state, CustomResourceOptions? opts = null)public static TimeSeriesInsightsEventSourceIothub get(String name, Output<String> id, TimeSeriesInsightsEventSourceIothubState state, CustomResourceOptions options)resources: _: type: azure:iot:TimeSeriesInsightsEventSourceIothub get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Consumer
Group stringName - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- Environment
Id string - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- Event
Source stringResource Id - Specifies the resource id where events will be coming from.
- Iothub
Name string - Specifies the name of the IotHub which will be associated with this resource.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- string
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- string
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- Timestamp
Property stringName - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
- Consumer
Group stringName - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- Environment
Id string - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- Event
Source stringResource Id - Specifies the resource id where events will be coming from.
- Iothub
Name string - Specifies the name of the IotHub which will be associated with this resource.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- string
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- string
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- map[string]string
- A mapping of tags to assign to the resource.
- Timestamp
Property stringName - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
- consumer
Group StringName - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- environment
Id String - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- event
Source StringResource Id - Specifies the resource id where events will be coming from.
- iothub
Name String - Specifies the name of the IotHub which will be associated with this resource.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- String
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- String
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- Map<String,String>
- A mapping of tags to assign to the resource.
- timestamp
Property StringName - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
- consumer
Group stringName - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- environment
Id string - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- event
Source stringResource Id - Specifies the resource id where events will be coming from.
- iothub
Name string - Specifies the name of the IotHub which will be associated with this resource.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- string
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- string
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- timestamp
Property stringName - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
- consumer_
group_ strname - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- environment_
id str - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- event_
source_ strresource_ id - Specifies the resource id where events will be coming from.
- iothub_
name str - Specifies the name of the IotHub which will be associated with this resource.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- str
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- str
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- timestamp_
property_ strname - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
- consumer
Group StringName - Specifies the name of the IotHub Consumer Group that holds the partitions from which events will be read.
- environment
Id String - Specifies the id of the IoT Time Series Insights Environment that the Event Source should be associated with. Changing this forces a new resource to created.
- event
Source StringResource Id - Specifies the resource id where events will be coming from.
- iothub
Name String - Specifies the name of the IotHub which will be associated with this resource.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- Specifies the name of the Azure IoT Time Series Insights IoTHub Event Source. Changing this forces a new resource to be created. Must be globally unique.
- String
- Specifies the value of the Shared Access Policy key that grants the Time Series Insights service read access to the IotHub.
- String
- Specifies the name of the Shared Access key that grants the Event Source access to the IotHub.
- Map<String>
- A mapping of tags to assign to the resource.
- timestamp
Property StringName - Specifies the value that will be used as the event source's timestamp. This value defaults to the event creation time.
Import
Azure IoT Time Series Insights IoTHub Event Source can be imported using the resource id, e.g.
$ pulumi import azure:iot/timeSeriesInsightsEventSourceIothub:TimeSeriesInsightsEventSourceIothub example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.TimeSeriesInsights/environments/environment1/eventSources/example
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
