All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.monitor.MetricAlertRuleTimeAggregation Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * 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 MetricAlertRuleTimeAggregation.
 */
public final class MetricAlertRuleTimeAggregation extends ExpandableStringEnum {
    /** Static value Count for MetricAlertRuleTimeAggregation. */
    public static final MetricAlertRuleTimeAggregation COUNT = fromString("Count");

    /** Static value Average for MetricAlertRuleTimeAggregation. */
    public static final MetricAlertRuleTimeAggregation AVERAGE = fromString("Average");

    /** Static value Minimum for MetricAlertRuleTimeAggregation. */
    public static final MetricAlertRuleTimeAggregation MINIMUM = fromString("Minimum");

    /** Static value Maximum for MetricAlertRuleTimeAggregation. */
    public static final MetricAlertRuleTimeAggregation MAXIMUM = fromString("Maximum");

    /** Static value Total for MetricAlertRuleTimeAggregation. */
    public static final MetricAlertRuleTimeAggregation TOTAL = fromString("Total");

    /**
     * Creates or finds a MetricAlertRuleTimeAggregation from its string representation.
     * @param name a name to look for
     * @return the corresponding MetricAlertRuleTimeAggregation
     */
    @JsonCreator
    public static MetricAlertRuleTimeAggregation fromString(String name) {
        return fromString(name, MetricAlertRuleTimeAggregation.class);
    }

    /**
     * @return known MetricAlertRuleTimeAggregation values
     */
    public static Collection values() {
        return values(MetricAlertRuleTimeAggregation.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy