public enum MetricsAdvisorServiceVersion extends Enum<MetricsAdvisorServiceVersion> implements com.azure.core.util.ServiceVersion
Enum Constant and Description |
---|
V1_0 |
Modifier and Type | Method and Description |
---|---|
static MetricsAdvisorServiceVersion |
getLatest()
Gets the latest service version supported by this client library
|
String |
getVersion() |
static MetricsAdvisorServiceVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsAdvisorServiceVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsAdvisorServiceVersion V1_0
public static MetricsAdvisorServiceVersion[] values()
public static MetricsAdvisorServiceVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getVersion()
getVersion
in interface com.azure.core.util.ServiceVersion
public static MetricsAdvisorServiceVersion getLatest()
MetricsAdvisorServiceVersion
Copyright © 2021 Microsoft Corporation. All rights reserved.