Interface WebAppBase.DefinitionStages.WithSiteConfigs<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.WithSiteConfigs<FluentT>
A web app definition stage allowing other configurations to be set. These configurations
can be cloned when creating or swapping with a deployment slot.
-
Method Summary
Modifier and TypeMethodDescriptionwithAutoSwapSlotName
(String slotName) Specifies the slot name to auto-swap when a deployment is completed in this web app / deployment slot.withDefaultDocument
(String document) Adds a default document.withDefaultDocuments
(List<String> documents) Adds a list of default documents.withFtpsState
(FtpsState ftpsState) Sets whether the web app supports certain type of FTP(S).withHttp20Enabled
(boolean http20Enabled) Sets whether the web app accepts HTTP 2.0 traffic.withHttpsOnly
(boolean httpsOnly) Sets whether the web app only accepts HTTPS traffic.withJavaVersion
(JavaVersion version) Specifies the Java version.withManagedPipelineMode
(ManagedPipelineMode managedPipelineMode) Specifies the managed pipeline mode.withMinTlsVersion
(SupportedTlsVersions minTlsVersion) Sets the minimum version of TLS required for SSL requests.Specifies the .NET Framework version.withoutDefaultDocument
(String document) Removes a default document.Turn off PHP support.withPhpVersion
(PhpVersion version) Specifies the PHP version.withPlatformArchitecture
(PlatformArchitecture platform) Specifies the platform architecture to use.withPythonVersion
(PythonVersion version) Specifies the Python version.Disables remote debugging.withRemoteDebuggingEnabled
(RemoteVisualStudioVersion remoteVisualStudioVersion) Specifies the Visual Studio version for remote debugging.withVirtualApplications
(List<VirtualApplication> virtualApplications) Sets the virtual applications in the web app.withWebAppAlwaysOn
(boolean alwaysOn) Specifies if the VM powering the web app is always powered on.withWebSocketsEnabled
(boolean enabled) Specifies if web sockets are enabled.
-
Method Details
-
withNetFrameworkVersion
WebAppBase.DefinitionStages.WithCreate<FluentT> withNetFrameworkVersion(NetFrameworkVersion version) Specifies the .NET Framework version.- Parameters:
version
- the .NET Framework version- Returns:
- the next stage of the definition
-
withPhpVersion
Specifies the PHP version.- Parameters:
version
- the PHP version- Returns:
- the next stage of the definition
-
withoutPhp
WebAppBase.DefinitionStages.WithCreate<FluentT> withoutPhp()Turn off PHP support.- Returns:
- the next stage of the definition
-
withJavaVersion
Specifies the Java version.- Parameters:
version
- the Java version- Returns:
- the next stage of the definition
-
withPythonVersion
Specifies the Python version.- Parameters:
version
- the Python version- Returns:
- the next stage of the definition
-
withPlatformArchitecture
WebAppBase.DefinitionStages.WithCreate<FluentT> withPlatformArchitecture(PlatformArchitecture platform) Specifies the platform architecture to use.- Parameters:
platform
- the platform architecture- Returns:
- the next stage of the definition
-
withWebSocketsEnabled
Specifies if web sockets are enabled.- Parameters:
enabled
- true if web sockets are enabled- Returns:
- the next stage of the definition
-
withWebAppAlwaysOn
Specifies if the VM powering the web app is always powered on.- Parameters:
alwaysOn
- true if the web app is always powered on- Returns:
- the next stage of the definition
-
withManagedPipelineMode
WebAppBase.DefinitionStages.WithCreate<FluentT> withManagedPipelineMode(ManagedPipelineMode managedPipelineMode) Specifies the managed pipeline mode.- Parameters:
managedPipelineMode
- managed pipeline mode- Returns:
- the next stage of the definition
-
withAutoSwapSlotName
Specifies the slot name to auto-swap when a deployment is completed in this web app / deployment slot.- Parameters:
slotName
- the name of the slot, or 'production', to auto-swap- Returns:
- the next stage of the definition
-
withRemoteDebuggingEnabled
WebAppBase.DefinitionStages.WithCreate<FluentT> withRemoteDebuggingEnabled(RemoteVisualStudioVersion remoteVisualStudioVersion) Specifies the Visual Studio version for remote debugging.- Parameters:
remoteVisualStudioVersion
- the Visual Studio version for remote debugging- Returns:
- the next stage of the definition
-
withRemoteDebuggingDisabled
WebAppBase.DefinitionStages.WithCreate<FluentT> withRemoteDebuggingDisabled()Disables remote debugging.- Returns:
- the next stage of the definition
-
withDefaultDocument
Adds a default document.- Parameters:
document
- default document- Returns:
- the next stage of the definition
-
withDefaultDocuments
Adds a list of default documents.- Parameters:
documents
- list of default documents- Returns:
- the next stage of the definition
-
withoutDefaultDocument
Removes a default document.- Parameters:
document
- default document to remove- Returns:
- the next stage of the definition
-
withHttpsOnly
Sets whether the web app only accepts HTTPS traffic.- Parameters:
httpsOnly
- true if the web app only accepts HTTPS traffic- Returns:
- the next stage of web app definition
-
withHttp20Enabled
Sets whether the web app accepts HTTP 2.0 traffic.- Parameters:
http20Enabled
- true if the web app accepts HTTP 2.0 traffic- Returns:
- the next stage of web app definition
-
withFtpsState
Sets whether the web app supports certain type of FTP(S).- Parameters:
ftpsState
- the FTP(S) configuration- Returns:
- the next stage of web app definition
-
withVirtualApplications
WebAppBase.DefinitionStages.WithCreate<FluentT> withVirtualApplications(List<VirtualApplication> virtualApplications) Sets the virtual applications in the web app.- Parameters:
virtualApplications
- the list of virtual applications in the web app- Returns:
- the next stage of web app definition
-
withMinTlsVersion
WebAppBase.DefinitionStages.WithCreate<FluentT> withMinTlsVersion(SupportedTlsVersions minTlsVersion) Sets the minimum version of TLS required for SSL requests.- Parameters:
minTlsVersion
- the minimum version of TLS required for SSL requests.- Returns:
- the next stage of web app definition
-