Class AlertCriteria
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AlertCriteria>
com.azure.resourcemanager.costmanagement.models.AlertCriteria
Criteria that triggered alert.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AlertCriteriaStatic value CostThresholdExceeded for AlertCriteria.static final AlertCriteriaStatic value CreditThresholdApproaching for AlertCriteria.static final AlertCriteriaStatic value CreditThresholdReached for AlertCriteria.static final AlertCriteriaStatic value CrossCloudCollectionError for AlertCriteria.static final AlertCriteriaStatic value CrossCloudNewDataAvailable for AlertCriteria.static final AlertCriteriaStatic value ForecastCostThresholdExceeded for AlertCriteria.static final AlertCriteriaStatic value ForecastUsageThresholdExceeded for AlertCriteria.static final AlertCriteriaStatic value GeneralThresholdError for AlertCriteria.static final AlertCriteriaStatic value InvoiceDueDateApproaching for AlertCriteria.static final AlertCriteriaStatic value InvoiceDueDateReached for AlertCriteria.static final AlertCriteriaStatic value MultiCurrency for AlertCriteria.static final AlertCriteriaStatic value QuotaThresholdApproaching for AlertCriteria.static final AlertCriteriaStatic value QuotaThresholdReached for AlertCriteria.static final AlertCriteriaStatic value UsageThresholdExceeded for AlertCriteria. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AlertCriteriafromString(String name) Creates or finds a AlertCriteria from its string representation.static Collection<AlertCriteria>values()Gets known AlertCriteria values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
COST_THRESHOLD_EXCEEDED
Static value CostThresholdExceeded for AlertCriteria. -
USAGE_THRESHOLD_EXCEEDED
Static value UsageThresholdExceeded for AlertCriteria. -
CREDIT_THRESHOLD_APPROACHING
Static value CreditThresholdApproaching for AlertCriteria. -
CREDIT_THRESHOLD_REACHED
Static value CreditThresholdReached for AlertCriteria. -
QUOTA_THRESHOLD_APPROACHING
Static value QuotaThresholdApproaching for AlertCriteria. -
QUOTA_THRESHOLD_REACHED
Static value QuotaThresholdReached for AlertCriteria. -
MULTI_CURRENCY
Static value MultiCurrency for AlertCriteria. -
FORECAST_COST_THRESHOLD_EXCEEDED
Static value ForecastCostThresholdExceeded for AlertCriteria. -
FORECAST_USAGE_THRESHOLD_EXCEEDED
Static value ForecastUsageThresholdExceeded for AlertCriteria. -
INVOICE_DUE_DATE_APPROACHING
Static value InvoiceDueDateApproaching for AlertCriteria. -
INVOICE_DUE_DATE_REACHED
Static value InvoiceDueDateReached for AlertCriteria. -
CROSS_CLOUD_NEW_DATA_AVAILABLE
Static value CrossCloudNewDataAvailable for AlertCriteria. -
CROSS_CLOUD_COLLECTION_ERROR
Static value CrossCloudCollectionError for AlertCriteria. -
GENERAL_THRESHOLD_ERROR
Static value GeneralThresholdError for AlertCriteria.
-
-
Constructor Details
-
AlertCriteria
Deprecated.Use thefromString(String)factory method.Creates a new instance of AlertCriteria value.
-
-
Method Details
-
fromString
Creates or finds a AlertCriteria from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AlertCriteria.
-
values
Gets known AlertCriteria values.- Returns:
- known AlertCriteria values.
-
fromString(String)factory method.