WebAppBase.UpdateStages.WithAppSettings<FluentT> Interface

Type Parameters

FluentT

the type of the resource

public static interface WebAppBase.UpdateStages.WithAppSettings

A web app update stage allowing app settings to be set.

Method Summary

Modifier and Type Method and Description
abstract Update<FluentT> withAppSetting(String key, String value)

Adds an app setting to the web app.

abstract Update<FluentT> withAppSettingStickiness(String key, boolean sticky)

Changes the stickiness of an app setting.

abstract Update<FluentT> withAppSettings(Map<String,String> settings)

Specifies the app settings for the web app as a Map.

abstract Update<FluentT> withStickyAppSetting(String key, String value)

Adds an app setting to the web app.

abstract Update<FluentT> withStickyAppSettings(Map<String,String> settings)

Specifies the app settings for the web app as a Map.

abstract Update<FluentT> withoutAppSetting(String key)

Removes an app setting from the web app.

Method Details

withAppSetting

public abstract WebAppBase.Update withAppSetting(String key, String value)

Adds an app setting to the web app.

Parameters:

key - the key for the app setting
value - the value for the app setting

Returns:

the next stage of the web app update

withAppSettingStickiness

public abstract WebAppBase.Update withAppSettingStickiness(String key, boolean sticky)

Changes the stickiness of an app setting.

Parameters:

key - the key of the app setting to change stickiness
sticky - true if the app setting sticks to the slot during a swap

Returns:

the next stage of the web app update

withAppSettings

public abstract WebAppBase.Update withAppSettings(Map settings)

Specifies the app settings for the web app as a Map.

Parameters:

settings - a Map of app settings

Returns:

the next stage of the web app update

withStickyAppSetting

public abstract WebAppBase.Update 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 setting
value - the value for the app setting

Returns:

the next stage of the web app update

withStickyAppSettings

public abstract WebAppBase.Update withStickyAppSettings(Map settings)

Specifies the app settings for the web app as a Map. These app settings will stay at the slot during a swap.

Parameters:

settings - a Map of app settings

Returns:

the next stage of the web app update

withoutAppSetting

public abstract WebAppBase.Update 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

Applies to