@Validated @ConfigurationProperties(prefix="spring.cloud.azure.appconfiguration") @Import(value=AppConfigurationProviderProperties.class) public class AppConfigurationProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_PREFIX |
static String |
LABEL_SEPARATOR |
| Constructor and Description |
|---|
AppConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
Duration |
getCacheExpiration() |
String |
getDefaultContext() |
AppConfigManagedIdentityProperties |
getManagedIdentity() |
String |
getName() |
String |
getProfileSeparator() |
List<ConfigStore> |
getStores() |
boolean |
isEnabled() |
void |
setCacheExpiration(Duration cacheExpiration)
The minimum time between checks.
|
void |
setDefaultContext(String defaultContext) |
void |
setEnabled(boolean enabled) |
void |
setManagedIdentity(AppConfigManagedIdentityProperties managedIdentity) |
void |
setName(String name) |
void |
setProfileSeparator(String profileSeparator) |
void |
setStores(List<ConfigStore> stores) |
void |
validateAndInit() |
public static final String CONFIG_PREFIX
public static final String LABEL_SEPARATOR
public boolean isEnabled()
public void setEnabled(boolean enabled)
public List<ConfigStore> getStores()
public void setStores(List<ConfigStore> stores)
public String getDefaultContext()
public void setDefaultContext(String defaultContext)
@Nullable public String getName()
public void setName(@Nullable
String name)
public AppConfigManagedIdentityProperties getManagedIdentity()
public void setManagedIdentity(AppConfigManagedIdentityProperties managedIdentity)
public String getProfileSeparator()
public void setProfileSeparator(String profileSeparator)
public Duration getCacheExpiration()
public void setCacheExpiration(Duration cacheExpiration)
cacheExpiration - minimum time between refresh checks@PostConstruct public void validateAndInit()
Copyright © 2020 Microsoft. All rights reserved.