Class Gen1EnvironmentCreationProperties

java.lang.Object
com.azure.resourcemanager.timeseriesinsights.fluent.models.Gen1EnvironmentCreationProperties
Direct Known Subclasses:
Gen1EnvironmentResourceProperties

public class Gen1EnvironmentCreationProperties extends Object
Properties used to create a Gen1 environment.
  • Constructor Details

    • Gen1EnvironmentCreationProperties

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

    • dataRetentionTime

      public Duration dataRetentionTime()
      Get the dataRetentionTime property: ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
      Returns:
      the dataRetentionTime value.
    • withDataRetentionTime

      public Gen1EnvironmentCreationProperties withDataRetentionTime(Duration dataRetentionTime)
      Set the dataRetentionTime property: ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
      Parameters:
      dataRetentionTime - the dataRetentionTime value to set.
      Returns:
      the Gen1EnvironmentCreationProperties object itself.
    • storageLimitExceededBehavior

      public StorageLimitExceededBehavior storageLimitExceededBehavior()
      Get the storageLimitExceededBehavior property: The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData.
      Returns:
      the storageLimitExceededBehavior value.
    • withStorageLimitExceededBehavior

      public Gen1EnvironmentCreationProperties withStorageLimitExceededBehavior(StorageLimitExceededBehavior storageLimitExceededBehavior)
      Set the storageLimitExceededBehavior property: The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData.
      Parameters:
      storageLimitExceededBehavior - the storageLimitExceededBehavior value to set.
      Returns:
      the Gen1EnvironmentCreationProperties object itself.
    • partitionKeyProperties

      public List<TimeSeriesIdProperty> partitionKeyProperties()
      Get the partitionKeyProperties property: The list of event properties which will be used to partition data in the environment. Currently, only a single partition key property is supported.
      Returns:
      the partitionKeyProperties value.
    • withPartitionKeyProperties

      public Gen1EnvironmentCreationProperties withPartitionKeyProperties(List<TimeSeriesIdProperty> partitionKeyProperties)
      Set the partitionKeyProperties property: The list of event properties which will be used to partition data in the environment. Currently, only a single partition key property is supported.
      Parameters:
      partitionKeyProperties - the partitionKeyProperties value to set.
      Returns:
      the Gen1EnvironmentCreationProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.