tencentcloud-sdk-nodejs-teo 4.1.23 → 4.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6752,20 +6752,29 @@ export interface ModifyZoneStatusRequest {
|
|
|
6752
6752
|
*/
|
|
6753
6753
|
export interface UpstreamURLRewriteParameters {
|
|
6754
6754
|
/**
|
|
6755
|
-
* 回源 URL
|
|
6755
|
+
* 回源 URL 重写类型。仅支持填写 Path。
|
|
6756
6756
|
*/
|
|
6757
6757
|
Type?: string;
|
|
6758
6758
|
/**
|
|
6759
6759
|
* 回源 URL 重写动作。取值有:
|
|
6760
|
-
<li>replace
|
|
6761
|
-
|
|
6762
|
-
<li>
|
|
6760
|
+
<li><b>replace</b>:指替换完整路径。用于将完整的请求 URL Path 替换为指定路径。
|
|
6761
|
+
</li>
|
|
6762
|
+
<li><b>addPrefix</b>:指增加路径前缀。用于增加指定路径前缀至请求 URL Path。
|
|
6763
|
+
</li>
|
|
6764
|
+
<li><b>rmvPrefix</b>:指移除路径前缀。用于移除请求 URL Path 的指定路径前缀。
|
|
6765
|
+
</li>
|
|
6766
|
+
<li><b>regexReplace</b>:指正则替换完整路径。用于通过 Google RE2 正则表达式匹配和替换完整路径。
|
|
6767
|
+
</li>
|
|
6763
6768
|
*/
|
|
6764
6769
|
Action?: string;
|
|
6765
6770
|
/**
|
|
6766
|
-
* 回源 URL
|
|
6771
|
+
* 回源 URL 重写值。需要满足 URL Path 规范,且保证重写后的 Path 以 / 开头,以防止回源 URL 的 Host 被修改,长度范围为 1~1024。当 Action 为 addPrefix 时,不能以 / 结尾;当 Action 为 rmvPrefix 时,不能存在 *;当 Action 为 regexReplace 时,支持用 $NUM 引用正则捕获组,其中 NUM 代表组编号,如 $1,最多支持 $9。
|
|
6767
6772
|
*/
|
|
6768
6773
|
Value?: string;
|
|
6774
|
+
/**
|
|
6775
|
+
* 回源 URL 重写用于正则替换匹配完整路径的正则表达式。需要满足 Google RE2 规范,长度范围为 1~1024。当 Action 为 regexReplace 时,此字段必填,否则无需填写此字段。
|
|
6776
|
+
*/
|
|
6777
|
+
Regex?: string;
|
|
6769
6778
|
}
|
|
6770
6779
|
/**
|
|
6771
6780
|
* DescribeL4Proxy返回参数结构体
|