Partager via


WebAppBase.DefinitionStages.WithAppSettings<FluentT> Interface

Type Parameters

FluentT

the type of the resource

public static interface WebAppBase.DefinitionStages.WithAppSettings<FluentT>

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

Method Summary

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

Adds an app setting to the web app.

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

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

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

Adds an app setting to the web app.

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

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

Method Details

withAppSetting

public abstract WebAppBase.DefinitionStages.WithCreate<FluentT> 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 definition

withAppSettings

public abstract WebAppBase.DefinitionStages.WithCreate<FluentT> withAppSettings(Map<String,String> 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 definition

withStickyAppSetting

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

Returns:

the next stage of the definition

withStickyAppSettings

public abstract WebAppBase.DefinitionStages.WithCreate<FluentT> withStickyAppSettings(Map<String,String> settings)

Specifies the app settings for the web app as a Map. These app settings will be swapped as well after a deployment slot swap.

Parameters:

settings - a Map of app settings

Returns:

the next stage of the definition

Applies to