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