UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

140 lines (139 loc) 6.13 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * 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. */ export declare class Gen2Environment extends pulumi.CustomResource { /** * Get an existing Gen2Environment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Gen2Environment; /** * Returns true if the given object is an instance of Gen2Environment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Gen2Environment; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The time the resource was created. */ readonly creationTime: pulumi.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. */ readonly dataAccessFqdn: pulumi.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. */ readonly dataAccessId: pulumi.Output<string>; /** * The kind of the environment. * Expected value is 'Gen2'. */ readonly kind: pulumi.Output<"Gen2">; /** * Resource location */ readonly location: pulumi.Output<string>; /** * Resource name */ readonly name: pulumi.Output<string>; /** * Provisioning state of the resource. */ readonly provisioningState: pulumi.Output<string>; /** * 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. */ readonly sku: pulumi.Output<outputs.timeseriesinsights.SkuResponse>; /** * An object that represents the status of the environment, and its internal state in the Time Series Insights service. */ readonly status: pulumi.Output<outputs.timeseriesinsights.EnvironmentStatusResponse>; /** * 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. */ readonly storageConfiguration: pulumi.Output<outputs.timeseriesinsights.Gen2StorageConfigurationOutputResponse>; /** * Resource tags */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The list of event properties which will be used to define the environment's time series id. */ readonly timeSeriesIdProperties: pulumi.Output<outputs.timeseriesinsights.TimeSeriesIdPropertyResponse[]>; /** * Resource type */ readonly type: pulumi.Output<string>; /** * 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. */ readonly warmStoreConfiguration: pulumi.Output<outputs.timeseriesinsights.WarmStoreConfigurationPropertiesResponse | undefined>; /** * Create a Gen2Environment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: Gen2EnvironmentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Gen2Environment resource. */ export interface Gen2EnvironmentArgs { /** * Name of the environment */ environmentName?: pulumi.Input<string>; /** * The kind of the environment. * Expected value is 'Gen2'. */ kind: pulumi.Input<"Gen2">; /** * The location of the resource. */ location?: pulumi.Input<string>; /** * Name of an Azure Resource group. */ resourceGroupName: pulumi.Input<string>; /** * 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. */ sku: pulumi.Input<inputs.timeseriesinsights.SkuArgs>; /** * 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. */ storageConfiguration: pulumi.Input<inputs.timeseriesinsights.Gen2StorageConfigurationInputArgs>; /** * Key-value pairs of additional properties for the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; /** * The list of event properties which will be used to define the environment's time series id. */ timeSeriesIdProperties: pulumi.Input<pulumi.Input<inputs.timeseriesinsights.TimeSeriesIdPropertyArgs>[]>; /** * 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. */ warmStoreConfiguration?: pulumi.Input<inputs.timeseriesinsights.WarmStoreConfigurationPropertiesArgs>; }