Interface WebAppBase.DefinitionStages.WithAppSettings<FluentT>
- Type Parameters:
FluentT- the type of the resource
- All Known Subinterfaces:
DeploymentSlot.Definition,DeploymentSlot.DefinitionStages.WithCreate,FunctionApp.Definition,FunctionApp.DefinitionStages.WithCreate,FunctionDeploymentSlot.Definition,FunctionDeploymentSlot.DefinitionStages.WithCreate,WebApp.Definition,WebApp.DefinitionStages.WithCreate,WebApp.DefinitionStages.WithStartUpCommand,WebApp.DefinitionStages.WithWindowsRuntimeStack,WebAppBase.Definition<FluentT>,WebAppBase.DefinitionStages.WithCreate<FluentT>,WebAppBase.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate<FluentT>,WebAppBase.DefinitionStages.WithUserAssignedManagedServiceIdentityBasedAccessOrCreate<FluentT>
- Enclosing interface:
- WebAppBase.DefinitionStages
public static interface WebAppBase.DefinitionStages.WithAppSettings<FluentT>
A web app definition stage allowing app settings to be set.
-
Method Summary
Modifier and TypeMethodDescriptionwithAppSetting(String key, String value) Adds an app setting to the web app.withAppSettings(Map<String, String> settings) Specifies the app settings for the web app as aMap.withStickyAppSetting(String key, String value) Adds an app setting to the web app.withStickyAppSettings(Map<String, String> settings) Specifies the app settings for the web app as aMap.
-
Method Details
-
withAppSetting
Adds an app setting to the web app.- Parameters:
key- the key for the app settingvalue- the value for the app setting- Returns:
- the next stage of the definition
-
withAppSettings
Specifies the app settings for the web app as aMap.- Parameters:
settings- aMapof app settings- Returns:
- the next stage of the definition
-
withStickyAppSetting
Adds an app setting to the web app. This app setting will be swapped as well after a deployment slot swap.- Parameters:
key- the key for the app settingvalue- the value for the app setting- Returns:
- the next stage of the definition
-
withStickyAppSettings
Specifies the app settings for the web app as aMap. These app settings will be swapped as well after a deployment slot swap.- Parameters:
settings- aMapof app settings- Returns:
- the next stage of the definition
-