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

IWithWindowsRuntimeStack 接口

定义

允许指定 Windows 操作系统上的运行时堆栈的 Web 应用定义。

public interface IWithWindowsRuntimeStack : Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithContainerImage, Microsoft.Azure.Management.AppService.Fluent.WebApp.Definition.IWithCreate, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithAppSettings<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithAuthentication<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithClientAffinityEnabled<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithClientCertEnabled<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithConnectionString<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithDiagnosticLogging<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithHostNameBinding<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithHostNameSslBinding<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithManagedServiceIdentity<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithScmSiteAlsoStopped<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithSiteConfigs<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithSourceControl<Microsoft.Azure.Management.AppService.Fluent.IWebApp>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.AppService.Fluent.WebAppBase.Definition.IWithCreate<Microsoft.Azure.Management.AppService.Fluent.IWebApp>>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.AppService.Fluent.IWebApp>
type IWithWindowsRuntimeStack = interface
    interface IWithContainerImage
    interface IWithCreate
    interface ICreatable<IWebApp>
    interface IIndexable
    interface IWithCreate<IWebApp>
    interface IDefinitionWithTags<IWithCreate<IWebApp>>
    interface IWithClientAffinityEnabled<IWebApp>
    interface IWithClientCertEnabled<IWebApp>
    interface IWithScmSiteAlsoStopped<IWebApp>
    interface IWithSiteConfigs<IWebApp>
    interface IWithAppSettings<IWebApp>
    interface IWithConnectionString<IWebApp>
    interface IWithSourceControl<IWebApp>
    interface IWithHostNameBinding<IWebApp>
    interface IWithHostNameSslBinding<IWebApp>
    interface IWithAuthentication<IWebApp>
    interface IWithDiagnosticLogging<IWebApp>
    interface IBeta
    interface IWithManagedServiceIdentity<IWebApp>
Public Interface IWithWindowsRuntimeStack
Implements IBeta, ICreatable(Of IWebApp), IDefinitionWithTags(Of IWithCreate(Of IWebApp)), IWithAppSettings(Of IWebApp), IWithAuthentication(Of IWebApp), IWithClientAffinityEnabled(Of IWebApp), IWithClientCertEnabled(Of IWebApp), IWithConnectionString(Of IWebApp), IWithContainerImage, IWithCreate, IWithCreate(Of IWebApp), IWithDiagnosticLogging(Of IWebApp), IWithHostNameBinding(Of IWebApp), IWithHostNameSslBinding(Of IWebApp), IWithManagedServiceIdentity(Of IWebApp), IWithScmSiteAlsoStopped(Of IWebApp), IWithSiteConfigs(Of IWebApp), IWithSourceControl(Of IWebApp)
派生
实现

属性

Key

允许指定 Windows 操作系统上的运行时堆栈的 Web 应用定义。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

