Interface WebAppBase.DefinitionStages.WithConnectionString<FluentT>

Type Parameters:
FluentT - the type of the resource
All Known Subinterfaces:
DeploymentSlot.Definition, DeploymentSlot.DefinitionStages.WithCreate, FunctionApp.Definition, FunctionApp.DefinitionStages.WithCreate, FunctionDeploymentSlot.Definition, FunctionDeploymentSlot.DefinitionStages.WithCreate, WebApp.Definition, WebApp.DefinitionStages.WithCreate, WebApp.DefinitionStages.WithStartUpCommand, WebApp.DefinitionStages.WithWindowsAppFramework, WebAppBase.Definition<FluentT>, WebAppBase.DefinitionStages.WithCreate<FluentT>, WebAppBase.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate<FluentT>, WebAppBase.DefinitionStages.WithUserAssignedManagedServiceIdentityBasedAccessOrCreate<FluentT>
Enclosing interface:
WebAppBase.DefinitionStages

public static interface WebAppBase.DefinitionStages.WithConnectionString<FluentT>
A web app definition stage allowing connection strings to be set.
  • Method Details

    • withConnectionString

      Adds a connection string to the web app.
      Parameters:
      name - the name of the connection string
      value - the connection string value
      type - the connection string type
      Returns:
      the next stage of the definition
    • withStickyConnectionString

      WebAppBase.DefinitionStages.WithCreate<FluentT> withStickyConnectionString(String name, String value, ConnectionStringType type)
      Adds a connection string to the web app. This connection string will be swapped as well after a deployment slot swap.
      Parameters:
      name - the name of the connection string
      value - the connection string value
      type - the connection string type
      Returns:
      the next stage of the definition