Class Gen2EnvironmentResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.timeseriesinsights.fluent.models.EnvironmentResourceInner
com.azure.resourcemanager.timeseriesinsights.models.Gen2EnvironmentResource
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.
-
Constructor Summary
ConstructorDescriptionCreates an instance of Gen2EnvironmentResource class. -
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: The time the resource was created.Get the dataAccessFqdn property: The fully qualified domain name used to access the environment data, e.g.Get the dataAccessId property: An id used to access the environment data, e.g.Get the provisioningState property: Provisioning state of the resource.status()
Get the status property: An object that represents the status of the environment, and its internal state in the Time Series Insights service.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.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 sku property: The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1).withStorageConfiguration
(Gen2StorageConfigurationOutput 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.Methods inherited from class com.azure.resourcemanager.timeseriesinsights.fluent.models.EnvironmentResourceInner
sku
Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
Gen2EnvironmentResource
public Gen2EnvironmentResource()Creates an instance of Gen2EnvironmentResource 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 classEnvironmentResourceInner
- Parameters:
sku
- the sku value to set.- Returns:
- the EnvironmentResourceInner object itself.
-
withLocation
- Overrides:
withLocation
in classEnvironmentResourceInner
-
withTags
- Overrides:
withTags
in classEnvironmentResourceInner
-
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 Gen2EnvironmentResource 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 Gen2EnvironmentResource 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 Gen2EnvironmentResource withStorageConfiguration(Gen2StorageConfigurationOutput 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 Gen2EnvironmentResource 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 Gen2EnvironmentResource 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 Gen2EnvironmentResource object itself.
-
dataAccessId
Get the dataAccessId property: An id used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.- Returns:
- the dataAccessId value.
-
dataAccessFqdn
Get the dataAccessFqdn property: 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.- Returns:
- the dataAccessFqdn value.
-
status
Get the status property: An object that represents the status of the environment, and its internal state in the Time Series Insights service.- Returns:
- the status value.
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
creationTime
Get the creationTime property: The time the resource was created.- Returns:
- the creationTime value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classEnvironmentResourceInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-