azure-native.timeseriesinsights.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", ×eriesinsights.EnvironmentArgs{
EnvironmentName: pulumi.String("env1"),
Kind: pulumi.String("Gen1"),
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("rg1"),
Sku: ×eriesinsights.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 pulumi
import pulumi_azure_native as azure_native
environment = azure_native.timeseriesinsights.Environment("environment",
environment_name="env1",
kind="Gen1",
location="West US",
resource_group_name="rg1",
sku=azure_native.timeseriesinsights.SkuArgs(
capacity=1,
name="S1",
))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const environment = new azure_native.timeseriesinsights.Environment("environment", {
environmentName: "env1",
kind: "Gen1",
location: "West US",
resourceGroupName: "rg1",
sku: {
capacity: 1,
name: "S1",
},
});
resources:
environment:
type: azure-native:timeseriesinsights:Environment
properties:
environmentName: env1
kind: Gen1
location: West US
resourceGroupName: rg1
sku:
capacity: 1
name: S1
Create Environment Resource
new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);
@overload
def Environment(resource_name: str,
opts: Optional[ResourceOptions] = None,
environment_name: Optional[str] = None,
kind: Optional[Union[str, EnvironmentKind]] = None,
location: Optional[str] = None,
resource_group_name: Optional[str] = None,
sku: Optional[SkuArgs] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def Environment(resource_name: str,
args: EnvironmentArgs,
opts: Optional[ResourceOptions] = None)
func NewEnvironment(ctx *Context, name string, args EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
public Environment(string name, EnvironmentArgs args, CustomResourceOptions? opts = null)
public Environment(String name, EnvironmentArgs args)
public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
type: azure-native:timeseriesinsights:Environment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- 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 EnvironmentArgs
- 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 EnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnvironmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Environment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Environment resource accepts the following input properties:
- Kind
string | Pulumi.
Azure Native. Time Series Insights. Environment Kind The kind of the environment.
- Resource
Group stringName Name of an Azure Resource group.
- Sku
Pulumi.
Azure Native. Time Series Insights. Inputs. Sku Args 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.
- Environment
Name string Name of the environment
- Location string
The location of the resource.
- Dictionary<string, string>
Key-value pairs of additional properties for the resource.
- Kind
string | Environment
Kind The kind of the environment.
- Resource
Group stringName Name of an Azure Resource group.
- Sku
Sku
Args 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.
- Environment
Name string Name of the environment
- Location string
The location of the resource.
- map[string]string
Key-value pairs of additional properties for the resource.
- kind
String | Environment
Kind The kind of the environment.
- resource
Group StringName Name of an Azure Resource group.
- sku
Sku
Args 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.
- environment
Name String Name of the environment
- location String
The location of the resource.
- Map<String,String>
Key-value pairs of additional properties for the resource.
- kind
string | Environment
Kind The kind of the environment.
- resource
Group stringName Name of an Azure Resource group.
- sku
Sku
Args 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.
- environment
Name string Name of the environment
- location string
The location of the resource.
- {[key: string]: string}
Key-value pairs of additional properties for the resource.
- kind
str | Environment
Kind The kind of the environment.
- resource_
group_ strname Name of an Azure Resource group.
- sku
Sku
Args 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.
- environment_
name str Name of the environment
- location str
The location of the resource.
- Mapping[str, str]
Key-value pairs of additional properties for the resource.
- kind String | "Gen1" | "Gen2"
The kind of the environment.
- resource
Group StringName Name of an Azure Resource group.
- sku Property Map
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.
- environment
Name String Name of the environment
- location String
The location of the resource.
- Map<String>
Key-value pairs of additional properties for the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:
Supporting Types
EnvironmentKind
- Gen1
- Gen1
- Gen2
- Gen2
- Environment
Kind Gen1 - Gen1
- Environment
Kind Gen2 - Gen2
- Gen1
- Gen1
- Gen2
- Gen2
- Gen1
- Gen1
- Gen2
- Gen2
- GEN1
- Gen1
- GEN2
- Gen2
- "Gen1"
- Gen1
- "Gen2"
- Gen2
Sku
- Capacity int
The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.
- Name
string | Pulumi.
Azure Native. Time Series Insights. Sku Name The name of this SKU.
- capacity Number
The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created.
- name String | "S1" | "S2" | "P1" | "L1"
The name of this SKU.
SkuName
- S1
- S1
- S2
- S2
- P1
- P1
- L1
- L1
- Sku
Name S1 - S1
- Sku
Name S2 - S2
- Sku
Name P1 - P1
- Sku
Name L1 - L1
- S1
- S1
- S2
- S2
- P1
- P1
- L1
- L1
- S1
- S1
- S2
- S2
- P1
- P1
- L1
- L1
- S1
- S1
- S2
- S2
- P1
- P1
- L1
- L1
- "S1"
- S1
- "S2"
- S2
- "P1"
- P1
- "L1"
- L1
SkuResponse
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
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0