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

IWithSiteConfigs<FluentT> 接口

定义

允许设置其他配置的 Web 应用更新阶段。 创建或交换部署槽位时,可以克隆这些配置。

public interface IWithSiteConfigs<FluentT>
type IWithSiteConfigs<'FluentT> = interface
Public Interface IWithSiteConfigs(Of FluentT)

类型参数

FluentT

资源类型。

派生

方法

WithAutoSwapSlotName(String)

指定要在此 Web 应用/部署槽中完成部署时自动交换的槽名称。

WithDefaultDocument(String)

添加默认文档。

WithDefaultDocuments(IList<String>)

添加默认文档的列表。

WithFtpsState(FtpsState)

设置 Web 应用是否支持特定类型的 FTP (S) 。

WithHttp20Enabled(Boolean)

设置 Web 应用是否接受 HTTP 2.0 流量。

WithHttpsOnly(Boolean)

设置 Web 应用是否仅接受 HTTPS 流量。

WithJavaVersion(JavaVersion)

指定 Java 版本。

WithManagedPipelineMode(ManagedPipelineMode)

指定托管管道模式。

WithNetFrameworkVersion(NetFrameworkVersion)

指定.NET Framework版本。

WithoutDefaultDocument(String)

删除默认文档。

WithoutJava()

关闭 Java 支持。

WithoutPython()

关闭 Python 支持。

WithPhpVersion(PhpVersion)

指定 PHP 版本。

WithPlatformArchitecture(PlatformArchitecture)

指定要使用的平台体系结构。

WithPythonVersion(PythonVersion)

指定 Python 版本。

WithRemoteDebuggingDisabled()

禁用远程调试。

WithRemoteDebuggingEnabled(RemoteVisualStudioVersion)

指定用于远程调试的 Visual Studio 版本。

WithVirtualApplications(IList<VirtualApplication>)

设置 Web 应用中的虚拟应用程序。

WithWebAppAlwaysOn(Boolean)

指定是否始终打开为 Web 应用供电的 VM。

WithWebSocketsEnabled(Boolean)

指定是否启用 Web 套接字。

适用于