TimeSeriesInsightsGen2EnvironmentArgs

data class TimeSeriesInsightsGen2EnvironmentArgs(val idProperties: Output<List<String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val skuName: Output<String>? = null, val storage: Output<TimeSeriesInsightsGen2EnvironmentStorageArgs>? = null, val tags: Output<Map<String, String>>? = null, val warmStoreDataRetentionTime: Output<String>? = null) : ConvertibleToJava<TimeSeriesInsightsGen2EnvironmentArgs>

Manages an Azure IoT Time Series Insights Gen2 Environment.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.iot.TimeSeriesInsightsGen2Environment;
import com.pulumi.azure.iot.TimeSeriesInsightsGen2EnvironmentArgs;
import com.pulumi.azure.iot.inputs.TimeSeriesInsightsGen2EnvironmentStorageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var storage = new Account("storage", AccountArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.accountTier("Standard")
.accountReplicationType("LRS")
.build());
var exampleTimeSeriesInsightsGen2Environment = new TimeSeriesInsightsGen2Environment("exampleTimeSeriesInsightsGen2Environment", TimeSeriesInsightsGen2EnvironmentArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.skuName("L1")
.warmStoreDataRetentionTime("P30D")
.idProperties("id")
.storage(TimeSeriesInsightsGen2EnvironmentStorageArgs.builder()
.name(storage.name())
.key(storage.primaryAccessKey())
.build())
.build());
}
}

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

Constructors

Link copied to clipboard
fun TimeSeriesInsightsGen2EnvironmentArgs(idProperties: Output<List<String>>? = null, location: Output<String>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, skuName: Output<String>? = null, storage: Output<TimeSeriesInsightsGen2EnvironmentStorageArgs>? = null, tags: Output<Map<String, String>>? = null, warmStoreDataRetentionTime: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TimeSeriesInsightsGen2EnvironmentArgs

Properties

Link copied to clipboard
val idProperties: Output<List<String>>? = null

A list of property ids for the Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created.

Link copied to clipboard
val location: Output<String>? = null

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>? = null

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.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group in which to create the Azure IoT Time Series Insights Gen2 Environment. Changing this forces a new resource to be created.

Link copied to clipboard
val skuName: Output<String>? = null

Specifies the SKU Name for this IoT Time Series Insights Gen2 Environment. Currently it supports only L1. For gen2, capacity cannot be specified. Changing this forces a new resource to be created.

Link copied to clipboard

A storage block as defined below.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.

Link copied to clipboard
val warmStoreDataRetentionTime: Output<String>? = null

Specifies the ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.