UrlRewriteActionParameters interface
定义 URL 重写作的参数。
属性
| destination | 定义上述请求将重写的相对 URL。 |
| preserve |
是否保留不匹配的路径。 默认值为 true。 |
| source |
定义一个请求 URI 模式,该模式标识可能重写的请求类型。 如果值为空,则匹配所有字符串。 |
| type |
属性详细信息
destination
定义上述请求将重写的相对 URL。
destination: string
属性值
string
preserveUnmatchedPath
是否保留不匹配的路径。 默认值为 true。
preserveUnmatchedPath?: boolean
属性值
boolean
sourcePattern
定义一个请求 URI 模式,该模式标识可能重写的请求类型。 如果值为空,则匹配所有字符串。
sourcePattern: string
属性值
string
typeName
typeName: "DeliveryRuleUrlRewriteActionParameters"
属性值
"DeliveryRuleUrlRewriteActionParameters"