Package com.azure.core.models
Class AzureCloud
- All Implemented Interfaces:
ExpandableEnum<String>
An expandable enum that describes Azure cloud environment.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AzureCloudAzure China cloud.static final AzureCloudAzure public cloud.static final AzureCloudAzure US government cloud. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AzureCloudfromString(String cloudName) Creates or finds an AzureCloud from its string representation.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
AZURE_PUBLIC_CLOUD
Azure public cloud. -
AZURE_CHINA_CLOUD
Azure China cloud. -
AZURE_US_GOVERNMENT_CLOUD
Azure US government cloud.
-
-
Constructor Details
-
AzureCloud
Deprecated.Use one of the constants or thefromString(String)factory method.Creates a new instance ofAzureCloudwithout aExpandableStringEnum.toString()value.This constructor shouldn't be called as it will produce a
AzureCloudwhich doesn't have a String enum value.
-
-
Method Details
-
fromString
Creates or finds an AzureCloud from its string representation.- Parameters:
cloudName- cloud name to look for- Returns:
- the corresponding AzureCloud
-
fromString(String)factory method.