TimeAggregation Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. monitor. models. TimeAggregation
- com.
- com.
public final class TimeAggregation
extends ExpandableStringEnum<TimeAggregation>
Aggregation type. Relevant and required only for rules of the kind LogAlert.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Time |
AVERAGE
Static value Average for Time |
static final
Time |
COUNT
Static value Count for Time |
static final
Time |
MAXIMUM
Static value Maximum for Time |
static final
Time |
MINIMUM
Static value Minimum for Time |
static final
Time |
TOTAL
Static value Total for Time |
Constructor Summary
Constructor | Description |
---|---|
TimeAggregation() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Time |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Time |
fromString(String name)
Creates or finds a Time |
static
Collection<Time |
values()
Gets known Time |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AVERAGE
public static final TimeAggregation AVERAGE
Static value Average for TimeAggregation.
COUNT
public static final TimeAggregation COUNT
Static value Count for TimeAggregation.
MAXIMUM
public static final TimeAggregation MAXIMUM
Static value Maximum for TimeAggregation.
MINIMUM
public static final TimeAggregation MINIMUM
Static value Minimum for TimeAggregation.
TOTAL
public static final TimeAggregation TOTAL
Static value Total for TimeAggregation.
Constructor Details
TimeAggregation
@Deprecated
public TimeAggregation()
Deprecated
Creates a new instance of TimeAggregation value.
Method Details
fromString
public static TimeAggregation fromString(String name)
Creates or finds a TimeAggregation from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known TimeAggregation values.
Returns:
Applies to
Azure SDK for Java