AzureCloud Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. core. models. AzureCloud
- com.
- com.
public final class AzureCloud
extends ExpandableStringEnum<AzureCloud>
An expandable enum that describes Azure cloud environment.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Azure |
AZURE_CHINA_CLOUD
Azure China cloud. |
|
static final
Azure |
AZURE_PUBLIC_CLOUD
Azure public cloud. |
|
static final
Azure |
AZURE_US_GOVERNMENT_CLOUD
Azure US government cloud. |
Constructor Summary
| Constructor | Description |
|---|---|
| AzureCloud() |
Deprecated
Use one of the constants or the fromString(String cloudName) factory method.
Creates a new instance of AzureCloud without a #toString() value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Azure |
fromString(String cloudName)
Creates or finds an Azure |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AZURE_CHINA_CLOUD
public static final AzureCloud AZURE_CHINA_CLOUD
Azure China cloud.
AZURE_PUBLIC_CLOUD
public static final AzureCloud AZURE_PUBLIC_CLOUD
Azure public cloud.
AZURE_US_GOVERNMENT_CLOUD
public static final AzureCloud AZURE_US_GOVERNMENT_CLOUD
Azure US government cloud.
Constructor Details
AzureCloud
@Deprecated
public AzureCloud()
Deprecated
Creates a new instance of AzureCloud without a #toString() value.
This constructor shouldn't be called as it will produce a AzureCloud which doesn't have a String enum value.
Method Details
fromString
public static AzureCloud fromString(String cloudName)
Creates or finds an AzureCloud from its string representation.
Parameters:
Returns: