Class AzureEnvironmentProperties
java.lang.Object
com.azure.spring.cloud.core.properties.profile.AzureEnvironmentProperties
- All Implemented Interfaces:
AzureProfileOptionsProvider.AzureEnvironmentOptions
public class AzureEnvironmentProperties
extends Object
implements AzureProfileOptionsProvider.AzureEnvironmentOptions
The AzureEnvironment defines all properties to Azure services, such as endpoints, resource ids, etc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AzureEnvironmentPropertiesProvides the environment instance for the public Azure.static final AzureEnvironmentPropertiesProvides the environment instance for Azure China.static final AzureEnvironmentPropertiesDeprecated.AZURE_GERMANY is deprecated.static final AzureEnvironmentPropertiesProvides the environment instance for Azure US Government. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromAzureManagementEnvironment(com.azure.core.management.AzureEnvironment environment) Get the AzureEnvironment fromAzureEnvironment.The endpoint suffix for storage accounts.voidsetActiveDirectoryEndpoint(String activeDirectoryEndpoint) Set the Active Directory login endpoint.voidsetActiveDirectoryGraphApiVersion(String activeDirectoryGraphApiVersion) Set the Active Directory api version.voidsetActiveDirectoryGraphEndpoint(String activeDirectoryGraphEndpoint) Set the Active Directory Graph endpoint.voidsetActiveDirectoryResourceId(String activeDirectoryResourceId) Set the resource ID to obtain AD tokens for.voidsetAzureApplicationInsightsEndpoint(String azureApplicationInsightsEndpoint) Set the application insights endpoint.voidsetAzureDataLakeAnalyticsCatalogAndJobEndpointSuffix(String azureDataLakeAnalyticsCatalogAndJobEndpointSuffix) Set the data lake analytics job and catalog service dns suffix.voidsetAzureDataLakeStoreFileSystemEndpointSuffix(String azureDataLakeStoreFileSystemEndpointSuffix) Set the data lake store filesystem service dns suffix.voidsetAzureLogAnalyticsEndpoint(String azureLogAnalyticsEndpoint) Set the log analytics endpoint.voidsetDataLakeEndpointResourceId(String dataLakeEndpointResourceId) Set the Data Lake resource ID.voidsetGalleryEndpoint(String galleryEndpoint) Set the template gallery endpoint.voidsetKeyVaultDnsSuffix(String keyVaultDnsSuffix) Set the key vault service dns suffix.voidsetManagementEndpoint(String managementEndpoint) Set the management service endpoint.voidsetMicrosoftGraphEndpoint(String microsoftGraphEndpoint) Set the Microsoft Graph endpoint.voidSet the management portal URL.voidsetPublishingProfile(String publishingProfile) Set the publishing settings file URL.voidsetResourceManagerEndpoint(String resourceManagerEndpoint) Set the resource management endpoint.voidsetServiceBusDomainName(String serviceBusDomainName) Set the domain name of Service Bus.voidsetSqlManagementEndpoint(String sqlManagementEndpoint) Set the sql server management endpoint for mobile commands.voidsetSqlServerHostnameSuffix(String sqlServerHostnameSuffix) Set the dns suffix for sql servers.voidsetStorageEndpointSuffix(String storageEndpointSuffix) Set the endpoint suffix for storage accounts.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.AzureEnvironmentOptions
toAzureManagementEnvironment
-
Field Details
-
AZURE
Provides the environment instance for the public Azure. -
AZURE_CHINA
Provides the environment instance for Azure China. -
AZURE_GERMANY
Deprecated.AZURE_GERMANY is deprecated. Please use other environment instances.Provides the environment instance for Azure Germany. -
AZURE_US_GOVERNMENT
Provides the environment instance for Azure US Government.
-
-
Constructor Details
-
AzureEnvironmentProperties
public AzureEnvironmentProperties()Create anAzureEnvironmentPropertiesinstance with default value.
-
-
Method Details
-
fromAzureManagementEnvironment
public AzureEnvironmentProperties fromAzureManagementEnvironment(com.azure.core.management.AzureEnvironment environment) Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsGet the AzureEnvironment fromAzureEnvironment.- Specified by:
fromAzureManagementEnvironmentin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Parameters:
environment- the azure core AzureEnvironment.- Returns:
- the AzureEnvironment implementation.
-
getPortal
- Specified by:
getPortalin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- The management portal URL.
-
setPortal
Set the management portal URL.- Parameters:
portal- The management portal URL.
-
getPublishingProfile
- Specified by:
getPublishingProfilein interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the publishing settings file URL.
-
setPublishingProfile
Set the publishing settings file URL.- Parameters:
publishingProfile- the publishing settings file URL.
-
getManagementEndpoint
- Specified by:
getManagementEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the management service endpoint.
-
setManagementEndpoint
Set the management service endpoint.- Parameters:
managementEndpoint- the management service endpoint.
-
getResourceManagerEndpoint
- Specified by:
getResourceManagerEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the resource management endpoint.
-
setResourceManagerEndpoint
Set the resource management endpoint.- Parameters:
resourceManagerEndpoint- the resource management endpoint.
-
getSqlManagementEndpoint
- Specified by:
getSqlManagementEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the sql server management endpoint for mobile commands.
-
setSqlManagementEndpoint
Set the sql server management endpoint for mobile commands.- Parameters:
sqlManagementEndpoint- the sql server management endpoint for mobile commands.
-
getSqlServerHostnameSuffix
- Specified by:
getSqlServerHostnameSuffixin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the dns suffix for sql servers.
-
setSqlServerHostnameSuffix
Set the dns suffix for sql servers.- Parameters:
sqlServerHostnameSuffix- the dns suffix for sql servers.
-
getGalleryEndpoint
- Specified by:
getGalleryEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the template gallery endpoint.
-
setGalleryEndpoint
Set the template gallery endpoint.- Parameters:
galleryEndpoint- the template gallery endpoint.
-
getActiveDirectoryEndpoint
- Specified by:
getActiveDirectoryEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the Active Directory login endpoint.
-
setActiveDirectoryEndpoint
Set the Active Directory login endpoint.- Parameters:
activeDirectoryEndpoint- the Active Directory login endpoint.
-
getActiveDirectoryResourceId
- Specified by:
getActiveDirectoryResourceIdin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- The resource ID to obtain AD tokens for.
-
setActiveDirectoryResourceId
Set the resource ID to obtain AD tokens for.- Parameters:
activeDirectoryResourceId- The resource ID to obtain AD tokens for.
-
getActiveDirectoryGraphEndpoint
- Specified by:
getActiveDirectoryGraphEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the Active Directory Graph endpoint.
-
setActiveDirectoryGraphEndpoint
Set the Active Directory Graph endpoint.- Parameters:
activeDirectoryGraphEndpoint- the Active Directory Graph endpoint.
-
getMicrosoftGraphEndpoint
- Specified by:
getMicrosoftGraphEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the Microsoft Graph endpoint.
-
setMicrosoftGraphEndpoint
Set the Microsoft Graph endpoint.- Parameters:
microsoftGraphEndpoint- the Microsoft Graph endpoint.
-
getDataLakeEndpointResourceId
- Specified by:
getDataLakeEndpointResourceIdin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the Data Lake resource ID.
-
setDataLakeEndpointResourceId
Set the Data Lake resource ID.- Parameters:
dataLakeEndpointResourceId- the Data Lake resource ID.
-
getActiveDirectoryGraphApiVersion
- Specified by:
getActiveDirectoryGraphApiVersionin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the Active Directory api version.
-
setActiveDirectoryGraphApiVersion
Set the Active Directory api version.- Parameters:
activeDirectoryGraphApiVersion- the Active Directory api version.
-
getStorageEndpointSuffix
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsThe endpoint suffix for storage accounts.- Specified by:
getStorageEndpointSuffixin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the endpoint suffix for storage accounts.
-
setStorageEndpointSuffix
Set the endpoint suffix for storage accounts.- Parameters:
storageEndpointSuffix- the endpoint suffix for storage accounts.
-
getKeyVaultDnsSuffix
- Specified by:
getKeyVaultDnsSuffixin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the key vault service dns suffix.
-
setKeyVaultDnsSuffix
Set the key vault service dns suffix.- Parameters:
keyVaultDnsSuffix- the key vault service dns suffix.
-
getAzureDataLakeStoreFileSystemEndpointSuffix
- Specified by:
getAzureDataLakeStoreFileSystemEndpointSuffixin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the data lake store filesystem service dns suffix.
-
setAzureDataLakeStoreFileSystemEndpointSuffix
public void setAzureDataLakeStoreFileSystemEndpointSuffix(String azureDataLakeStoreFileSystemEndpointSuffix) Set the data lake store filesystem service dns suffix.- Parameters:
azureDataLakeStoreFileSystemEndpointSuffix- the data lake store filesystem service dns suffix.
-
getAzureDataLakeAnalyticsCatalogAndJobEndpointSuffix
- Specified by:
getAzureDataLakeAnalyticsCatalogAndJobEndpointSuffixin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the data lake analytics job and catalog service dns suffix.
-
setAzureDataLakeAnalyticsCatalogAndJobEndpointSuffix
public void setAzureDataLakeAnalyticsCatalogAndJobEndpointSuffix(String azureDataLakeAnalyticsCatalogAndJobEndpointSuffix) Set the data lake analytics job and catalog service dns suffix.- Parameters:
azureDataLakeAnalyticsCatalogAndJobEndpointSuffix- the data lake analytics job and catalog service dns suffix.
-
getAzureLogAnalyticsEndpoint
- Specified by:
getAzureLogAnalyticsEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the log analytics endpoint.
-
setAzureLogAnalyticsEndpoint
Set the log analytics endpoint.- Parameters:
azureLogAnalyticsEndpoint- the log analytics endpoint.
-
getAzureApplicationInsightsEndpoint
- Specified by:
getAzureApplicationInsightsEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the application insights endpoint.
-
setAzureApplicationInsightsEndpoint
Set the application insights endpoint.- Parameters:
azureApplicationInsightsEndpoint- the application insights endpoint.
-
getServiceBusDomainName
- Specified by:
getServiceBusDomainNamein interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the domain name of Service Bus.
-
setServiceBusDomainName
Set the domain name of Service Bus.- Parameters:
serviceBusDomainName- the Service Bus domain name.
-