Class Gen2Environment
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.azurenative.timeseriesinsights.Gen2Environment
-
public class Gen2Environment extends com.pulumi.resources.CustomResource
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. Azure REST API version: 2020-05-15. Prior API version in Azure Native 1.x: 2020-05-15. ## Example Usage ### EnvironmentsCreate ```java 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. ```sh $ pulumi import azure-native:timeseriesinsights:Gen2Environment env1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName} ```
-
-
Constructor Summary
Constructors Constructor Description Gen2Environment(java.lang.String name)
Gen2Environment(java.lang.String name, Gen2EnvironmentArgs args)
Gen2Environment(java.lang.String name, Gen2EnvironmentArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
creationTime()
com.pulumi.core.Output<java.lang.String>
dataAccessFqdn()
com.pulumi.core.Output<java.lang.String>
dataAccessId()
static Gen2Environment
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
kind()
com.pulumi.core.Output<java.lang.String>
location()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
provisioningState()
com.pulumi.core.Output<SkuResponse>
sku()
com.pulumi.core.Output<EnvironmentStatusResponse>
status()
com.pulumi.core.Output<Gen2StorageConfigurationOutputResponse>
storageConfiguration()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
tags()
com.pulumi.core.Output<java.util.List<TimeSeriesIdPropertyResponse>>
timeSeriesIdProperties()
com.pulumi.core.Output<java.lang.String>
type()
com.pulumi.core.Output<java.util.Optional<WarmStoreConfigurationPropertiesResponse>>
warmStoreConfiguration()
-
-
-
Constructor Detail
-
Gen2Environment
public Gen2Environment(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
Gen2Environment
public Gen2Environment(java.lang.String name, Gen2EnvironmentArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
Gen2Environment
public Gen2Environment(java.lang.String name, Gen2EnvironmentArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
creationTime
public com.pulumi.core.Output<java.lang.String> creationTime()
- Returns:
- The time the resource was created.
-
dataAccessFqdn
public com.pulumi.core.Output<java.lang.String> dataAccessFqdn()
- Returns:
- 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.
-
dataAccessId
public com.pulumi.core.Output<java.lang.String> dataAccessId()
- Returns:
- An id used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.
-
kind
public com.pulumi.core.Output<java.lang.String> kind()
- Returns:
- The kind of the environment. Expected value is 'Gen2'.
-
location
public com.pulumi.core.Output<java.lang.String> location()
- Returns:
- Resource location
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Resource name
-
provisioningState
public com.pulumi.core.Output<java.lang.String> provisioningState()
- Returns:
- Provisioning state of the resource.
-
sku
public com.pulumi.core.Output<SkuResponse> sku()
- Returns:
- 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.
-
status
public com.pulumi.core.Output<EnvironmentStatusResponse> status()
- Returns:
- An object that represents the status of the environment, and its internal state in the Time Series Insights service.
-
storageConfiguration
public com.pulumi.core.Output<Gen2StorageConfigurationOutputResponse> storageConfiguration()
- Returns:
- 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.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Resource tags
-
timeSeriesIdProperties
public com.pulumi.core.Output<java.util.List<TimeSeriesIdPropertyResponse>> timeSeriesIdProperties()
- Returns:
- The list of event properties which will be used to define the environment's time series id.
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- Resource type
-
warmStoreConfiguration
public com.pulumi.core.Output<java.util.Optional<WarmStoreConfigurationPropertiesResponse>> warmStoreConfiguration()
- Returns:
- 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.
-
get
public static Gen2Environment get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.options
- Optional settings to control the behavior of the CustomResource.
-
-