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

public final class Gen2EnvironmentResource extends EnvironmentResourceInner
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 Details

    • Gen2EnvironmentResource

      public Gen2EnvironmentResource()
      Creates an instance of Gen2EnvironmentResource class.
  • Method Details

    • withSku

      public Gen2EnvironmentResource withSku(Sku sku)
      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 class EnvironmentResourceInner
      Parameters:
      sku - the sku value to set.
      Returns:
      the EnvironmentResourceInner object itself.
    • withLocation

      public Gen2EnvironmentResource withLocation(String location)
      Overrides:
      withLocation in class EnvironmentResourceInner
    • withTags

      public Gen2EnvironmentResource withTags(Map<String,String> tags)
      Overrides:
      withTags in class EnvironmentResourceInner
    • timeSeriesIdProperties

      public List<TimeSeriesIdProperty> 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

      public Gen2StorageConfigurationOutput 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

      public WarmStoreConfigurationProperties 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

      public UUID 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

      public String 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

      public EnvironmentStatus 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

      public ProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the resource.
      Returns:
      the provisioningState value.
    • creationTime

      public OffsetDateTime 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 class EnvironmentResourceInner
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.