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

IWithBackendHttpConfigurationOrSni<ParentT> 接口

定义

应用程序网关请求路由规则定义的阶段,允许在应用程序网关为其后端中的多个网站提供服务并且需要 SSL 时要求服务器名称指示。

public interface IWithBackendHttpConfigurationOrSni<ParentT> : Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.UpdateDefinition.IWithBackendHttpConfiguration<ParentT>, Microsoft.Azure.Management.Network.Fluent.HasServerNameIndication.UpdateDefinition.IWithServerNameIndication<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.UpdateDefinition.IWithBackendHttpConfiguration<ParentT>>
type IWithBackendHttpConfigurationOrSni<'ParentT> = interface
    interface IWithBackendHttpConfiguration<'ParentT>
    interface IWithServerNameIndication<IWithBackendHttpConfiguration<'ParentT>>
Public Interface IWithBackendHttpConfigurationOrSni(Of ParentT)
Implements IWithBackendHttpConfiguration(Of ParentT), IWithServerNameIndication(Of IWithBackendHttpConfiguration(Of ParentT))

类型参数

ParentT

附加此定义后要返回到的应用程序网关定义的阶段。

派生
实现

方法

ToBackendHttpConfiguration(String)

将指定的后端 HTTP 设置配置与此请求路由规则相关联。 如果后端配置尚不存在,则必须在应用程序网关定义的可选部分中定义后端配置。 请求路由规则仅按名称引用它。

(继承自 IWithBackendHttpConfiguration<ParentT>)
ToBackendHttpPort(Int32)

为指定的后端端口和 HTTP 协议创建后端 HTTP 设置配置,并将其与此请求路由规则相关联。 自动生成的名称将用于此新创建的配置。

(继承自 IWithBackendHttpConfiguration<ParentT>)
WithoutServerNameIndication()

确保不需要 SNI) (服务器名称指示。

(继承自 IWithServerNameIndication<ReturnT>)
WithServerNameIndication()

需要 SNI) (服务器名称指示。

(继承自 IWithServerNameIndication<ReturnT>)

适用于