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 Summary
Modifier and TypeFieldDescriptionstatic final StorageLimitExceededBehavior
Static value PauseIngress for StorageLimitExceededBehavior.static final StorageLimitExceededBehavior
Static value PurgeOldData for StorageLimitExceededBehavior. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StorageLimitExceededBehavior
fromString
(String name) Creates or finds a StorageLimitExceededBehavior from its string representation.values()
Gets known StorageLimitExceededBehavior values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PURGE_OLD_DATA
Static value PurgeOldData for StorageLimitExceededBehavior. -
PAUSE_INGRESS
Static value PauseIngress for StorageLimitExceededBehavior.
-
-
Constructor Details
-
StorageLimitExceededBehavior
Deprecated.Use thefromString(String)
factory method.Creates a new instance of StorageLimitExceededBehavior value.
-
-
Method Details
-
fromString
Creates or finds a StorageLimitExceededBehavior from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding StorageLimitExceededBehavior.
-
values
Gets known StorageLimitExceededBehavior values.- Returns:
- known StorageLimitExceededBehavior values.
-
fromString(String)
factory method.