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

UrlRewriteActionParameters interface

定义 URL 重写作的参数。

属性

destination

定义上述请求将重写的相对 URL。

preserveUnmatchedPath

是否保留不匹配的路径。 默认值为 true。

sourcePattern

定义一个请求 URI 模式,该模式标识可能重写的请求类型。 如果值为空,则匹配所有字符串。

typeName

属性详细信息

destination

定义上述请求将重写的相对 URL。

destination: string

属性值

string

preserveUnmatchedPath

是否保留不匹配的路径。 默认值为 true。

preserveUnmatchedPath?: boolean

属性值

boolean

sourcePattern

定义一个请求 URI 模式,该模式标识可能重写的请求类型。 如果值为空,则匹配所有字符串。

sourcePattern: string

属性值

string

typeName

typeName: "DeliveryRuleUrlRewriteActionParameters"

属性值

"DeliveryRuleUrlRewriteActionParameters"