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