Enum AzureProfileOptionsProvider.CloudType
java.lang.Object
java.lang.Enum<AzureProfileOptionsProvider.CloudType>
com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.CloudType
- All Implemented Interfaces:
Serializable
,Comparable<AzureProfileOptionsProvider.CloudType>
,java.lang.constant.Constable
- Enclosing interface:
- AzureProfileOptionsProvider
public static enum AzureProfileOptionsProvider.CloudType
extends Enum<AzureProfileOptionsProvider.CloudType>
Define the cloud environment type, with four known Azure cloud types and the types don't fall in the four known
types will be OTHER.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAzureAzure ChinaAzure GermanyAzure US governmentOther -
Method Summary
Modifier and TypeMethodDescriptionfromString
(String cloudType) Get theAzureProfileOptionsProvider.CloudType
fromString
value.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AZURE
Azure -
AZURE_CHINA
Azure China -
AZURE_GERMANY
Azure Germany -
AZURE_US_GOVERNMENT
Azure US government -
OTHER
Other
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
fromString
Get theAzureProfileOptionsProvider.CloudType
fromString
value.- Parameters:
cloudType
- the cloud type string value- Returns:
- the
AzureProfileOptionsProvider.CloudType
-