public enum MetricsQueryServiceVersion extends Enum<MetricsQueryServiceVersion> implements com.azure.core.util.ServiceVersion
Enum Constant and Description |
---|
V2018_01_01 |
Modifier and Type | Method and Description |
---|---|
static MetricsQueryServiceVersion |
getLatest()
Returns the latest supported service version by this library.
|
String |
getVersion() |
static MetricsQueryServiceVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsQueryServiceVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsQueryServiceVersion V2018_01_01
public static MetricsQueryServiceVersion[] values()
public static MetricsQueryServiceVersion 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 static MetricsQueryServiceVersion getLatest()
public String getVersion()
getVersion
in interface com.azure.core.util.ServiceVersion
Copyright © 2021 Microsoft Corporation. All rights reserved.