Class Gen2EnvironmentCreationProperties
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.fluent.models.Gen2EnvironmentCreationProperties
Properties used to create a Gen2 environment.
-
Constructor Summary
ConstructorDescriptionCreates an instance of Gen2EnvironmentCreationProperties 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.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.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.
-
Constructor Details
-
Gen2EnvironmentCreationProperties
public Gen2EnvironmentCreationProperties()Creates an instance of Gen2EnvironmentCreationProperties class.
-
-
Method Details
-
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 Gen2EnvironmentCreationProperties 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 Gen2EnvironmentCreationProperties 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 Gen2EnvironmentCreationProperties 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 Gen2EnvironmentCreationProperties 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 Gen2EnvironmentCreationProperties 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 Gen2EnvironmentCreationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-