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.WithWindowsAppFramework,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebAppBase.DefinitionStages.WithCreate<FluentT>withAppSetting(String key, String value)Adds an app setting to the web app.WebAppBase.DefinitionStages.WithCreate<FluentT>withAppSettings(Map<String,String> settings)Specifies the app settings for the web app as aMap.WebAppBase.DefinitionStages.WithCreate<FluentT>withStickyAppSetting(String key, String value)Adds an app setting to the web app.WebAppBase.DefinitionStages.WithCreate<FluentT>withStickyAppSettings(Map<String,String> settings)Specifies the app settings for the web app as aMap.
-
-
-
Method Detail
-
withAppSetting
WebAppBase.DefinitionStages.WithCreate<FluentT> withAppSetting(String key, String value)
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
WebAppBase.DefinitionStages.WithCreate<FluentT> withAppSettings(Map<String,String> settings)
Specifies the app settings for the web app as aMap.- Parameters:
settings- aMapof app settings- Returns:
- the next stage of the definition
-
withStickyAppSetting
WebAppBase.DefinitionStages.WithCreate<FluentT> withStickyAppSetting(String key, String value)
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
WebAppBase.DefinitionStages.WithCreate<FluentT> withStickyAppSettings(Map<String,String> settings)
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
-
-