你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebAppBase.DefinitionStages.WithSiteConfigs<FluentT> Interface

Type Parameters

FluentT

the type of the resource

public interface 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
WebAppBase.DefinitionStages.WithCreate<FluentT> withAutoSwapSlotName(String slotName)

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

WebAppBase.DefinitionStages.WithCreate<FluentT> withDefaultDocument(String document)

Adds a default document.

WebAppBase.DefinitionStages.WithCreate<FluentT> withDefaultDocuments(List<String> documents)

Adds a list of default documents.

WebAppBase.DefinitionStages.WithWebContainer<FluentT> withJavaVersion(JavaVersion version)

Specifies the Java version.

WebAppBase.DefinitionStages.WithCreate<FluentT> withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)

Specifies the managed pipeline mode.

WebAppBase.DefinitionStages.WithCreate<FluentT> withNetFrameworkVersion(NetFrameworkVersion version)

Specifies the .NET Framework version.

WebAppBase.DefinitionStages.WithCreate<FluentT> withoutDefaultDocument(String document)

Removes a default document.

WebAppBase.DefinitionStages.WithCreate<FluentT> withoutPhp()

Turn off PHP support.

WebAppBase.DefinitionStages.WithCreate<FluentT> withPhpVersion(PhpVersion version)

Specifies the PHP version.

WebAppBase.DefinitionStages.WithCreate<FluentT> withPlatformArchitecture(PlatformArchitecture platform)

Specifies the platform architecture to use.

WebAppBase.DefinitionStages.WithCreate<FluentT> withPythonVersion(PythonVersion version)

Specifies the Python version.

WebAppBase.DefinitionStages.WithCreate<FluentT> withRemoteDebuggingDisabled()

Disables remote debugging.

WebAppBase.DefinitionStages.WithCreate<FluentT> withRemoteDebuggingEnabled(RemoteVisualStudioVersion remoteVisualStudioVersion)

Specifies the Visual Studio version for remote debugging.

WebAppBase.DefinitionStages.WithCreate<FluentT> withWebAppAlwaysOn(boolean alwaysOn)

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

WebAppBase.DefinitionStages.WithCreate<FluentT> withWebSocketsEnabled(boolean enabled)

Specifies if web sockets are enabled.

Method Details

withAutoSwapSlotName

public 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 WithCreate withDefaultDocument(String document)

Adds a default document.

Parameters:

document - default document

Returns:

the next stage of the definition

withDefaultDocuments

public WithCreate withDefaultDocuments(List documents)

Adds a list of default documents.

Parameters:

documents - list of default documents

Returns:

the next stage of the definition

withJavaVersion

public WithWebContainer withJavaVersion(JavaVersion version)

Specifies the Java version.

Parameters:

version - the Java version

Returns:

the next stage of the definition

withManagedPipelineMode

public WithCreate withManagedPipelineMode(ManagedPipelineMode managedPipelineMode)

Specifies the managed pipeline mode.

Parameters:

managedPipelineMode - managed pipeline mode

Returns:

the next stage of the definition

withNetFrameworkVersion

public WithCreate withNetFrameworkVersion(NetFrameworkVersion version)

Specifies the .NET Framework version.

Parameters:

version - the .NET Framework version

Returns:

the next stage of the definition

withoutDefaultDocument

public WithCreate withoutDefaultDocument(String document)

Removes a default document.

Parameters:

document - default document to remove

Returns:

the next stage of the definition

withoutPhp

public WithCreate withoutPhp()

Turn off PHP support.

Returns:

the next stage of the definition

withPhpVersion

public WithCreate withPhpVersion(PhpVersion version)

Specifies the PHP version.

Parameters:

version - the PHP version

Returns:

the next stage of the definition

withPlatformArchitecture

public WithCreate withPlatformArchitecture(PlatformArchitecture platform)

Specifies the platform architecture to use.

Parameters:

platform - the platform architecture

Returns:

the next stage of the definition

withPythonVersion

public WithCreate withPythonVersion(PythonVersion version)

Specifies the Python version.

Parameters:

version - the Python version

Returns:

the next stage of the definition

withRemoteDebuggingDisabled

public WithCreate withRemoteDebuggingDisabled()

Disables remote debugging.

Returns:

the next stage of the definition

withRemoteDebuggingEnabled

public 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

withWebAppAlwaysOn

public 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 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

Applies to