Environment

Deprecated

Please use one of the variants: Gen1Environment, Gen2Environment.

An environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource. API Version: 2020-05-15.

Example Usage

EnvironmentsCreate

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var environment = new AzureNative.TimeSeriesInsights.Environment("environment", new()
{
EnvironmentName = "env1",
Kind = "Gen1",
Location = "West US",
ResourceGroupName = "rg1",
Sku = new AzureNative.TimeSeriesInsights.Inputs.SkuArgs
{
Capacity = 1,
Name = "S1",
},
});
});
package main
import (
timeseriesinsights "github.com/pulumi/pulumi-azure-native/sdk/go/azure/timeseriesinsights"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := timeseriesinsights.NewEnvironment(ctx, "environment", &timeseriesinsights.EnvironmentArgs{
EnvironmentName: pulumi.String("env1"),
Kind: pulumi.String("Gen1"),
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("rg1"),
Sku: &timeseriesinsights.SkuArgs{
Capacity: pulumi.Int(1),
Name: pulumi.String("S1"),
},
})
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.Environment;
import com.pulumi.azurenative.timeseriesinsights.EnvironmentArgs;
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 environment = new Environment("environment", EnvironmentArgs.builder()
.environmentName("env1")
.kind("Gen1")
.location("West US")
.resourceGroupName("rg1")
.sku(Map.ofEntries(
Map.entry("capacity", 1),
Map.entry("name", "S1")
))
.build());
}
}

Import

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

$ pulumi import azure-native:timeseriesinsights:Environment env1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.TimeSeriesInsights/Environments/env1

Properties

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

The kind of the environment.

Link copied to clipboard
val location: Output<String>

Resource location

Link copied to clipboard
val name: Output<String>

Resource name

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
val tags: Output<Map<String, String>>?

Resource tags

Link copied to clipboard
val type: Output<String>

Resource type

Link copied to clipboard
val urn: Output<String>