public enum KeyServiceVersion extends Enum<KeyServiceVersion> implements com.azure.core.util.ServiceVersion
Enum Constant and Description |
---|
V7_0 |
V7_1 |
V7_2 |
V7_3_PREVIEW |
Modifier and Type | Method and Description |
---|---|
static KeyServiceVersion |
getLatest()
Gets the latest service version supported by this client library
|
String |
getVersion() |
static KeyServiceVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyServiceVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyServiceVersion V7_0
public static final KeyServiceVersion V7_1
public static final KeyServiceVersion V7_2
public static final KeyServiceVersion V7_3_PREVIEW
public static KeyServiceVersion[] values()
public static KeyServiceVersion 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 KeyServiceVersion getLatest()
KeyServiceVersion
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.