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

com.azure.ai.metricsadvisor.implementation.models.AnomalyScope Maven / Gradle / Ivy

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.ai.metricsadvisor.implementation.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Anomaly scope.
 */
public final class AnomalyScope extends ExpandableStringEnum {
    /**
     * Static value All for AnomalyScope.
     */
    public static final AnomalyScope ALL = fromString("All");

    /**
     * Static value Dimension for AnomalyScope.
     */
    public static final AnomalyScope DIMENSION = fromString("Dimension");

    /**
     * Static value TopN for AnomalyScope.
     */
    public static final AnomalyScope TOPN = fromString("TopN");

    /**
     * Creates a new instance of AnomalyScope value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public AnomalyScope() {
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy