Gen2Environment

class Gen2Environment : KotlinCustomResource

An environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource. Gen2 environments do not have set data retention limits. Uses Azure REST API version 2020-05-15. In version 2.x of the Azure Native provider, it used API version 2020-05-15.

Example Usage

EnvironmentsCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var gen2Environment = new AzureNative.TimeSeriesInsights.Gen2Environment("gen2Environment", new()
{
EnvironmentName = "env1",
ResourceGroupName = "rg1",
});
});
package main
import (
timeseriesinsights "github.com/pulumi/pulumi-azure-native-sdk/timeseriesinsights/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := timeseriesinsights.NewGen2Environment(ctx, "gen2Environment", &timeseriesinsights.Gen2EnvironmentArgs{
EnvironmentName: pulumi.String("env1"),
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.timeseriesinsights.Gen2Environment;
import com.pulumi.azurenative.timeseriesinsights.Gen2EnvironmentArgs;
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 gen2Environment = new Gen2Environment("gen2Environment", Gen2EnvironmentArgs.builder()
.environmentName("env1")
.resourceGroupName("rg1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:timeseriesinsights:Gen2Environment env1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val creationTime: Output<String>

The time the resource was created.

Link copied to clipboard
val dataAccessFqdn: Output<String>

The fully qualified domain name used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.

Link copied to clipboard
val dataAccessId: Output<String>

An id used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val kind: Output<String>

The kind of the environment. Expected value is 'Gen2'.

Link copied to clipboard
val location: Output<String>

Resource location

Link copied to clipboard
val name: Output<String>

Resource name

Link copied to clipboard

Provisioning state of the resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sku: Output<SkuResponse>

The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.

Link copied to clipboard

An object that represents the status of the environment, and its internal state in the Time Series Insights service.

Link copied to clipboard

The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data.

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

Resource tags

Link copied to clipboard

The list of event properties which will be used to define the environment's time series id.

Link copied to clipboard
val type: Output<String>

Resource type

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query.