Interface WebAppBase.UpdateStages.WithAppSettings<FluentT>
-
- Type Parameters:
FluentT- the type of the resource
- All Known Subinterfaces:
DeploymentSlotBase.Update<FluentT>,FunctionApp.Update,WebApp.Update,WebApp.UpdateStages.WithStartUpCommand,WebAppBase.Update<FluentT>
- Enclosing interface:
- WebAppBase.UpdateStages
public static interface WebAppBase.UpdateStages.WithAppSettings<FluentT>A web app update stage allowing app settings to be set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebAppBase.Update<FluentT>withAppSetting(String key, String value)Adds an app setting to the web app.WebAppBase.Update<FluentT>withAppSettings(Map<String,String> settings)Specifies the app settings for the web app as aMap.WebAppBase.Update<FluentT>withAppSettingStickiness(String key, boolean sticky)Changes the stickiness of an app setting.WebAppBase.Update<FluentT>withoutAppSetting(String key)Removes an app setting from the web app.WebAppBase.Update<FluentT>withStickyAppSetting(String key, String value)Adds an app setting to the web app.WebAppBase.Update<FluentT>withStickyAppSettings(Map<String,String> settings)Specifies the app settings for the web app as aMap.
-
-
-
Method Detail
-
withAppSetting
WebAppBase.Update<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 web app update
-
withAppSettings
WebAppBase.Update<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 web app update
-
withStickyAppSetting
WebAppBase.Update<FluentT> withStickyAppSetting(String key, String value)
Adds an app setting to the web app. This app setting will stay at the slot during a swap.- Parameters:
key- the key for the app settingvalue- the value for the app setting- Returns:
- the next stage of the web app update
-
withStickyAppSettings
WebAppBase.Update<FluentT> withStickyAppSettings(Map<String,String> settings)
Specifies the app settings for the web app as aMap. These app settings will stay at the slot during a swap.- Parameters:
settings- aMapof app settings- Returns:
- the next stage of the web app update
-
withoutAppSetting
WebAppBase.Update<FluentT> withoutAppSetting(String key)
Removes an app setting from the web app.- Parameters:
key- the key of the app setting to remove- Returns:
- the next stage of the web app update
-
withAppSettingStickiness
WebAppBase.Update<FluentT> withAppSettingStickiness(String key, boolean sticky)
Changes the stickiness of an app setting.- Parameters:
key- the key of the app setting to change stickinesssticky- true if the app setting sticks to the slot during a swap- Returns:
- the next stage of the web app update
-
-