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 Details

    • withAppSetting

      WebAppBase.Update<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 web app update
    • withAppSettings

      WebAppBase.Update<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 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 setting
      value - 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 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

      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 stickiness
      sticky - true if the app setting sticks to the slot during a swap
      Returns:
      the next stage of the web app update