Class DefaultEnvironmentProvider
- java.lang.Object
-
- com.azure.spring.cloud.context.core.impl.DefaultEnvironmentProvider
-
- All Implemented Interfaces:
EnvironmentProvider
public class DefaultEnvironmentProvider extends Object implements EnvironmentProvider
AEnvironmentProvider
implementation that based onAzureProperties
.- Author:
- Warren Zhu
-
-
Constructor Summary
Constructors Constructor Description DefaultEnvironmentProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.management.AzureEnvironment
getEnvironment()
Gets the Azure environment.void
setEnvironment(com.azure.core.management.AzureEnvironment environment)
Sets the Azure environment.
-
-
-
Method Detail
-
getEnvironment
public com.azure.core.management.AzureEnvironment getEnvironment()
Description copied from interface:EnvironmentProvider
Gets the Azure environment.- Specified by:
getEnvironment
in interfaceEnvironmentProvider
- Returns:
- The Azure environment.
-
setEnvironment
public void setEnvironment(com.azure.core.management.AzureEnvironment environment)
Sets the Azure environment.- Parameters:
environment
- The Azure environment.
-
-