Share via


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

IWithBackendAddressOrAttach<ParentT> 接口

定义

应用程序网关请求路由规则定义的阶段,允许添加更多后端地址、开始指定可选设置或通过将其附加到父应用程序网关来完成定义。

public interface IWithBackendAddressOrAttach<ParentT> : Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithAttach<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendAddress<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.Definition.IWithBackendAddressBeta<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>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IWithBackendAddressOrAttach<'ParentT> = interface
    interface IWithBackendAddress<'ParentT>
    interface IWithBackendAddressBeta<'ParentT>
    interface IBeta
    interface IWithAttach<'ParentT>
    interface IInDefinition<'ParentT>
    interface IWithHostName<'ParentT>
    interface IWithHostName<IWithAttach<'ParentT>>
    interface IWithCookieBasedAffinity<'ParentT>
    interface IWithCookieBasedAffinity<IWithAttach<'ParentT>>
Public Interface IWithBackendAddressOrAttach(Of ParentT)
Implements IBeta, IInDefinition(Of ParentT), IWithAttach(Of ParentT), IWithBackendAddress(Of ParentT), IWithBackendAddressBeta(Of ParentT), IWithCookieBasedAffinity(Of IWithAttach(Of ParentT)), IWithCookieBasedAffinity(Of ParentT), IWithHostName(Of IWithAttach(Of ParentT)), IWithHostName(Of ParentT)

类型参数

ParentT

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

派生
实现

方法

Attach()

应用程序网关请求路由规则定义的阶段,允许添加更多后端地址、开始指定可选设置或通过将其附加到父应用程序网关来完成定义。

(继承自 IInDefinition<ParentT>)
ToBackendFqdn(String)

将 FQDN (完全限定的域名) 添加到与此规则关联的后端。 如果尚未与此规则关联任何后端,则将创建一个具有自动生成名称的新后端。 此调用可以按顺序用于添加多个 FQDN。

(继承自 IWithBackendAddress<ParentT>)
ToBackendIPAddress(String)

将 IP 地址添加到与此规则关联的后端。 如果尚未与此规则关联任何后端,则将创建一个具有自动生成名称的新后端。 此调用可以按顺序用于添加多个 IP 地址。

(继承自 IWithBackendAddress<ParentT>)
ToBackendIPAddresses(String[])

将指定的 IP 地址添加到与此规则关联的后端。

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

启用基于 Cookie 的相关性。

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

指定要引用的主机名。

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

禁用基于 Cookie 的相关性。

(继承自 IWithCookieBasedAffinity<ReturnT>)

适用于