![JAR search and dependency download from the Maven repository](/logo.png)
com.microsoft.azure.management.monitor.MetricAlertRuleCondition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-monitor Show documentation
Show all versions of azure-mgmt-monitor Show documentation
This package contains Microsoft Azure Monitor SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.monitor;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
/**
* Defines values for MetricAlertRuleCondition.
*/
public final class MetricAlertRuleCondition extends ExpandableStringEnum {
/** Static value Equals for MetricAlertRuleCondition. */
public static final MetricAlertRuleCondition EQUALS = fromString("Equals");
/** Static value NotEquals for MetricAlertRuleCondition. */
public static final MetricAlertRuleCondition NOT_EQUALS = fromString("NotEquals");
/** Static value GreaterThan for MetricAlertRuleCondition. */
public static final MetricAlertRuleCondition GREATER_THAN = fromString("GreaterThan");
/** Static value GreaterThanOrEqual for MetricAlertRuleCondition. */
public static final MetricAlertRuleCondition GREATER_THAN_OR_EQUAL = fromString("GreaterThanOrEqual");
/** Static value LessThan for MetricAlertRuleCondition. */
public static final MetricAlertRuleCondition LESS_THAN = fromString("LessThan");
/** Static value LessThanOrEqual for MetricAlertRuleCondition. */
public static final MetricAlertRuleCondition LESS_THAN_OR_EQUAL = fromString("LessThanOrEqual");
/**
* Creates or finds a MetricAlertRuleCondition from its string representation.
* @param name a name to look for
* @return the corresponding MetricAlertRuleCondition
*/
@JsonCreator
public static MetricAlertRuleCondition fromString(String name) {
return fromString(name, MetricAlertRuleCondition.class);
}
/**
* @return known MetricAlertRuleCondition values
*/
public static Collection values() {
return values(MetricAlertRuleCondition.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy