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

com.azure.ai.metricsadvisor.MetricsAdvisorServiceVersion Maven / Gradle / Ivy

The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.ai.metricsadvisor;

import com.azure.core.util.ServiceVersion;

/**
 * The versions of Azure Metrics Advisor supported by this client library.
 */
public enum MetricsAdvisorServiceVersion implements ServiceVersion {
    /**
     * Service version {@code v1.0}.
     */
    V1_0("v1.0");

    private final String version;

    MetricsAdvisorServiceVersion(String version) {
        this.version = version;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String getVersion() {
        return this.version;
    }

    /**
     * Gets the latest service version supported by this client library
     *
     * @return the latest {@link MetricsAdvisorServiceVersion}
     */
    public static MetricsAdvisorServiceVersion getLatest() {
        return V1_0;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy