Interface WebAppBase.UpdateStages.WithAppSettings<FluentT>
- Type Parameters:
FluentT
- the type of the resource
- All Known Subinterfaces:
DeploymentSlot.Update
,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
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
.withAppSettingStickiness
(String key, boolean sticky) Changes the stickiness of an app setting.withoutAppSetting
(String key) Removes an app setting from the web app.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 web app update
-
withAppSettings
Specifies the app settings for the web app as aMap
.- Parameters:
settings
- aMap
of app settings- Returns:
- the next stage of the web app update
-
withStickyAppSetting
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
Specifies the app settings for the web app as aMap
. These app settings will stay at the slot during a swap.- Parameters:
settings
- aMap
of app settings- Returns:
- the next stage of the web app update
-
withoutAppSetting
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
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
-