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.WithWindowsRuntimeStack
,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 Summary
Modifier and TypeMethodDescriptionwithConnectionString
(String name, String value, ConnectionStringType type) Adds a connection string to the web app.withStickyConnectionString
(String name, String value, ConnectionStringType type) Adds a connection string to the web app.
-
Method Details
-
withConnectionString
WebAppBase.DefinitionStages.WithCreate<FluentT> withConnectionString(String name, String value, ConnectionStringType type) Adds a connection string to the web app.- Parameters:
name
- the name of the connection stringvalue
- the connection string valuetype
- 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 stringvalue
- the connection string valuetype
- the connection string type- Returns:
- the next stage of the definition
-