(继承自 ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行该请求。

(继承自 ICreatable<T>)
DefineAuthentication()

指定新身份验证配置的定义。

(继承自 IWithAuthentication<FluentT>)
DefineDiagnosticLogsConfiguration()

获取 指定新诊断日志配置的定义。

(继承自 IWithDiagnosticLogging<FluentT>)
DefineHostnameBinding()

启动新主机名绑定的定义。

(继承自 IWithHostNameBinding<FluentT>)
DefineSourceControl()

启动新源代码管理的定义。

(继承自 IWithSourceControl<FluentT>)
DefineSslBinding()

启动 SSL 绑定的定义。

(继承自 IWithHostNameSslBinding<FluentT>)
WithAppSetting(String, String)

将应用设置添加到 Web 应用。

(继承自 IWithAppSettings<FluentT>)
WithAppSettings(IDictionary<String,String>)

将 Web 应用的应用设置指定为地图。

(继承自 IWithAppSettings<FluentT>)
WithAutoSwapSlotName(String)

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

(继承自 IWithSiteConfigs<FluentT>)
WithClientAffinityEnabled(Boolean)

指定是否启用客户端关联。

(继承自 IWithClientAffinityEnabled<FluentT>)
WithClientCertEnabled(Boolean)

指定是否启用客户端证书。

(继承自 IWithClientCertEnabled<FluentT>)
WithConnectionString(String, String, ConnectionStringType)

将连接字符串添加到 Web 应用。

(继承自 IWithConnectionString<FluentT>)
WithContainerLoggingDisabled()

禁用 Linux Web 应用的容器日志记录。

(继承自 IWithDiagnosticLogging<FluentT>)
WithContainerLoggingEnabled()

指定 Linux Web 应用的容器日志记录配置。 日志将存储在文件系统上,最大存储 35 MB。

(继承自 IWithDiagnosticLogging<FluentT>)
WithContainerLoggingEnabled(Int32, Int32)

指定 Linux Web 应用的容器日志记录配置。

(继承自 IWithDiagnosticLogging<FluentT>)
WithDefaultDocument(String)

添加默认文档。

(继承自 IWithSiteConfigs<FluentT>)
WithDefaultDocuments(IList<String>)

添加默认文档的列表。

(继承自 IWithSiteConfigs<FluentT>)
WithFtpsState(FtpsState)

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

(继承自 IWithSiteConfigs<FluentT>)
WithHttp20Enabled(Boolean)

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

(继承自 IWithSiteConfigs<FluentT>)
WithHttpsOnly(Boolean)

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

(继承自 IWithSiteConfigs<FluentT>)
WithJavaVersion(JavaVersion)

指定 Java 版本。

(继承自 IWithSiteConfigs<FluentT>)
WithLocalGitSourceControl()

将源代码管理指定为 Web 应用上的本地 Git 存储库。

(继承自 IWithSourceControl<FluentT>)
WithManagedHostnameBindings(IAppServiceDomain, String[])

定义 Azure 托管域的主机名列表。 DNS 记录类型默认为 CNAME,根级别域 (除外。

(继承自 IWithHostNameBinding<FluentT>)
WithManagedPipelineMode(ManagedPipelineMode)

指定托管管道模式。

(继承自 IWithSiteConfigs<FluentT>)
WithNetFrameworkVersion(NetFrameworkVersion)

指定.NET Framework版本。

(继承自 IWithSiteConfigs<FluentT>)
WithoutDefaultDocument(String)

删除默认文档。

(继承自 IWithSiteConfigs<FluentT>)
WithoutPhp()

关闭 PHP 支持。

(继承自 IWithSiteConfigs<FluentT>)
WithoutSystemAssignedManagedServiceIdentity()

指定需要禁用系统分配 (本地) 托管服务标识。

(继承自 IWithManagedServiceIdentity<FluentT>)
WithPhpVersion(PhpVersion)

指定 PHP 版本。

(继承自 IWithSiteConfigs<FluentT>)
WithPlatformArchitecture(PlatformArchitecture)

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

(继承自 IWithSiteConfigs<FluentT>)
WithPrivateDockerHubImage(String)

将 docker 容器映像指定为Docker Hub中的一个。

(继承自 IWithContainerImage)
WithPrivateRegistryImage(String, String)

将 docker 容器映像指定为专用注册表中的一个。

(继承自 IWithContainerImage)
WithPublicDockerHubImage(String)

将 docker 容器映像指定为Docker Hub中的一个。

(继承自 IWithContainerImage)
WithPythonVersion(PythonVersion)

指定 Python 版本。

(继承自 IWithSiteConfigs<FluentT>)
WithRemoteDebuggingDisabled()

禁用远程调试。

(继承自 IWithSiteConfigs<FluentT>)
WithRemoteDebuggingEnabled(RemoteVisualStudioVersion)

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

(继承自 IWithSiteConfigs<FluentT>)
WithRuntimeStack(WebAppRuntimeStack)

指定 Windows 操作系统上的 Web 应用的运行时堆栈。

WithScmSiteAlsoStopped(Boolean)

指定在 Web 应用停止时是否也停止 SCM 站点。

(继承自 IWithScmSiteAlsoStopped<FluentT>)
WithStickyAppSetting(String, String)

将应用设置添加到 Web 应用。 此应用设置也将在部署槽交换后交换。

(继承自 IWithAppSettings<FluentT>)
WithStickyAppSettings(IDictionary<String,String>)

将 Web 应用的应用设置指定为地图。 这些应用设置也将在部署槽交换后交换。

(继承自 IWithAppSettings<FluentT>)
WithStickyConnectionString(String, String, ConnectionStringType)

将连接字符串添加到 Web 应用。 此连接字符串也将在部署槽交换后交换。

(继承自 IWithConnectionString<FluentT>)
WithSystemAssignedManagedServiceIdentity()

指定需要在 Web 应用中启用系统分配的托管服务标识。

(继承自 IWithManagedServiceIdentity<FluentT>)
WithTag(String, String)

将标记添加到资源。

(继承自 IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

将资源的标记指定为 {@link Map}。

(继承自 IDefinitionWithTags<T>)
WithThirdPartyHostnameBinding(String, String[])

定义外部购买的域的主机名列表。 主机名必须在手前配置为指向 Web 应用。

(继承自 IWithHostNameBinding<FluentT>)
WithUserAssignedManagedServiceIdentity()

指定需要在 Web 应用中启用用户分配的托管服务标识。

(继承自 IWithManagedServiceIdentity<FluentT>)
WithVirtualApplications(IList<VirtualApplication>)

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

(继承自 IWithSiteConfigs<FluentT>)
WithWebAppAlwaysOn(Boolean)

指定为 Web 应用提供支持的 VM 是否始终处于打开状态。

(继承自 IWithSiteConfigs<FluentT>)
WithWebSocketsEnabled(Boolean)

指定是否启用 Web 套接字。

(继承自 IWithSiteConfigs<FluentT>)

适用于