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

com.azure.resourcemanager.monitor.models.MetricClass Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Monitor SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.48.0
Show 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.resourcemanager.monitor.models;

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

/**
 * The class of the metric.
 */
public final class MetricClass extends ExpandableStringEnum {
    /**
     * Static value Availability for MetricClass.
     */
    public static final MetricClass AVAILABILITY = fromString("Availability");

    /**
     * Static value Transactions for MetricClass.
     */
    public static final MetricClass TRANSACTIONS = fromString("Transactions");

    /**
     * Static value Errors for MetricClass.
     */
    public static final MetricClass ERRORS = fromString("Errors");

    /**
     * Static value Latency for MetricClass.
     */
    public static final MetricClass LATENCY = fromString("Latency");

    /**
     * Static value Saturation for MetricClass.
     */
    public static final MetricClass SATURATION = fromString("Saturation");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy