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 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.Return the Active Directory login endpoint.Return the Active Directory api version.Return the Active Directory Graph endpoint.Return the resource ID to obtain AD tokens for.Return the application insights endpoint.Return the data lake analytics job and catalog service dns suffix.Return the data lake store filesystem service dns suffix.Return the log analytics endpoint.Return the Data Lake resource ID.Return the template gallery endpoint.Return the key vault service dns suffix.Return the management service endpoint.Return the Microsoft Graph endpoint.Return the management portal URL.Return the publishing settings file URL.Return the resource management endpoint.Return the domain name of Service Bus.Return the sql server management endpoint for mobile commands.Return the dns suffix for sql servers.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_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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the management portal URL.- Specified by:
getPortalin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- The management portal URL.
-
setPortal
Set the management portal URL.- Parameters:
portal- The management portal URL.
-
getPublishingProfile
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the publishing settings file URL.- 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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the management service endpoint.- Specified by:
getManagementEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the management service endpoint.
-
setManagementEndpoint
Set the management service endpoint.- Parameters:
managementEndpoint- the management service endpoint.
-
getResourceManagerEndpoint
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the resource management endpoint.- Specified by:
getResourceManagerEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the resource management endpoint.
-
setResourceManagerEndpoint
Set the resource management endpoint.- Parameters:
resourceManagerEndpoint- the resource management endpoint.
-
getSqlManagementEndpoint
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the sql server management endpoint for mobile commands.- 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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the dns suffix for sql servers.- 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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the template gallery endpoint.- Specified by:
getGalleryEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the template gallery endpoint.
-
setGalleryEndpoint
Set the template gallery endpoint.- Parameters:
galleryEndpoint- the template gallery endpoint.
-
getActiveDirectoryEndpoint
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the Active Directory login endpoint.- 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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the resource ID to obtain AD tokens for.- 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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the Active Directory Graph endpoint.- 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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the Microsoft Graph endpoint.- Specified by:
getMicrosoftGraphEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the Microsoft Graph endpoint.
-
setMicrosoftGraphEndpoint
Set the Microsoft Graph endpoint.- Parameters:
microsoftGraphEndpoint- the Microsoft Graph endpoint.
-
getDataLakeEndpointResourceId
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the Data Lake resource ID.- 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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the Active Directory api version.- 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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the key vault service dns suffix.- 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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the data lake store filesystem service dns suffix.- 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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the data lake analytics job and catalog service dns suffix.- 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
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the log analytics endpoint.- Specified by:
getAzureLogAnalyticsEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the log analytics endpoint.
-
setAzureLogAnalyticsEndpoint
Set the log analytics endpoint.- Parameters:
azureLogAnalyticsEndpoint- the log analytics endpoint.
-
getAzureApplicationInsightsEndpoint
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the application insights endpoint.- Specified by:
getAzureApplicationInsightsEndpointin interfaceAzureProfileOptionsProvider.AzureEnvironmentOptions- Returns:
- the application insights endpoint.
-
setAzureApplicationInsightsEndpoint
Set the application insights endpoint.- Parameters:
azureApplicationInsightsEndpoint- the application insights endpoint.
-
getServiceBusDomainName
Description copied from interface:AzureProfileOptionsProvider.AzureEnvironmentOptionsReturn the domain name of Service Bus.- 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.
-