WebAppBase.UpdateStages.WithSiteConfigs<FluentT> Interface

Type Parameters

FluentT

the type of the resource

public static interface WebAppBase.UpdateStages.WithSiteConfigs

The stage of the web app update allowing other configurations to be set. These configurations can be cloned when creating or swapping with a deployment slot.

Method Summary

Modifier and Type Method and Description
abstract Update<FluentT> withAutoSwapSlotName(String slotName)

Specifies the slot name to auto-swap when a deployment is completed in this web app / deployment slot.

abstract Update<FluentT> withDefaultDocument(String document)

Adds a default document.

abstract Update<FluentT> withDefaultDocuments(List<String> documents)

Adds a list of default documents.

abstract Update<FluentT> withFtpsState(FtpsState ftpsState)

Sets whether the web app supports certain type of FTP(S).

abstract Update<FluentT> withHttp20Enabled(boolean http20Enabled)

Sets whether the web app accepts HTTP 2.0 traffic.

abstract Update<FluentT> withHttpsOnly(boolean httpsOnly)

Sets whether the web app only accepts HTTPS traffic.

abstract WithWebContainer<FluentT> withJavaVersion(JavaVersion version)

Specifies the Java version.

abstract Update<FluentT> withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)

Specifies the managed pipeline mode.

abstract Update<FluentT> withMinTlsVersion(SupportedTlsVersions minTlsVersion)

Sets the minimum version of TLS required for SSL requests.

abstract Update<FluentT> withNetFrameworkVersion(NetFrameworkVersion version)

Specifies the .NET Framework version.

abstract Update<FluentT> withPhpVersion(PhpVersion version)

Specifies the PHP version.

abstract Update<FluentT> withPlatformArchitecture(PlatformArchitecture platform)

Specifies the platform architecture to use.

abstract Update<FluentT> withPythonVersion(PythonVersion version)

Specifies the Python version.

abstract Update<FluentT> withRemoteDebuggingDisabled()

Disables remote debugging.

abstract Update<FluentT> withRemoteDebuggingEnabled(RemoteVisualStudioVersion remoteVisualStudioVersion)

Specifies the Visual Studio version for remote debugging.

abstract Update<FluentT> withVirtualApplications(List<VirtualApplication> virtualApplications)

Sets the virtual applications in the web app.

abstract Update<FluentT> withWebAppAlwaysOn(boolean alwaysOn)

Specifies if the VM powering the web app is always powered on.

abstract Update<FluentT> withWebSocketsEnabled(boolean enabled)

Specifies if web sockets are enabled.

abstract Update<FluentT> withoutDefaultDocument(String document)

Removes a default document.

abstract Update<FluentT> withoutJava()

Turn off Java support.

abstract Update<FluentT> withoutPhp()

Turn off PHP support.

abstract Update<FluentT> withoutPython()

Turn off Python support.

Method Details

withAutoSwapSlotName

public abstract WebAppBase.Update withAutoSwapSlotName(String slotName)

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 web app update

withDefaultDocument

public abstract WebAppBase.Update withDefaultDocument(String document)

Adds a default document.

Parameters:

document - default document

Returns:

the next stage of web app update

withDefaultDocuments

public abstract WebAppBase.Update withDefaultDocuments(List documents)

Adds a list of default documents.

Parameters:

documents - list of default documents

Returns:

the next stage of web app update

withFtpsState

public abstract WebAppBase.Update withFtpsState(FtpsState ftpsState)

Sets whether the web app supports certain type of FTP(S).

Parameters:

ftpsState - the FTP(S) configuration

Returns:

the next stage of web app update

withHttp20Enabled

public abstract WebAppBase.Update withHttp20Enabled(boolean http20Enabled)

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 update

withHttpsOnly

public abstract WebAppBase.Update withHttpsOnly(boolean httpsOnly)

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 update

withJavaVersion

public abstract WebAppBase.UpdateStages.WithWebContainer withJavaVersion(JavaVersion version)

Specifies the Java version.

Parameters:

version - the Java version

Returns:

the next stage of web app update

withManagedPipelineMode

public abstract WebAppBase.Update withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)

Specifies the managed pipeline mode.

Parameters:

managedPipelineMode - managed pipeline mode

Returns:

the next stage of web app update

withMinTlsVersion

public abstract WebAppBase.Update 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

withNetFrameworkVersion

public abstract WebAppBase.Update withNetFrameworkVersion(NetFrameworkVersion version)

Specifies the .NET Framework version.

Parameters:

version - the .NET Framework version

Returns:

the next stage of web app update

withPhpVersion

public abstract WebAppBase.Update withPhpVersion(PhpVersion version)

Specifies the PHP version.

Parameters:

version - the PHP version

Returns:

the next stage of web app update

withPlatformArchitecture

public abstract WebAppBase.Update withPlatformArchitecture(PlatformArchitecture platform)

Specifies the platform architecture to use.

Parameters:

platform - the platform architecture

Returns:

the next stage of web app update

withPythonVersion

public abstract WebAppBase.Update withPythonVersion(PythonVersion version)

Specifies the Python version.

Parameters:

version - the Python version

Returns:

the next stage of web app update

withRemoteDebuggingDisabled

public abstract WebAppBase.Update withRemoteDebuggingDisabled()

Disables remote debugging.

Returns:

the next stage of web app update

withRemoteDebuggingEnabled

public abstract WebAppBase.Update 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 web app update

withVirtualApplications

public abstract WebAppBase.Update withVirtualApplications(List 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 update

withWebAppAlwaysOn

public abstract WebAppBase.Update withWebAppAlwaysOn(boolean alwaysOn)

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 web app update

withWebSocketsEnabled

public abstract WebAppBase.Update withWebSocketsEnabled(boolean enabled)

Specifies if web sockets are enabled.

Parameters:

enabled - true if web sockets are enabled

Returns:

the next stage of web app update

withoutDefaultDocument

public abstract WebAppBase.Update withoutDefaultDocument(String document)

Removes a default document.

Parameters:

document - default document to remove

Returns:

the next stage of web app update

withoutJava

public abstract WebAppBase.Update withoutJava()

Turn off Java support.

Returns:

the next stage of web app update

withoutPhp

public abstract WebAppBase.Update withoutPhp()

Turn off PHP support.

Returns:

the next stage of the update

withoutPython

public abstract WebAppBase.Update withoutPython()

Turn off Python support.

Returns:

the next stage of web app update

Applies to