你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WebAppBase.UpdateStages.WithAppSettings<FluentT> Interface
Type Parameters
- FluentT
the type of the resource
public interface WithAppSettings
A web app update stage allowing app settings to be set.
Method Summary
Modifier and Type | Method and Description |
---|---|
Web |
withAppSetting(String key, String value)
Adds an app setting to the web app. |
Web |
withAppSettings(Map<String, String> settings)
Specifies the app settings for the web app as a Map. |
Web |
withAppSettingStickiness(String key, boolean sticky)
Changes the stickiness of an app setting. |
Web |
withoutAppSetting(String key)
Removes an app setting from the web app. |
Web |
withStickyAppSetting(String key, String value)
Adds an app setting to the web app. This app setting will stay at the slot during a swap. |
Web |
withStickyAppSettings(Map<String, String> settings)
Specifies the app settings for the web app as a Map. These app settings will stay at the slot during a swap. |
Method Details
withAppSetting
public Update
Adds an app setting to the web app.
Parameters:
Returns:
withAppSettings
public Update
Specifies the app settings for the web app as a Map.
Parameters:
Returns:
withAppSettingStickiness
public Update
Changes the stickiness of an app setting.
Parameters:
Returns:
withoutAppSetting
public Update
Removes an app setting from the web app.
Parameters:
Returns:
withStickyAppSetting
public Update
Adds an app setting to the web app. This app setting will stay at the slot during a swap.
Parameters:
Returns:
withStickyAppSettings
public Update
Specifies the app settings for the web app as a Map. These app settings will stay at the slot during a swap.
Parameters:
Returns: