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

IWithAttach<ParentT> 接口

定义

应用程序网关请求路由规则定义的最后阶段。 在此阶段,可以指定任何剩余的可选设置,也可以将定义附加到父应用程序网关定义。

public interface IWithAttach<ParentT> : Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithCookieBasedAffinity<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithHostName<ParentT>, Microsoft.Azure.Management.Network.Fluent.HasCookieBasedAffinity.Definition.IWithCookieBasedAffinity<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithAttach<ParentT>>, Microsoft.Azure.Management.Network.Fluent.HasHostName.Definition.IWithHostName<Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithAttach<ParentT>>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IWithAttach<'ParentT> = interface
    interface IInDefinition<'ParentT>
    interface IWithHostName<'ParentT>
    interface IWithHostName<IWithAttach<'ParentT>>
    interface IWithCookieBasedAffinity<'ParentT>
    interface IWithCookieBasedAffinity<IWithAttach<'ParentT>>
Public Interface IWithAttach(Of ParentT)
Implements IInDefinition(Of ParentT), IWithCookieBasedAffinity(Of IWithAttach(Of ParentT)), IWithCookieBasedAffinity(Of ParentT), IWithHostName(Of IWithAttach(Of ParentT)), IWithHostName(Of ParentT)

类型参数

ParentT

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

派生
实现

方法

Attach()

应用程序网关请求路由规则定义的最后阶段。 在此阶段,可以指定任何剩余的可选设置,也可以将定义附加到父应用程序网关定义。

(继承自 IInDefinition<ParentT>)
WithCookieBasedAffinity()

启用基于 Cookie 的相关性。

(继承自 IWithCookieBasedAffinity<ReturnT>)
WithHostName(String)

指定要引用的主机名。

(继承自 IWithHostName<ReturnT>)
WithoutCookieBasedAffinity()

禁用基于 Cookie 的相关性。

(继承自 IWithCookieBasedAffinity<ReturnT>)

适用于