1. Packages
  2. Azure Classic
  3. API Docs
  4. iot
  5. TimeSeriesInsightsGen2Environment

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages an Azure IoT Time Series Insights Gen2 Environment.

    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 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",
                WarmStoreDataRetentionTime = "P30D",
                IdProperties = 
                {
                    "id",
                },
                Storage = new Azure.Iot.Inputs.TimeSeriesInsightsGen2EnvironmentStorageArgs
                {
                    Name = storage.Name,
                    Key = storage.PrimaryAccessKey,
                },
            });
        }
    
    }
    
    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
    		}
    		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
    		}
    		_, err = iot.NewTimeSeriesInsightsGen2Environment(ctx, "exampleTimeSeriesInsightsGen2Environment", &iot.TimeSeriesInsightsGen2EnvironmentArgs{
    			Location:                   exampleResourceGroup.Location,
    			ResourceGroupName:          exampleResourceGroup.Name,
    			SkuName:                    pulumi.String("L1"),
    			WarmStoreDataRetentionTime: pulumi.String("P30D"),
    			IdProperties: pulumi.StringArray{
    				pulumi.String("id"),
    			},
    			Storage: &iot.TimeSeriesInsightsGen2EnvironmentStorageArgs{
    				Name: storage.Name,
    				Key:  storage.PrimaryAccessKey,
    			},
    		})
    		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 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",
        warmStoreDataRetentionTime: "P30D",
        idProperties: ["id"],
        storage: {
            name: storage.name,
            key: storage.primaryAccessKey,
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    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",
        warm_store_data_retention_time="P30D",
        id_properties=["id"],
        storage=azure.iot.TimeSeriesInsightsGen2EnvironmentStorageArgs(
            name=storage.name,
            key=storage.primary_access_key,
        ))
    

    Example coming soon!

    Create TimeSeriesInsightsGen2Environment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TimeSeriesInsightsGen2Environment(name: string, args: TimeSeriesInsightsGen2EnvironmentArgs, opts?: CustomResourceOptions);
    @overload
    def TimeSeriesInsightsGen2Environment(resource_name: str,
                                          args: TimeSeriesInsightsGen2EnvironmentArgs,
                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def TimeSeriesInsightsGen2Environment(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          id_properties: Optional[Sequence[str]] = None,
                                          resource_group_name: Optional[str] = None,
                                          sku_name: Optional[str] = None,
                                          storage: Optional[TimeSeriesInsightsGen2EnvironmentStorageArgs] = None,
                                          location: Optional[str] = None,
                                          name: Optional[str] = None,
                                          tags: Optional[Mapping[str, str]] = None,
                                          warm_store_data_retention_time: Optional[str] = None)
    func NewTimeSeriesInsightsGen2Environment(ctx *Context, name string, args TimeSeriesInsightsGen2EnvironmentArgs, opts ...ResourceOption) (*TimeSeriesInsightsGen2Environment, error)
    public TimeSeriesInsightsGen2Environment(string name, TimeSeriesInsightsGen2EnvironmentArgs args, CustomResourceOptions? opts = null)
    public TimeSeriesInsightsGen2Environment(String name, TimeSeriesInsightsGen2EnvironmentArgs args)
    public TimeSeriesInsightsGen2Environment(String name, TimeSeriesInsightsGen2EnvironmentArgs args, CustomResourceOptions options)
    
    type: azure:iot:TimeSeriesInsightsGen2Environment
    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 TimeSeriesInsightsGen2EnvironmentArgs
    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 TimeSeriesInsightsGen2EnvironmentArgs
    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 TimeSeriesInsightsGen2EnvironmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TimeSeriesInsightsGen2EnvironmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TimeSeriesInsightsGen2EnvironmentArgs
    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 timeSeriesInsightsGen2EnvironmentResource = new Azure.Iot.TimeSeriesInsightsGen2Environment("timeSeriesInsightsGen2EnvironmentResource", new()
    {
        IdProperties = new[]
        {
            "string",
        },
        ResourceGroupName = "string",
        SkuName = "string",
        Storage = new Azure.Iot.Inputs.TimeSeriesInsightsGen2EnvironmentStorageArgs
        {
            Key = "string",
            Name = "string",
        },
        Location = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
        WarmStoreDataRetentionTime = "string",
    });
    
    example, err := iot.NewTimeSeriesInsightsGen2Environment(ctx, "timeSeriesInsightsGen2EnvironmentResource", &iot.TimeSeriesInsightsGen2EnvironmentArgs{
    	IdProperties: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ResourceGroupName: pulumi.String("string"),
    	SkuName:           pulumi.String("string"),
    	Storage: &iot.TimeSeriesInsightsGen2EnvironmentStorageArgs{
    		Key:  pulumi.String("string"),
    		Name: pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	WarmStoreDataRetentionTime: pulumi.String("string"),
    })
    
    var timeSeriesInsightsGen2EnvironmentResource = new TimeSeriesInsightsGen2Environment("timeSeriesInsightsGen2EnvironmentResource", TimeSeriesInsightsGen2EnvironmentArgs.builder()
        .idProperties("string")
        .resourceGroupName("string")
        .skuName("string")
        .storage(TimeSeriesInsightsGen2EnvironmentStorageArgs.builder()
            .key("string")
            .name("string")
            .build())
        .location("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .warmStoreDataRetentionTime("string")
        .build());
    
    time_series_insights_gen2_environment_resource = azure.iot.TimeSeriesInsightsGen2Environment("timeSeriesInsightsGen2EnvironmentResource",
        id_properties=["string"],
        resource_group_name="string",
        sku_name="string",
        storage={
            "key": "string",
            "name": "string",
        },
        location="string",
        name="string",
        tags={
            "string": "string",
        },
        warm_store_data_retention_time="string")
    
    const timeSeriesInsightsGen2EnvironmentResource = new azure.iot.TimeSeriesInsightsGen2Environment("timeSeriesInsightsGen2EnvironmentResource", {
        idProperties: ["string"],
        resourceGroupName: "string",
        skuName: "string",
        storage: {
            key: "string",
            name: "string",
        },
        location: "string",
        name: "string",
        tags: {
            string: "string",
        },
        warmStoreDataRetentionTime: "string",
    });
    
    type: azure:iot:TimeSeriesInsightsGen2Environment
    properties:
        idProperties:
            - string
        location: string
        name: string
        resourceGroupName: string
        skuName: string
        storage:
            key: string
            name: string
        tags:
            string: string
        warmStoreDataRetentionTime: string
    

    TimeSeriesInsightsGen2Environment 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 TimeSeriesInsightsGen2Environment resource accepts the following input properties:

    IdProperties List<string>
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    ResourceGroupName string
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    SkuName string
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    Storage TimeSeriesInsightsGen2EnvironmentStorage
    A storage block as defined below.
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    WarmStoreDataRetentionTime string
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.
    IdProperties []string
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    ResourceGroupName string
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    SkuName string
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    Storage TimeSeriesInsightsGen2EnvironmentStorageArgs
    A storage block as defined below.
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    WarmStoreDataRetentionTime string
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.
    idProperties List<String>
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    resourceGroupName String
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    skuName String
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    storage TimeSeriesInsightsGen2EnvironmentStorage
    A storage block as defined below.
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    warmStoreDataRetentionTime String
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.
    idProperties string[]
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    resourceGroupName string
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    skuName string
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    storage TimeSeriesInsightsGen2EnvironmentStorage
    A storage block as defined below.
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    warmStoreDataRetentionTime string
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.
    id_properties Sequence[str]
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    resource_group_name str
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    sku_name str
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    storage TimeSeriesInsightsGen2EnvironmentStorageArgs
    A storage block as defined below.
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    warm_store_data_retention_time str
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.
    idProperties List<String>
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    resourceGroupName String
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    skuName String
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    storage Property Map
    A storage block as defined below.
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    tags Map<String>
    A mapping of tags to assign to the resource.
    warmStoreDataRetentionTime String
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TimeSeriesInsightsGen2Environment resource produces the following output properties:

    DataAccessFqdn string
    The FQDN used to access the environment data.
    Id string
    The provider-assigned unique ID for this managed resource.
    DataAccessFqdn string
    The FQDN used to access the environment data.
    Id string
    The provider-assigned unique ID for this managed resource.
    dataAccessFqdn String
    The FQDN used to access the environment data.
    id String
    The provider-assigned unique ID for this managed resource.
    dataAccessFqdn string
    The FQDN used to access the environment data.
    id string
    The provider-assigned unique ID for this managed resource.
    data_access_fqdn str
    The FQDN used to access the environment data.
    id str
    The provider-assigned unique ID for this managed resource.
    dataAccessFqdn String
    The FQDN used to access the environment data.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TimeSeriesInsightsGen2Environment Resource

    Get an existing TimeSeriesInsightsGen2Environment 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?: TimeSeriesInsightsGen2EnvironmentState, opts?: CustomResourceOptions): TimeSeriesInsightsGen2Environment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            data_access_fqdn: Optional[str] = None,
            id_properties: Optional[Sequence[str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            sku_name: Optional[str] = None,
            storage: Optional[TimeSeriesInsightsGen2EnvironmentStorageArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            warm_store_data_retention_time: Optional[str] = None) -> TimeSeriesInsightsGen2Environment
    func GetTimeSeriesInsightsGen2Environment(ctx *Context, name string, id IDInput, state *TimeSeriesInsightsGen2EnvironmentState, opts ...ResourceOption) (*TimeSeriesInsightsGen2Environment, error)
    public static TimeSeriesInsightsGen2Environment Get(string name, Input<string> id, TimeSeriesInsightsGen2EnvironmentState? state, CustomResourceOptions? opts = null)
    public static TimeSeriesInsightsGen2Environment get(String name, Output<String> id, TimeSeriesInsightsGen2EnvironmentState state, CustomResourceOptions options)
    resources:  _:    type: azure:iot:TimeSeriesInsightsGen2Environment    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.
    The following state arguments are supported:
    DataAccessFqdn string
    The FQDN used to access the environment data.
    IdProperties List<string>
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    ResourceGroupName string
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    SkuName string
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    Storage TimeSeriesInsightsGen2EnvironmentStorage
    A storage block as defined below.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    WarmStoreDataRetentionTime string
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.
    DataAccessFqdn string
    The FQDN used to access the environment data.
    IdProperties []string
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    ResourceGroupName string
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    SkuName string
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    Storage TimeSeriesInsightsGen2EnvironmentStorageArgs
    A storage block as defined below.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    WarmStoreDataRetentionTime string
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.
    dataAccessFqdn String
    The FQDN used to access the environment data.
    idProperties List<String>
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    resourceGroupName String
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    skuName String
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    storage TimeSeriesInsightsGen2EnvironmentStorage
    A storage block as defined below.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    warmStoreDataRetentionTime String
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.
    dataAccessFqdn string
    The FQDN used to access the environment data.
    idProperties string[]
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    resourceGroupName string
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    skuName string
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    storage TimeSeriesInsightsGen2EnvironmentStorage
    A storage block as defined below.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    warmStoreDataRetentionTime string
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.
    data_access_fqdn str
    The FQDN used to access the environment data.
    id_properties Sequence[str]
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    resource_group_name str
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    sku_name str
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    storage TimeSeriesInsightsGen2EnvironmentStorageArgs
    A storage block as defined below.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    warm_store_data_retention_time str
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.
    dataAccessFqdn String
    The FQDN used to access the environment data.
    idProperties List<String>
    A list of property ids for the Azure IoT Time Series Insights Gen2 Environment
    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 Gen2 Environment. Changing this forces a new resource to be created. Must be globally unique.
    resourceGroupName String
    The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment.
    skuName String
    Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified.
    storage Property Map
    A storage block as defined below.
    tags Map<String>
    A mapping of tags to assign to the resource.
    warmStoreDataRetentionTime String
    Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. Changing this forces a new resource to be created.

    Supporting Types

    TimeSeriesInsightsGen2EnvironmentStorage, TimeSeriesInsightsGen2EnvironmentStorageArgs

    Key string
    Access key of storage account for Azure IoT Time Series Insights Gen2 Environment
    Name string
    Name of storage account for Azure IoT Time Series Insights Gen2 Environment
    Key string
    Access key of storage account for Azure IoT Time Series Insights Gen2 Environment
    Name string
    Name of storage account for Azure IoT Time Series Insights Gen2 Environment
    key String
    Access key of storage account for Azure IoT Time Series Insights Gen2 Environment
    name String
    Name of storage account for Azure IoT Time Series Insights Gen2 Environment
    key string
    Access key of storage account for Azure IoT Time Series Insights Gen2 Environment
    name string
    Name of storage account for Azure IoT Time Series Insights Gen2 Environment
    key str
    Access key of storage account for Azure IoT Time Series Insights Gen2 Environment
    name str
    Name of storage account for Azure IoT Time Series Insights Gen2 Environment
    key String
    Access key of storage account for Azure IoT Time Series Insights Gen2 Environment
    name String
    Name of storage account for Azure IoT Time Series Insights Gen2 Environment

    Import

    Azure IoT Time Series Insights Gen2 Environment can be imported using the resource id, e.g.

     $ pulumi import azure:iot/timeSeriesInsightsGen2Environment:TimeSeriesInsightsGen2Environment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.TimeSeriesInsights/environments/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 azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.