Class Gen2EnvironmentCreateOrUpdateParameters
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.CreateOrUpdateTrackedResourceProperties
com.azure.resourcemanager.timeseriesinsights.models.EnvironmentCreateOrUpdateParameters
com.azure.resourcemanager.timeseriesinsights.models.Gen2EnvironmentCreateOrUpdateParameters
public final class Gen2EnvironmentCreateOrUpdateParameters
extends EnvironmentCreateOrUpdateParameters
Parameters supplied to the Create or Update Environment operation for a Gen2 environment.
-
Constructor Summary
ConstructorDescriptionCreates an instance of Gen2EnvironmentCreateOrUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the storageConfiguration property: 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.Get the timeSeriesIdProperties property: The list of event properties which will be used to define the environment's time series id.void
validate()
Validates the instance.Get the warmStoreConfiguration property: 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.withLocation
(String location) Set the location property: The location of the resource.Set the sku property: The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1).withStorageConfiguration
(Gen2StorageConfigurationInput storageConfiguration) Set the storageConfiguration property: 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.Set the tags property: Key-value pairs of additional properties for the resource.withTimeSeriesIdProperties
(List<TimeSeriesIdProperty> timeSeriesIdProperties) Set the timeSeriesIdProperties property: The list of event properties which will be used to define the environment's time series id.withWarmStoreConfiguration
(WarmStoreConfigurationProperties warmStoreConfiguration) Set the warmStoreConfiguration property: 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.Methods inherited from class com.azure.resourcemanager.timeseriesinsights.models.EnvironmentCreateOrUpdateParameters
sku
Methods inherited from class com.azure.resourcemanager.timeseriesinsights.models.CreateOrUpdateTrackedResourceProperties
location, tags
-
Constructor Details
-
Gen2EnvironmentCreateOrUpdateParameters
public Gen2EnvironmentCreateOrUpdateParameters()Creates an instance of Gen2EnvironmentCreateOrUpdateParameters class.
-
-
Method Details
-
withSku
Set the sku property: 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.- Overrides:
withSku
in classEnvironmentCreateOrUpdateParameters
- Parameters:
sku
- the sku value to set.- Returns:
- the EnvironmentCreateOrUpdateParameters object itself.
-
withLocation
Set the location property: The location of the resource.- Overrides:
withLocation
in classEnvironmentCreateOrUpdateParameters
- Parameters:
location
- the location value to set.- Returns:
- the CreateOrUpdateTrackedResourceProperties object itself.
-
withTags
Set the tags property: Key-value pairs of additional properties for the resource.- Overrides:
withTags
in classEnvironmentCreateOrUpdateParameters
- Parameters:
tags
- the tags value to set.- Returns:
- the CreateOrUpdateTrackedResourceProperties object itself.
-
timeSeriesIdProperties
Get the timeSeriesIdProperties property: The list of event properties which will be used to define the environment's time series id.- Returns:
- the timeSeriesIdProperties value.
-
withTimeSeriesIdProperties
public Gen2EnvironmentCreateOrUpdateParameters withTimeSeriesIdProperties(List<TimeSeriesIdProperty> timeSeriesIdProperties) Set the timeSeriesIdProperties property: The list of event properties which will be used to define the environment's time series id.- Parameters:
timeSeriesIdProperties
- the timeSeriesIdProperties value to set.- Returns:
- the Gen2EnvironmentCreateOrUpdateParameters object itself.
-
storageConfiguration
Get the storageConfiguration property: 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.- Returns:
- the storageConfiguration value.
-
withStorageConfiguration
public Gen2EnvironmentCreateOrUpdateParameters withStorageConfiguration(Gen2StorageConfigurationInput storageConfiguration) Set the storageConfiguration property: 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.- Parameters:
storageConfiguration
- the storageConfiguration value to set.- Returns:
- the Gen2EnvironmentCreateOrUpdateParameters object itself.
-
warmStoreConfiguration
Get the warmStoreConfiguration property: 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.- Returns:
- the warmStoreConfiguration value.
-
withWarmStoreConfiguration
public Gen2EnvironmentCreateOrUpdateParameters withWarmStoreConfiguration(WarmStoreConfigurationProperties warmStoreConfiguration) Set the warmStoreConfiguration property: 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.- Parameters:
warmStoreConfiguration
- the warmStoreConfiguration value to set.- Returns:
- the Gen2EnvironmentCreateOrUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classEnvironmentCreateOrUpdateParameters
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-