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

ApplicationGatewayRedirectConfigurationPropertiesFormat interface

应用程序网关的重定向配置的属性。

属性

includePath

在重定向 URL 中包含路径。

includeQueryString

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

pathRules

指定重定向配置的路径规则。

redirectType

HTTP 重定向类型。

requestRoutingRules

指定重定向配置的请求路由。

targetListener

引用侦听器以将请求重定向到该请求。

targetUrl

将请求重定向到的 URL。

urlPathMaps

指定默认重定向配置的 URL 路径映射。

属性详细信息

includePath

在重定向 URL 中包含路径。

includePath?: boolean

属性值

boolean

includeQueryString

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

includeQueryString?: boolean

属性值

boolean

pathRules

指定重定向配置的路径规则。

pathRules?: SubResource[]

属性值

redirectType

HTTP 重定向类型。

redirectType?: "Permanent" | "Found" | "SeeOther" | "Temporary"

属性值

"Permanent" | "Found" | "SeeOther" | "Temporary"

requestRoutingRules

指定重定向配置的请求路由。

requestRoutingRules?: SubResource[]

属性值

targetListener

引用侦听器以将请求重定向到该请求。

targetListener?: SubResource

属性值

targetUrl

将请求重定向到的 URL。

targetUrl?: string

属性值

string

urlPathMaps

指定默认重定向配置的 URL 路径映射。

urlPathMaps?: SubResource[]

属性值