AzureEnvironment Class
- java.
lang. Object - com.
azure. core. management. AzureEnvironment
- com.
public final class AzureEnvironment
An instance of this class describes an environment in Azure.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Azure |
AZURE
Provides the settings for authentication with Azure. |
static final
Azure |
AZURE_CHINA
Provides the settings for authentication with Azure China. |
static final
Azure |
AZURE_GERMANY
Deprecated Provides the settings for authentication with Azure Germany. |
static final
Azure |
AZURE_US_GOVERNMENT
Provides the settings for authentication with Azure US Government. |
Constructor Summary
Constructor | Description |
---|---|
AzureEnvironment(Map<String,String> endpoints) |
Initializes an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getActiveDirectoryEndpoint()
Gets the Active Directory login endpoint. |
String |
getActiveDirectoryGraphApiVersion()
Gets the Active Directory api version. |
String |
getActiveDirectoryResourceId()
Gets the resource ID to obtain AD tokens. |
String |
getApplicationInsightsEndpoint()
Gets the log analytics endpoint. |
String |
getAzureDataLakeAnalyticsCatalogAndJobEndpointSuffix()
Gets the data lake analytics job and catalog service dns suffix. |
String |
getAzureDataLakeStoreFileSystemEndpointSuffix()
Gets the data lake store filesystem service dns suffix. |
String |
getDataLakeEndpointResourceId()
Gets the Data Lake resource ID. |
Map<String,String> |
getEndpoints()
Gets the entirety of the endpoints associated with the current environment. |
String |
getGalleryEndpoint()
Gets the template gallery endpoint. |
String |
getGraphEndpoint()
Gets the Active Directory resource ID. |
String |
getKeyVaultDnsSuffix()
Gets the keyvault service dns suffix. |
String |
getLogAnalyticsEndpoint()
Gets the log analytics endpoint. |
String |
getManagedHsmDnsSuffix()
Gets the managed HSM DNS suffix. |
String |
getManagementEndpoint()
Gets the management service endpoint. |
String |
getMicrosoftGraphEndpoint()
Gets the Microsoft Graph resource ID. |
String |
getPortal()
Gets the management portal URL. |
String |
getPublishingProfile()
Gets the publishing settings file URL. |
String |
getResourceManagerEndpoint()
Gets the resource management endpoint. |
String |
getSqlManagementEndpoint()
Gets the sql server management endpoint for mobile commands. |
String |
getSqlServerHostnameSuffix()
Gets the dns suffix for sql servers. |
String |
getStorageEndpointSuffix()
Gets the endpoint suffix for storage accounts. |
String |
getUrlByEndpoint(AzureEnvironment.Endpoint endpoint)
Gets the endpoint URL for the current environment. |
static
List<Azure |
knownEnvironments()
Gets the list of known environments to Azure SDK. |
Methods inherited from java.lang.Object
Field Details
AZURE
public static final AzureEnvironment AZURE
Provides the settings for authentication with Azure.
AZURE_CHINA
public static final AzureEnvironment AZURE_CHINA
Provides the settings for authentication with Azure China.
AZURE_GERMANY
@Deprecated
public static final AzureEnvironment AZURE_GERMANY
Deprecated
Provides the settings for authentication with Azure Germany.
Microsoft no longer be accepting new customers or deploying any new services from Microsoft Cloud Germany.
AZURE_US_GOVERNMENT
public static final AzureEnvironment AZURE_US_GOVERNMENT
Provides the settings for authentication with Azure US Government.
Constructor Details
AzureEnvironment
public AzureEnvironment(Map
Initializes an instance of AzureEnvironment class.
Parameters:
Method Details
getActiveDirectoryEndpoint
public String getActiveDirectoryEndpoint()
Gets the Active Directory login endpoint.
Returns:
getActiveDirectoryGraphApiVersion
public String getActiveDirectoryGraphApiVersion()
Gets the Active Directory api version.
Returns:
getActiveDirectoryResourceId
public String getActiveDirectoryResourceId()
Gets the resource ID to obtain AD tokens.
Returns:
getApplicationInsightsEndpoint
public String getApplicationInsightsEndpoint()
Gets the log analytics endpoint.
Returns:
getAzureDataLakeAnalyticsCatalogAndJobEndpointSuffix
public String getAzureDataLakeAnalyticsCatalogAndJobEndpointSuffix()
Gets the data lake analytics job and catalog service dns suffix.
Returns:
getAzureDataLakeStoreFileSystemEndpointSuffix
public String getAzureDataLakeStoreFileSystemEndpointSuffix()
Gets the data lake store filesystem service dns suffix.
Returns:
getDataLakeEndpointResourceId
public String getDataLakeEndpointResourceId()
Gets the Data Lake resource ID.
Returns:
getEndpoints
public Map
Gets the entirety of the endpoints associated with the current environment.
Returns:
getGalleryEndpoint
public String getGalleryEndpoint()
Gets the template gallery endpoint.
Returns:
getGraphEndpoint
public String getGraphEndpoint()
Gets the Active Directory resource ID.
Returns:
getKeyVaultDnsSuffix
public String getKeyVaultDnsSuffix()
Gets the keyvault service dns suffix.
Returns:
getLogAnalyticsEndpoint
public String getLogAnalyticsEndpoint()
Gets the log analytics endpoint.
Returns:
getManagedHsmDnsSuffix
public String getManagedHsmDnsSuffix()
Gets the managed HSM DNS suffix.
Returns:
getManagementEndpoint
public String getManagementEndpoint()
Gets the management service endpoint.
Returns:
getMicrosoftGraphEndpoint
public String getMicrosoftGraphEndpoint()
Gets the Microsoft Graph resource ID.
Returns:
getPortal
public String getPortal()
Gets the management portal URL.
Returns:
getPublishingProfile
public String getPublishingProfile()
Gets the publishing settings file URL.
Returns:
getResourceManagerEndpoint
public String getResourceManagerEndpoint()
Gets the resource management endpoint.
Returns:
getSqlManagementEndpoint
public String getSqlManagementEndpoint()
Gets the sql server management endpoint for mobile commands.
Returns:
getSqlServerHostnameSuffix
public String getSqlServerHostnameSuffix()
Gets the dns suffix for sql servers.
Returns:
getStorageEndpointSuffix
public String getStorageEndpointSuffix()
Gets the endpoint suffix for storage accounts.
Returns:
getUrlByEndpoint
public String getUrlByEndpoint(AzureEnvironment.Endpoint endpoint)
Gets the endpoint URL for the current environment.
Parameters:
Returns:
knownEnvironments
public static List
Gets the list of known environments to Azure SDK.
Returns:
Applies to
Azure SDK for Java