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