Partilhar via


WebAppBase.DefinitionStages.WithSiteConfigs<FluentT> Interface

Type Parameters

FluentT

the type of the resource

public static interface WebAppBase.DefinitionStages.WithSiteConfigs

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 Type Method and Description
abstract WithCreate<FluentT> withAutoSwapSlotName(String slotName)

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

abstract WithCreate<FluentT> withDefaultDocument(String document)

Adds a default document.

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

Adds a list of default documents.

abstract WithCreate<FluentT> withFtpsState(FtpsState ftpsState)

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

abstract WithCreate<FluentT> withHttp20Enabled(boolean http20Enabled)

Sets whether the web app accepts HTTP 2.0 traffic.

abstract WithCreate<FluentT> withHttpsOnly(boolean httpsOnly)

Sets whether the web app only accepts HTTPS traffic.

abstract WithWebContainer<FluentT> withJavaVersion(JavaVersion version)

Specifies the Java version.

abstract WithCreate<FluentT> withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)

Specifies the managed pipeline mode.

abstract WithCreate<FluentT> withMinTlsVersion(SupportedTlsVersions minTlsVersion)

Sets the minimum version of TLS required for SSL requests.

abstract WithCreate<FluentT> withNetFrameworkVersion(NetFrameworkVersion version)

Specifies the .NET Framework version.

abstract WithCreate<FluentT> withPhpVersion(PhpVersion version)

Specifies the PHP version.

abstract WithCreate<FluentT> withPlatformArchitecture(PlatformArchitecture platform)

Specifies the platform architecture to use.

abstract WithCreate<FluentT> withPythonVersion(PythonVersion version)

Specifies the Python version.

abstract WithCreate<FluentT> withRemoteDebuggingDisabled()

Disables remote debugging.

abstract WithCreate<FluentT> withRemoteDebuggingEnabled(RemoteVisualStudioVersion remoteVisualStudioVersion)

Specifies the Visual Studio version for remote debugging.

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

Sets the virtual applications in the web app.

abstract WithCreate<FluentT> withWebAppAlwaysOn(boolean alwaysOn)

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

abstract WithCreate<FluentT> withWebSocketsEnabled(boolean enabled)

Specifies if web sockets are enabled.

abstract WithCreate<FluentT> withoutDefaultDocument(String document)

Removes a default document.

Method Details

withAutoSwapSlotName

public abstract WebAppBase.DefinitionStages.WithCreate 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 the definition

withDefaultDocument

public abstract WebAppBase.DefinitionStages.WithCreate withDefaultDocument(String document)

Adds a default document.

Parameters:

document - default document

Returns:

the next stage of the definition

withDefaultDocuments

public abstract WebAppBase.DefinitionStages.WithCreate withDefaultDocuments(List documents)

Adds a list of default documents.

Parameters:

documents - list of default documents

Returns:

the next stage of the definition

withFtpsState

public abstract WebAppBase.DefinitionStages.WithCreate 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 definition

withHttp20Enabled

public abstract WebAppBase.DefinitionStages.WithCreate 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 definition

withHttpsOnly

public abstract WebAppBase.DefinitionStages.WithCreate 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 definition

withJavaVersion

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

Specifies the Java version.

Parameters:

version - the Java version

Returns:

the next stage of the definition

withManagedPipelineMode

public abstract WebAppBase.DefinitionStages.WithCreate withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)

Specifies the managed pipeline mode.

Parameters:

managedPipelineMode - managed pipeline mode

Returns:

the next stage of the definition

withMinTlsVersion

public abstract WebAppBase.DefinitionStages.WithCreate 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.DefinitionStages.WithCreate withNetFrameworkVersion(NetFrameworkVersion version)

Specifies the .NET Framework version.

Parameters:

version - the .NET Framework version

Returns:

the next stage of the definition

withPhpVersion

public abstract WebAppBase.DefinitionStages.WithCreate withPhpVersion(PhpVersion version)

Specifies the PHP version.

Parameters:

version - the PHP version

Returns:

the next stage of the definition

withPlatformArchitecture

public abstract WebAppBase.DefinitionStages.WithCreate withPlatformArchitecture(PlatformArchitecture platform)

Specifies the platform architecture to use.

Parameters:

platform - the platform architecture

Returns:

the next stage of the definition

withPythonVersion

public abstract WebAppBase.DefinitionStages.WithCreate withPythonVersion(PythonVersion version)

Specifies the Python version.

Parameters:

version - the Python version

Returns:

the next stage of the definition

withRemoteDebuggingDisabled

public abstract WebAppBase.DefinitionStages.WithCreate withRemoteDebuggingDisabled()

Disables remote debugging.

Returns:

the next stage of the definition

withRemoteDebuggingEnabled

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

withVirtualApplications

public abstract WebAppBase.DefinitionStages.WithCreate 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 definition

withWebAppAlwaysOn

public abstract WebAppBase.DefinitionStages.WithCreate 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 the definition

withWebSocketsEnabled

public abstract WebAppBase.DefinitionStages.WithCreate withWebSocketsEnabled(boolean enabled)

Specifies if web sockets are enabled.

Parameters:

enabled - true if web sockets are enabled

Returns:

the next stage of the definition

withoutDefaultDocument

public abstract WebAppBase.DefinitionStages.WithCreate withoutDefaultDocument(String document)

Removes a default document.

Parameters:

document - default document to remove

Returns:

the next stage of the definition

Applies to