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

IDefinition<ReturnT> 接口

定义

整个应用程序网关重定向配置定义。

public interface IDefinition<ReturnT> : Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRedirectConfiguration.Definition.IBlank<ReturnT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRedirectConfiguration.Definition.IWithAttach<ReturnT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRedirectConfiguration.Definition.IWithAttachAndPath<ReturnT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRedirectConfiguration.Definition.IWithPathIncluded<ReturnT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRedirectConfiguration.Definition.IWithQueryStringIncluded<ReturnT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRedirectConfiguration.Definition.IWithTarget<ReturnT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRedirectConfiguration.Definition.IWithType<ReturnT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ReturnT>
type IDefinition<'ReturnT> = interface
    interface IBlank<'ReturnT>
    interface IWithType<'ReturnT>
    interface IWithAttach<'ReturnT>
    interface IInDefinition<'ReturnT>
    interface IWithQueryStringIncluded<'ReturnT>
    interface IWithAttachAndPath<'ReturnT>
    interface IWithPathIncluded<'ReturnT>
    interface IWithTarget<'ReturnT>
Public Interface IDefinition(Of ReturnT)
Implements IBlank(Of ReturnT), IInDefinition(Of ReturnT), IWithAttach(Of ReturnT), IWithAttachAndPath(Of ReturnT), IWithPathIncluded(Of ReturnT), IWithQueryStringIncluded(Of ReturnT), IWithTarget(Of ReturnT), IWithType(Of ReturnT)

类型参数

ReturnT

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

实现

方法

Attach()

整个应用程序网关重定向配置定义。

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

指定路径应包含在重定向的 URL 中。 请注意,仅当重定向的目标是侦听器时,此设置才有效,而不是 URL。

(继承自 IWithPathIncluded<ReturnT>)
WithQueryStringIncluded()

指定查询字符串应包含在重定向的 URL 中。

(继承自 IWithQueryStringIncluded<ReturnT>)
WithTargetListener(String)

指定要重定向到的此应用程序网关上的侦听器。

(继承自 IWithTarget<ReturnT>)
WithTargetUrl(String)

指定要重定向到的 URL。

(继承自 IWithTarget<ReturnT>)
WithType(ApplicationGatewayRedirectType)

指定重定向类型。

(继承自 IWithType<ReturnT>)

适用于