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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromAzureManagementEnvironment
(com.azure.core.management.AzureEnvironment environment) Get the AzureEnvironment fromAzureEnvironment
.The endpoint suffix for storage accounts.void
setActiveDirectoryEndpoint
(String activeDirectoryEndpoint) Set the Active Directory login endpoint.void
setActiveDirectoryGraphApiVersion
(String activeDirectoryGraphApiVersion) Set the Active Directory api version.void
setActiveDirectoryGraphEndpoint
(String activeDirectoryGraphEndpoint) Set the Active Directory Graph endpoint.void
setActiveDirectoryResourceId
(String activeDirectoryResourceId) Set the resource ID to obtain AD tokens for.void
setAzureApplicationInsightsEndpoint
(String azureApplicationInsightsEndpoint) Set the application insights endpoint.void
setAzureDataLakeAnalyticsCatalogAndJobEndpointSuffix
(String azureDataLakeAnalyticsCatalogAndJobEndpointSuffix) Set the data lake analytics job and catalog service dns suffix.void
setAzureDataLakeStoreFileSystemEndpointSuffix
(String azureDataLakeStoreFileSystemEndpointSuffix) Set the data lake store filesystem service dns suffix.void
setAzureLogAnalyticsEndpoint
(String azureLogAnalyticsEndpoint) Set the log analytics endpoint.void
setDataLakeEndpointResourceId
(String dataLakeEndpointResourceId) Set the Data Lake resource ID.void
setGalleryEndpoint
(String galleryEndpoint) Set the template gallery endpoint.void
setKeyVaultDnsSuffix
(String keyVaultDnsSuffix) Set the key vault service dns suffix.void
setManagementEndpoint
(String managementEndpoint) Set the management service endpoint.void
setMicrosoftGraphEndpoint
(String microsoftGraphEndpoint) Set the Microsoft Graph endpoint.void
Set the management portal URL.void
setPublishingProfile
(String publishingProfile) Set the publishing settings file URL.void
setResourceManagerEndpoint
(String resourceManagerEndpoint) Set the resource management endpoint.void
setSqlManagementEndpoint
(String sqlManagementEndpoint) Set the sql server management endpoint for mobile commands.void
setSqlServerHostnameSuffix
(String sqlServerHostnameSuffix) Set the dns suffix for sql servers.void
setStorageEndpointSuffix
(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, wait
Methods inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider.AzureEnvironmentOptions
toAzureManagementEnvironment
-
Constructor Details
-
AzureEnvironmentProperties
public AzureEnvironmentProperties()Create anAzureEnvironmentProperties
instance with default value.
-
-
Method Details
-
fromAzureManagementEnvironment
public AzureEnvironmentProperties fromAzureManagementEnvironment(com.azure.core.management.AzureEnvironment environment) Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptions
Get the AzureEnvironment fromAzureEnvironment
.- Specified by:
fromAzureManagementEnvironment
in interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions
- Parameters:
environment
- the azure core AzureEnvironment.- Returns:
- the AzureEnvironment implementation.
-
getPortal
- Specified by:
getPortal
in interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions
- Returns:
- The management portal URL.
-
setPortal
Set the management portal URL.- Parameters:
portal
- The management portal URL.
-
getPublishingProfile
- Specified by:
getPublishingProfile
in 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:
getManagementEndpoint
in interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions
- Returns:
- the management service endpoint.
-
setManagementEndpoint
Set the management service endpoint.- Parameters:
managementEndpoint
- the management service endpoint.
-
getResourceManagerEndpoint
- Specified by:
getResourceManagerEndpoint
in interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions
- Returns:
- the resource management endpoint.
-
setResourceManagerEndpoint
Set the resource management endpoint.- Parameters:
resourceManagerEndpoint
- the resource management endpoint.
-
getSqlManagementEndpoint
- Specified by:
getSqlManagementEndpoint
in 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:
getSqlServerHostnameSuffix
in 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:
getGalleryEndpoint
in interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions
- Returns:
- the template gallery endpoint.
-
setGalleryEndpoint
Set the template gallery endpoint.- Parameters:
galleryEndpoint
- the template gallery endpoint.
-
getActiveDirectoryEndpoint
- Specified by:
getActiveDirectoryEndpoint
in 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:
getActiveDirectoryResourceId
in 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:
getActiveDirectoryGraphEndpoint
in 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:
getMicrosoftGraphEndpoint
in interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions
- Returns:
- the Microsoft Graph endpoint.
-
setMicrosoftGraphEndpoint
Set the Microsoft Graph endpoint.- Parameters:
microsoftGraphEndpoint
- the Microsoft Graph endpoint.
-
getDataLakeEndpointResourceId
- Specified by:
getDataLakeEndpointResourceId
in 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:
getActiveDirectoryGraphApiVersion
in 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.AzureEnvironmentOptions
The endpoint suffix for storage accounts.- Specified by:
getStorageEndpointSuffix
in 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:
getKeyVaultDnsSuffix
in 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:
getAzureDataLakeStoreFileSystemEndpointSuffix
in 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:
getAzureDataLakeAnalyticsCatalogAndJobEndpointSuffix
in 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:
getAzureLogAnalyticsEndpoint
in interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions
- Returns:
- the log analytics endpoint.
-
setAzureLogAnalyticsEndpoint
Set the log analytics endpoint.- Parameters:
azureLogAnalyticsEndpoint
- the log analytics endpoint.
-
getAzureApplicationInsightsEndpoint
- Specified by:
getAzureApplicationInsightsEndpoint
in interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions
- Returns:
- the application insights endpoint.
-
setAzureApplicationInsightsEndpoint
Set the application insights endpoint.- Parameters:
azureApplicationInsightsEndpoint
- the application insights endpoint.
-