Class StorageLimitExceededBehavior

java.lang.Object
com.azure.core.util.ExpandableStringEnum<StorageLimitExceededBehavior>
com.azure.resourcemanager.timeseriesinsights.models.StorageLimitExceededBehavior

public final class StorageLimitExceededBehavior extends com.azure.core.util.ExpandableStringEnum<StorageLimitExceededBehavior>
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.
  • Field Details

    • PURGE_OLD_DATA

      public static final StorageLimitExceededBehavior PURGE_OLD_DATA
      Static value PurgeOldData for StorageLimitExceededBehavior.
    • PAUSE_INGRESS

      public static final StorageLimitExceededBehavior PAUSE_INGRESS
      Static value PauseIngress for StorageLimitExceededBehavior.
  • Constructor Details

    • StorageLimitExceededBehavior

      @Deprecated public StorageLimitExceededBehavior()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of StorageLimitExceededBehavior value.
  • Method Details

    • fromString

      public static StorageLimitExceededBehavior fromString(String name)
      Creates or finds a StorageLimitExceededBehavior from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding StorageLimitExceededBehavior.
    • values

      public static Collection<StorageLimitExceededBehavior> values()
      Gets known StorageLimitExceededBehavior values.
      Returns:
      known StorageLimitExceededBehavior values.