Package com.azure.core.management
Class AzureEnvironment
java.lang.Object
com.azure.core.management.AzureEnvironment
An instance of this class describes an environment in Azure.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The enum representing available endpoints in an environment. -
Field Summary
Modifier and TypeFieldDescriptionstatic final AzureEnvironment
Provides the settings for authentication with Azure.static final AzureEnvironment
Provides the settings for authentication with Azure China.static final AzureEnvironment
Provides the settings for authentication with Azure Germany.static final AzureEnvironment
Provides the settings for authentication with Azure US Government. -
Constructor Summary
ConstructorDescriptionAzureEnvironment
(Map<String, String> endpoints) Initializes an instance of AzureEnvironment class. -
Method Summary
Modifier and TypeMethodDescriptiongetUrlByEndpoint
(AzureEnvironment.Endpoint endpoint) Gets the endpoint URL for the current environment.static List<AzureEnvironment>
-
Field Details
-
AZURE
Provides the settings for authentication with Azure. -
AZURE_CHINA
Provides the settings for authentication with Azure China. -
AZURE_US_GOVERNMENT
Provides the settings for authentication with Azure US Government. -
AZURE_GERMANY
Provides the settings for authentication with Azure Germany.
-
-
Constructor Details
-
AzureEnvironment
Initializes an instance of AzureEnvironment class.- Parameters:
endpoints
- a map storing all the endpoint info
-
-
Method Details
-
getEndpoints
- Returns:
- the entirety of the endpoints associated with the current environment.
-
knownEnvironments
- Returns:
- the list of known environments to Azure SDK.
-
getPortal
- Returns:
- the management portal URL.
-
getPublishingProfile
- Returns:
- the publish settings file URL.
-
getManagementEndpoint
- Returns:
- the management service endpoint.
-
getResourceManagerEndpoint
- Returns:
- the resource management endpoint.
-
getSqlManagementEndpoint
- Returns:
- the sql server management endpoint for mobile commands.
-
getSqlServerHostnameSuffix
- Returns:
- the dns suffix for sql servers.
-
getActiveDirectoryEndpoint
- Returns:
- the Active Directory login endpoint.
-
getActiveDirectoryResourceId
- Returns:
- The resource ID to obtain AD tokens for.
-
getGalleryEndpoint
- Returns:
- the template gallery endpoint.
-
getGraphEndpoint
- Returns:
- the Active Directory resource ID.
-
getMicrosoftGraphEndpoint
- Returns:
- the Microsoft Graph resource ID.
-
getDataLakeEndpointResourceId
- Returns:
- the Data Lake resource ID.
-
getActiveDirectoryGraphApiVersion
- Returns:
- the Active Directory api version.
-
getStorageEndpointSuffix
- Returns:
- the endpoint suffix for storage accounts.
-
getKeyVaultDnsSuffix
- Returns:
- the keyvault service dns suffix.
-
getAzureDataLakeStoreFileSystemEndpointSuffix
- Returns:
- the data lake store filesystem service dns suffix.
-
getAzureDataLakeAnalyticsCatalogAndJobEndpointSuffix
- Returns:
- the data lake analytics job and catalog service dns suffix.
-
getLogAnalyticsEndpoint
- Returns:
- the log analytics endpoint.
-
getApplicationInsightsEndpoint
- Returns:
- the log analytics endpoint.
-
getUrlByEndpoint
Gets the endpoint URL for the current environment.- Parameters:
endpoint
- the endpoint.- Returns:
- the URL for the endpoint, null if no match.
-