Enum CertificateServiceVersion
- java.lang.Object
-
- java.lang.Enum<CertificateServiceVersion>
-
- com.azure.security.keyvault.certificates.CertificateServiceVersion
-
- All Implemented Interfaces:
com.azure.core.util.ServiceVersion
,Serializable
,Comparable<CertificateServiceVersion>
public enum CertificateServiceVersion extends Enum<CertificateServiceVersion> implements com.azure.core.util.ServiceVersion
The versions of Azure Key Vault Certificate supported by this client library.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description V7_0
Service version7.0
.V7_1
Service version7.1
.V7_2
Service version7.2
.V7_3_PREVIEW
Service version7.3-preview
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateServiceVersion
getLatest()
Gets the latest service version supported by this client libraryString
getVersion()
static CertificateServiceVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static CertificateServiceVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V7_0
public static final CertificateServiceVersion V7_0
Service version7.0
.
-
V7_1
public static final CertificateServiceVersion V7_1
Service version7.1
.
-
V7_2
public static final CertificateServiceVersion V7_2
Service version7.2
.
-
V7_3_PREVIEW
public static final CertificateServiceVersion V7_3_PREVIEW
Service version7.3-preview
.
-
-
Method Detail
-
values
public static CertificateServiceVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CertificateServiceVersion c : CertificateServiceVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CertificateServiceVersion valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfacecom.azure.core.util.ServiceVersion
-
getLatest
public static CertificateServiceVersion getLatest()
Gets the latest service version supported by this client library- Returns:
- the latest
CertificateServiceVersion
-
-