Share via


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

IWithBackendHttpConfigOrRedirect<ParentT> 接口

定义

允许选择后端或重定向配置的应用程序网关请求路由规则定义的阶段。

public interface IWithBackendHttpConfigOrRedirect<ParentT> : Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.UpdateDefinition.IWithBackendHttpConfiguration<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.UpdateDefinition.IWithRedirectConfig<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.UpdateDefinition.IWithRedirectConfigBeta<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IWithBackendHttpConfigOrRedirect<'ParentT> = interface
    interface IWithBackendHttpConfiguration<'ParentT>
    interface IWithRedirectConfig<'ParentT>
    interface IWithRedirectConfigBeta<'ParentT>
    interface IBeta
Public Interface IWithBackendHttpConfigOrRedirect(Of ParentT)
Implements IBeta, IWithBackendHttpConfiguration(Of ParentT), IWithRedirectConfig(Of ParentT), IWithRedirectConfigBeta(Of ParentT)

类型参数

ParentT

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

派生
实现

方法

ToBackendHttpConfiguration(String)

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

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

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

(继承自 IWithBackendHttpConfiguration<ParentT>)
WithRedirectConfiguration(String)

将指定的重定向配置与此请求路由规则相关联。

(继承自 IWithRedirectConfigBeta<ParentT>)

适用于