tencentcloud-sdk-nodejs-intl-en 3.0.1372 → 3.0.1374
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 +1 -1
- package/tencentcloud/as/v20180419/as_client.js +3 -2
- package/tencentcloud/as/v20180419/models.js +103 -87
- package/tencentcloud/billing/v20180709/billing_client.js +15 -1
- package/tencentcloud/billing/v20180709/models.js +237 -44
- package/tencentcloud/cdb/v20170320/models.js +8 -8
- package/tencentcloud/cdc/v20201214/models.js +14 -14
- package/tencentcloud/cdn/v20180606/cdn_client.js +15 -11
- package/tencentcloud/cdn/v20180606/models.js +319 -80
- package/tencentcloud/cls/v20201016/cls_client.js +1709 -374
- package/tencentcloud/cls/v20201016/models.js +23480 -6683
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cwp/v20180228/cwp_client.js +615 -350
- package/tencentcloud/cwp/v20180228/models.js +10317 -5290
- package/tencentcloud/cynosdb/v20190107/models.js +305 -286
- package/tencentcloud/faceid/v20180301/models.js +31 -15
- package/tencentcloud/iai/v20200303/iai_client.js +1 -1
- package/tencentcloud/mdc/v20200828/models.js +73 -60
- package/tencentcloud/mna/v20210119/models.js +2 -2
- package/tencentcloud/mongodb/v20190725/models.js +12 -12
- package/tencentcloud/rum/v20210622/models.js +16 -16
- package/tencentcloud/rum/v20210622/rum_client.js +1 -1
- package/tencentcloud/scf/v20180416/models.js +2 -2
- package/tencentcloud/tat/v20201028/models.js +56 -47
- package/tencentcloud/tcsas/v20250106/models.js +10772 -7283
- package/tencentcloud/tcsas/v20250106/tcsas_client.js +612 -324
- package/tencentcloud/tcss/v20201101/models.js +7275 -2457
- package/tencentcloud/tcss/v20201101/tcss_client.js +2328 -2021
- package/tencentcloud/teo/v20220901/models.js +880 -153
- package/tencentcloud/teo/v20220901/teo_client.js +103 -47
- package/tencentcloud/vod/v20180717/models.js +693 -229
- package/tencentcloud/vod/v20180717/vod_client.js +24 -6
|
@@ -422,8 +422,8 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
422
422
|
this.AccessKey = null;
|
|
423
423
|
|
|
424
424
|
/**
|
|
425
|
-
* Key.
|
|
426
|
-
Note: This field may return
|
|
425
|
+
* Key. specifies the field with masking back.
|
|
426
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
427
427
|
* @type {string || null}
|
|
428
428
|
*/
|
|
429
429
|
this.SecretKey = null;
|
|
@@ -894,8 +894,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
894
894
|
this.Hsts = null;
|
|
895
895
|
|
|
896
896
|
/**
|
|
897
|
-
*
|
|
898
|
-
Note: This field may return
|
|
897
|
+
* Specifies the Tls version setting, which has partial support for Advance domain names and can be set to TLSv1, TLSv1.1, TLSv1.2, or TLSv1.3. consecutive versions must be enabled when modifying.
|
|
898
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
899
899
|
* @type {Array.<string> || null}
|
|
900
900
|
*/
|
|
901
901
|
this.TlsVersion = null;
|
|
@@ -1363,6 +1363,51 @@ class DescribeCdnOriginIpResponse extends AbstractModel {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
1365
|
|
|
1366
|
+
/**
|
|
1367
|
+
* Parameter blocklist.
|
|
1368
|
+
* @class
|
|
1369
|
+
*/
|
|
1370
|
+
class ParamFilter extends AbstractModel {
|
|
1371
|
+
constructor(){
|
|
1372
|
+
super();
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* Specifies the blocklist parameter switch.
|
|
1376
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1377
|
+
* @type {string || null}
|
|
1378
|
+
*/
|
|
1379
|
+
this.Switch = null;
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* Specifies the blocklist rule parameter.
|
|
1383
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1384
|
+
* @type {Array.<ParamFilterRule> || null}
|
|
1385
|
+
*/
|
|
1386
|
+
this.FilterRules = null;
|
|
1387
|
+
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* @private
|
|
1392
|
+
*/
|
|
1393
|
+
deserialize(params) {
|
|
1394
|
+
if (!params) {
|
|
1395
|
+
return;
|
|
1396
|
+
}
|
|
1397
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
1398
|
+
|
|
1399
|
+
if (params.FilterRules) {
|
|
1400
|
+
this.FilterRules = new Array();
|
|
1401
|
+
for (let z in params.FilterRules) {
|
|
1402
|
+
let obj = new ParamFilterRule();
|
|
1403
|
+
obj.deserialize(params.FilterRules[z]);
|
|
1404
|
+
this.FilterRules.push(obj);
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1366
1411
|
/**
|
|
1367
1412
|
* Specific configuration for domain names inside and outside mainland China by regions.
|
|
1368
1413
|
* @class
|
|
@@ -2600,11 +2645,11 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
2600
2645
|
this.CosPrivateAccess = null;
|
|
2601
2646
|
|
|
2602
2647
|
/**
|
|
2603
|
-
*
|
|
2604
|
-
|
|
2605
|
-
follow
|
|
2606
|
-
|
|
2607
|
-
Note: This field may return
|
|
2648
|
+
* Configures the origin-pull protocol.
|
|
2649
|
+
Http: force http origin-pull.
|
|
2650
|
+
follow protocol for origin pull.
|
|
2651
|
+
Https: enforce https origin-pull.
|
|
2652
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2608
2653
|
* @type {string || null}
|
|
2609
2654
|
*/
|
|
2610
2655
|
this.OriginPullProtocol = null;
|
|
@@ -2618,17 +2663,16 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
2618
2663
|
this.BackupOrigins = null;
|
|
2619
2664
|
|
|
2620
2665
|
/**
|
|
2621
|
-
* Secondary origin type
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
The following
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
2666
|
+
* Secondary origin type. valid values:.
|
|
2667
|
+
BackupOrigins specifies the backup origin list. required when not empty.
|
|
2668
|
+
Supports the following types.
|
|
2669
|
+
domain type.
|
|
2670
|
+
ip: ip list as the origin server.
|
|
2671
|
+
The following backup origin server types are not fully available yet and require trial use application.
|
|
2672
|
+
ipv6_domain: specifies the origin server list containing multiple ipv6 addresses and domain names.
|
|
2673
|
+
ip_ipv6: specifies the origin server list containing multiple ipv4 addresses and ipv6 addresses.
|
|
2674
|
+
ip_ipv6_domain: specifies the origin server list containing multiple ipv4 addresses, ipv6 addresses, and domain names.
|
|
2675
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2632
2676
|
* @type {string || null}
|
|
2633
2677
|
*/
|
|
2634
2678
|
this.BackupOriginType = null;
|
|
@@ -3241,8 +3285,8 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
3241
3285
|
this.Switch = null;
|
|
3242
3286
|
|
|
3243
3287
|
/**
|
|
3244
|
-
* UA blacklist
|
|
3245
|
-
Note: This field may return
|
|
3288
|
+
* Effective rule list for UA blacklist and whitelist. must not exceed 10 rules.
|
|
3289
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3246
3290
|
* @type {Array.<UserAgentFilterRule> || null}
|
|
3247
3291
|
*/
|
|
3248
3292
|
this.FilterRules = null;
|
|
@@ -3858,6 +3902,16 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
3858
3902
|
*/
|
|
3859
3903
|
this.IgnoreSetCookie = null;
|
|
3860
3904
|
|
|
3905
|
+
/**
|
|
3906
|
+
* Whether to enable origin server mtime verification after cache expires. valid values: equal, since, none, and null. default value: equal, which validates the origin server file's mtime and length. domains created prior to 2024-09-12 18:00 default to null, with behavior remaining unchanged.
|
|
3907
|
+
equal: the mtime in the origin server response must match the mtime in the cache. if there is a difference in parameter values, purge the cache.
|
|
3908
|
+
since: purges cache if the origin server response mtime is larger than the cache mtime.
|
|
3909
|
+
none: when the cache expires and the file is retrieved from the origin server again to get the mtime and Length, it does not validate the mtime in the origin response. if the origin response carries a Content-Length header, the cache is updated only when the file size changes. if the origin response does not carry a Content-Length header, the cache is updated.
|
|
3910
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3911
|
+
* @type {string || null}
|
|
3912
|
+
*/
|
|
3913
|
+
this.OriginMtimeCheckType = null;
|
|
3914
|
+
|
|
3861
3915
|
}
|
|
3862
3916
|
|
|
3863
3917
|
/**
|
|
@@ -3872,6 +3926,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
3872
3926
|
this.CompareMaxAge = 'CompareMaxAge' in params ? params.CompareMaxAge : null;
|
|
3873
3927
|
this.IgnoreCacheControl = 'IgnoreCacheControl' in params ? params.IgnoreCacheControl : null;
|
|
3874
3928
|
this.IgnoreSetCookie = 'IgnoreSetCookie' in params ? params.IgnoreSetCookie : null;
|
|
3929
|
+
this.OriginMtimeCheckType = 'OriginMtimeCheckType' in params ? params.OriginMtimeCheckType : null;
|
|
3875
3930
|
|
|
3876
3931
|
}
|
|
3877
3932
|
}
|
|
@@ -4285,6 +4340,48 @@ class WafSubRuleStatus extends AbstractModel {
|
|
|
4285
4340
|
}
|
|
4286
4341
|
}
|
|
4287
4342
|
|
|
4343
|
+
/**
|
|
4344
|
+
*
|
|
4345
|
+
* @class
|
|
4346
|
+
*/
|
|
4347
|
+
class FilterRules extends AbstractModel {
|
|
4348
|
+
constructor(){
|
|
4349
|
+
super();
|
|
4350
|
+
|
|
4351
|
+
/**
|
|
4352
|
+
*
|
|
4353
|
+
* @type {string || null}
|
|
4354
|
+
*/
|
|
4355
|
+
this.FilterType = null;
|
|
4356
|
+
|
|
4357
|
+
/**
|
|
4358
|
+
*
|
|
4359
|
+
* @type {string || null}
|
|
4360
|
+
*/
|
|
4361
|
+
this.RuleType = null;
|
|
4362
|
+
|
|
4363
|
+
/**
|
|
4364
|
+
*
|
|
4365
|
+
* @type {Array.<string> || null}
|
|
4366
|
+
*/
|
|
4367
|
+
this.RulePaths = null;
|
|
4368
|
+
|
|
4369
|
+
}
|
|
4370
|
+
|
|
4371
|
+
/**
|
|
4372
|
+
* @private
|
|
4373
|
+
*/
|
|
4374
|
+
deserialize(params) {
|
|
4375
|
+
if (!params) {
|
|
4376
|
+
return;
|
|
4377
|
+
}
|
|
4378
|
+
this.FilterType = 'FilterType' in params ? params.FilterType : null;
|
|
4379
|
+
this.RuleType = 'RuleType' in params ? params.RuleType : null;
|
|
4380
|
+
this.RulePaths = 'RulePaths' in params ? params.RulePaths : null;
|
|
4381
|
+
|
|
4382
|
+
}
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4288
4385
|
/**
|
|
4289
4386
|
* Status code cache expiration configuration. 404 status codes are cached for 10 seconds by default
|
|
4290
4387
|
* @class
|
|
@@ -5471,8 +5568,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
5471
5568
|
this.RulePaths = null;
|
|
5472
5569
|
|
|
5473
5570
|
/**
|
|
5474
|
-
*
|
|
5475
|
-
Note: This field may return
|
|
5571
|
+
* UserAgent list. the count cannot exceed 10.
|
|
5572
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5476
5573
|
* @type {Array.<string> || null}
|
|
5477
5574
|
*/
|
|
5478
5575
|
this.UserAgents = null;
|
|
@@ -5811,6 +5908,18 @@ After switching to global acceleration, configurations of the domain name will b
|
|
|
5811
5908
|
*/
|
|
5812
5909
|
this.HttpsBilling = null;
|
|
5813
5910
|
|
|
5911
|
+
/**
|
|
5912
|
+
* Specifies the blocklist parameter.
|
|
5913
|
+
* @type {ParamFilter || null}
|
|
5914
|
+
*/
|
|
5915
|
+
this.ParamFilter = null;
|
|
5916
|
+
|
|
5917
|
+
/**
|
|
5918
|
+
*
|
|
5919
|
+
* @type {AutoGuard || null}
|
|
5920
|
+
*/
|
|
5921
|
+
this.AutoGuard = null;
|
|
5922
|
+
|
|
5814
5923
|
}
|
|
5815
5924
|
|
|
5816
5925
|
/**
|
|
@@ -6090,6 +6199,18 @@ After switching to global acceleration, configurations of the domain name will b
|
|
|
6090
6199
|
this.HttpsBilling = obj;
|
|
6091
6200
|
}
|
|
6092
6201
|
|
|
6202
|
+
if (params.ParamFilter) {
|
|
6203
|
+
let obj = new ParamFilter();
|
|
6204
|
+
obj.deserialize(params.ParamFilter)
|
|
6205
|
+
this.ParamFilter = obj;
|
|
6206
|
+
}
|
|
6207
|
+
|
|
6208
|
+
if (params.AutoGuard) {
|
|
6209
|
+
let obj = new AutoGuard();
|
|
6210
|
+
obj.deserialize(params.AutoGuard)
|
|
6211
|
+
this.AutoGuard = obj;
|
|
6212
|
+
}
|
|
6213
|
+
|
|
6093
6214
|
}
|
|
6094
6215
|
}
|
|
6095
6216
|
|
|
@@ -6153,6 +6274,16 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
6153
6274
|
*/
|
|
6154
6275
|
this.HeuristicCache = null;
|
|
6155
6276
|
|
|
6277
|
+
/**
|
|
6278
|
+
* Whether to enable origin server mtime verification after cache expires. valid values: equal, since, none, and null. default value: equal, which validates the origin server file's mtime and length. domains created prior to 2024-09-12 18:00 default to null, with behavior remaining unchanged.
|
|
6279
|
+
equal: the mtime in the origin server response must match the mtime in the cache. if there is a difference in parameter values, purge the cache.
|
|
6280
|
+
since: purges cache if the origin server response mtime is larger than the cache mtime.
|
|
6281
|
+
none: when the cache expires and the file is retrieved from the origin server again to get the mtime and Length, it does not validate the mtime in the origin response. if the origin response carries a Content-Length header, the cache is updated only when the file size changes. if the origin response does not carry a Content-Length header, the cache is updated.
|
|
6282
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6283
|
+
* @type {string || null}
|
|
6284
|
+
*/
|
|
6285
|
+
this.OriginMtimeCheckType = null;
|
|
6286
|
+
|
|
6156
6287
|
}
|
|
6157
6288
|
|
|
6158
6289
|
/**
|
|
@@ -6169,6 +6300,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
6169
6300
|
obj.deserialize(params.HeuristicCache)
|
|
6170
6301
|
this.HeuristicCache = obj;
|
|
6171
6302
|
}
|
|
6303
|
+
this.OriginMtimeCheckType = 'OriginMtimeCheckType' in params ? params.OriginMtimeCheckType : null;
|
|
6172
6304
|
|
|
6173
6305
|
}
|
|
6174
6306
|
}
|
|
@@ -6447,7 +6579,7 @@ class AdvancedAuthenticationTypeA extends AbstractModel {
|
|
|
6447
6579
|
this.ExpireTimeRequired = null;
|
|
6448
6580
|
|
|
6449
6581
|
/**
|
|
6450
|
-
* URL
|
|
6582
|
+
* URL format, for example: ${private_key}${schema}${host}${full_uri}.
|
|
6451
6583
|
* @type {string || null}
|
|
6452
6584
|
*/
|
|
6453
6585
|
this.Format = null;
|
|
@@ -6776,7 +6908,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
6776
6908
|
this.AccessKey = null;
|
|
6777
6909
|
|
|
6778
6910
|
/**
|
|
6779
|
-
* Key
|
|
6911
|
+
* Key. the field is returned with masking.
|
|
6780
6912
|
* @type {string || null}
|
|
6781
6913
|
*/
|
|
6782
6914
|
this.SecretKey = null;
|
|
@@ -6980,7 +7112,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
6980
7112
|
|
|
6981
7113
|
/**
|
|
6982
7114
|
* Timestamp hotlink protection mode D configuration
|
|
6983
|
-
The access URL format of timestamp hotlink protection mode D is as follows: http://DomainName/FileName?sign=md5hash&t=timestamp
|
|
7115
|
+
The access URL format of timestamp hotlink protection mode D is as follows: `http://DomainName/FileName?sign=md5hash&t=timestamp`
|
|
6984
7116
|
Here, timestamp is a decimal or hexadecimal timestamp in Unix format;
|
|
6985
7117
|
`md5hash`: MD5 (custom key + file path + timestamp)
|
|
6986
7118
|
* @class
|
|
@@ -7071,7 +7203,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
7071
7203
|
|
|
7072
7204
|
/**
|
|
7073
7205
|
* Timestamp hotlink protection mode C configuration
|
|
7074
|
-
The access URL format of timestamp hotlink protection mode C is as follows: http://DomainName/md5hash/timestamp/FileName
|
|
7206
|
+
The access URL format of timestamp hotlink protection mode C is as follows: `http://DomainName/md5hash/timestamp/FileName`
|
|
7075
7207
|
Here, timestamp is a hexadecimal timestamp in Unix format;
|
|
7076
7208
|
`md5hash`: MD5 (custom key + file path + timestamp)
|
|
7077
7209
|
* @class
|
|
@@ -7209,13 +7341,12 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
7209
7341
|
}
|
|
7210
7342
|
|
|
7211
7343
|
/**
|
|
7212
|
-
* Timestamp hotlink protection mode A configuration
|
|
7213
|
-
The access URL format
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
uid is 0
|
|
7217
|
-
md5hash:
|
|
7218
|
-
|
|
7344
|
+
* Timestamp hotlink protection mode A configuration.
|
|
7345
|
+
The access URL format for timestamp hotlink protection mode A is: `http://DomainName/Filename?sign=timestamp-rand-uid-md5hash`.
|
|
7346
|
+
Among them, timestamp is a decimal UNIX timestamp.
|
|
7347
|
+
Rand specifies a random string with 0 to 100 characters composed of upper- and lower-case letters and numbers.
|
|
7348
|
+
Specifies the uid is 0.
|
|
7349
|
+
md5hash: specifies md5 (file path-timestamp-rand-uid-custom key).
|
|
7219
7350
|
* @class
|
|
7220
7351
|
*/
|
|
7221
7352
|
class AuthenticationTypeA extends AbstractModel {
|
|
@@ -7707,10 +7838,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
7707
7838
|
this.HeaderName = null;
|
|
7708
7839
|
|
|
7709
7840
|
/**
|
|
7710
|
-
*
|
|
7711
|
-
|
|
7712
|
-
Required when Mode is add/set
|
|
7713
|
-
Note: This field may return
|
|
7841
|
+
* http header value. custom request header supports up to 1000 characters. custom response header can be set up to 2000 characters.
|
|
7842
|
+
Optional when Mode is del.
|
|
7843
|
+
Required when Mode is add/set.
|
|
7844
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7714
7845
|
* @type {string || null}
|
|
7715
7846
|
*/
|
|
7716
7847
|
this.HeaderValue = null;
|
|
@@ -7963,10 +8094,7 @@ If this parameter is left empty, edge server information will be returned by def
|
|
|
7963
8094
|
this.Layer = null;
|
|
7964
8095
|
|
|
7965
8096
|
/**
|
|
7966
|
-
*
|
|
7967
|
-
`mainland`: Nodes in the Chinese mainland
|
|
7968
|
-
`overseas`: Nodes outside the Chinese mainland
|
|
7969
|
-
`global`: Global nodes
|
|
8097
|
+
* Query region: mainland: node in chinese mainland; overseas: node outside the chinese mainland; global: global node.
|
|
7970
8098
|
* @type {string || null}
|
|
7971
8099
|
*/
|
|
7972
8100
|
this.Area = null;
|
|
@@ -7978,7 +8106,7 @@ If this parameter is left empty, edge server information will be returned by def
|
|
|
7978
8106
|
this.Segment = null;
|
|
7979
8107
|
|
|
7980
8108
|
/**
|
|
7981
|
-
*
|
|
8109
|
+
*
|
|
7982
8110
|
* @type {boolean || null}
|
|
7983
8111
|
*/
|
|
7984
8112
|
this.ShowIpv6 = null;
|
|
@@ -8966,10 +9094,10 @@ class HeuristicCache extends AbstractModel {
|
|
|
8966
9094
|
super();
|
|
8967
9095
|
|
|
8968
9096
|
/**
|
|
8969
|
-
*
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
Note: This field may return
|
|
9097
|
+
* Specifies the heuristic cache configuration switch. valid values:.
|
|
9098
|
+
on: enable.
|
|
9099
|
+
Off: turn off the switch (default).
|
|
9100
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8973
9101
|
* @type {string || null}
|
|
8974
9102
|
*/
|
|
8975
9103
|
this.Switch = null;
|
|
@@ -9591,9 +9719,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
9591
9719
|
this.RedirectType = null;
|
|
9592
9720
|
|
|
9593
9721
|
/**
|
|
9594
|
-
*
|
|
9595
|
-
Supports 301, 302.
|
|
9596
|
-
Note: This field may return
|
|
9722
|
+
* Specifies the return status code for forced redirection.
|
|
9723
|
+
Supports 301, 302, 307, and 308.
|
|
9724
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9597
9725
|
* @type {number || null}
|
|
9598
9726
|
*/
|
|
9599
9727
|
this.RedirectStatusCode = null;
|
|
@@ -9943,7 +10071,7 @@ class PushUrlsCacheRequest extends AbstractModel {
|
|
|
9943
10071
|
super();
|
|
9944
10072
|
|
|
9945
10073
|
/**
|
|
9946
|
-
* List of URLs. The protocol header such as
|
|
10074
|
+
* List of URLs. The protocol header such as `http://` or `https://` needs to be included.
|
|
9947
10075
|
* @type {Array.<string> || null}
|
|
9948
10076
|
*/
|
|
9949
10077
|
this.Urls = null;
|
|
@@ -12189,8 +12317,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
12189
12317
|
this.BpsThreshold = null;
|
|
12190
12318
|
|
|
12191
12319
|
/**
|
|
12192
|
-
*
|
|
12193
|
-
Note: This field may return
|
|
12320
|
+
* Shutdown method RETURN 404: RETURN_404.
|
|
12321
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12194
12322
|
* @type {string || null}
|
|
12195
12323
|
*/
|
|
12196
12324
|
this.CounterMeasure = null;
|
|
@@ -12219,7 +12347,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
12219
12347
|
this.Metric = null;
|
|
12220
12348
|
|
|
12221
12349
|
/**
|
|
12222
|
-
*
|
|
12350
|
+
*
|
|
12223
12351
|
* @type {number || null}
|
|
12224
12352
|
*/
|
|
12225
12353
|
this.Cycle = null;
|
|
@@ -12564,8 +12692,10 @@ class CacheKey extends AbstractModel {
|
|
|
12564
12692
|
this.FullUrlCache = null;
|
|
12565
12693
|
|
|
12566
12694
|
/**
|
|
12567
|
-
* Specifies whether
|
|
12568
|
-
|
|
12695
|
+
* Specifies whether to use case-insensitive cache.
|
|
12696
|
+
on: enable.
|
|
12697
|
+
Off: turn off the switch.
|
|
12698
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12569
12699
|
* @type {string || null}
|
|
12570
12700
|
*/
|
|
12571
12701
|
this.IgnoreCase = null;
|
|
@@ -12894,8 +13024,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
12894
13024
|
this.FullUrlCache = null;
|
|
12895
13025
|
|
|
12896
13026
|
/**
|
|
12897
|
-
*
|
|
12898
|
-
|
|
13027
|
+
* Specifies whether to use case-insensitive cache.
|
|
13028
|
+
on: enable.
|
|
13029
|
+
Off: turn off the switch.
|
|
13030
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12899
13031
|
* @type {string || null}
|
|
12900
13032
|
*/
|
|
12901
13033
|
this.IgnoreCase = null;
|
|
@@ -12938,6 +13070,52 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
12938
13070
|
}
|
|
12939
13071
|
}
|
|
12940
13072
|
|
|
13073
|
+
/**
|
|
13074
|
+
* Parameter blocklist rule.
|
|
13075
|
+
* @class
|
|
13076
|
+
*/
|
|
13077
|
+
class ParamFilterRule extends AbstractModel {
|
|
13078
|
+
constructor(){
|
|
13079
|
+
super();
|
|
13080
|
+
|
|
13081
|
+
/**
|
|
13082
|
+
* Parameter name.
|
|
13083
|
+
|
|
13084
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
13085
|
+
* @type {string || null}
|
|
13086
|
+
*/
|
|
13087
|
+
this.Key = null;
|
|
13088
|
+
|
|
13089
|
+
/**
|
|
13090
|
+
* Numeric array. value range: less than 10.
|
|
13091
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
13092
|
+
* @type {Array.<string> || null}
|
|
13093
|
+
*/
|
|
13094
|
+
this.Values = null;
|
|
13095
|
+
|
|
13096
|
+
/**
|
|
13097
|
+
* http status code (only supports 403).
|
|
13098
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
13099
|
+
* @type {string || null}
|
|
13100
|
+
*/
|
|
13101
|
+
this.ReturnCode = null;
|
|
13102
|
+
|
|
13103
|
+
}
|
|
13104
|
+
|
|
13105
|
+
/**
|
|
13106
|
+
* @private
|
|
13107
|
+
*/
|
|
13108
|
+
deserialize(params) {
|
|
13109
|
+
if (!params) {
|
|
13110
|
+
return;
|
|
13111
|
+
}
|
|
13112
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
13113
|
+
this.Values = 'Values' in params ? params.Values : null;
|
|
13114
|
+
this.ReturnCode = 'ReturnCode' in params ? params.ReturnCode : null;
|
|
13115
|
+
|
|
13116
|
+
}
|
|
13117
|
+
}
|
|
13118
|
+
|
|
12941
13119
|
/**
|
|
12942
13120
|
* Downstream speed limit configuration rules. Up to 100 entries can be configured.
|
|
12943
13121
|
* @class
|
|
@@ -13028,6 +13206,49 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
13028
13206
|
}
|
|
13029
13207
|
}
|
|
13030
13208
|
|
|
13209
|
+
/**
|
|
13210
|
+
*
|
|
13211
|
+
* @class
|
|
13212
|
+
*/
|
|
13213
|
+
class AutoGuard extends AbstractModel {
|
|
13214
|
+
constructor(){
|
|
13215
|
+
super();
|
|
13216
|
+
|
|
13217
|
+
/**
|
|
13218
|
+
*
|
|
13219
|
+
* @type {string || null}
|
|
13220
|
+
*/
|
|
13221
|
+
this.Switch = null;
|
|
13222
|
+
|
|
13223
|
+
/**
|
|
13224
|
+
*
|
|
13225
|
+
* @type {Array.<FilterRules> || null}
|
|
13226
|
+
*/
|
|
13227
|
+
this.FilterRules = null;
|
|
13228
|
+
|
|
13229
|
+
}
|
|
13230
|
+
|
|
13231
|
+
/**
|
|
13232
|
+
* @private
|
|
13233
|
+
*/
|
|
13234
|
+
deserialize(params) {
|
|
13235
|
+
if (!params) {
|
|
13236
|
+
return;
|
|
13237
|
+
}
|
|
13238
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
13239
|
+
|
|
13240
|
+
if (params.FilterRules) {
|
|
13241
|
+
this.FilterRules = new Array();
|
|
13242
|
+
for (let z in params.FilterRules) {
|
|
13243
|
+
let obj = new FilterRules();
|
|
13244
|
+
obj.deserialize(params.FilterRules[z]);
|
|
13245
|
+
this.FilterRules.push(obj);
|
|
13246
|
+
}
|
|
13247
|
+
}
|
|
13248
|
+
|
|
13249
|
+
}
|
|
13250
|
+
}
|
|
13251
|
+
|
|
13031
13252
|
/**
|
|
13032
13253
|
* ListClsLogTopics request structure.
|
|
13033
13254
|
* @class
|
|
@@ -13485,7 +13706,7 @@ class PurgeUrlsCacheRequest extends AbstractModel {
|
|
|
13485
13706
|
super();
|
|
13486
13707
|
|
|
13487
13708
|
/**
|
|
13488
|
-
* List of URLs. The protocol header such as
|
|
13709
|
+
* List of URLs. The protocol header such as `http://` or `https://` needs to be included.
|
|
13489
13710
|
* @type {Array.<string> || null}
|
|
13490
13711
|
*/
|
|
13491
13712
|
this.Urls = null;
|
|
@@ -14066,8 +14287,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
14066
14287
|
this.AccessKey = null;
|
|
14067
14288
|
|
|
14068
14289
|
/**
|
|
14069
|
-
* Key
|
|
14070
|
-
Note: This field may return
|
|
14290
|
+
* Key. the field is returned with masking.
|
|
14291
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14071
14292
|
* @type {string || null}
|
|
14072
14293
|
*/
|
|
14073
14294
|
this.SecretKey = null;
|
|
@@ -14412,8 +14633,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
14412
14633
|
this.AccessKey = null;
|
|
14413
14634
|
|
|
14414
14635
|
/**
|
|
14415
|
-
* Key.
|
|
14416
|
-
Note:
|
|
14636
|
+
* Key. the field is returned with masking.
|
|
14637
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14417
14638
|
* @type {string || null}
|
|
14418
14639
|
*/
|
|
14419
14640
|
this.SecretKey = null;
|
|
@@ -14619,7 +14840,7 @@ class SearchClsLogRequest extends AbstractModel {
|
|
|
14619
14840
|
this.Channel = null;
|
|
14620
14841
|
|
|
14621
14842
|
/**
|
|
14622
|
-
* Query statement. For more details, see [https://
|
|
14843
|
+
* Query statement. For more details, see [Syntax Rules](https://www.tencentcloud.com/document/product/614/37803).
|
|
14623
14844
|
* @type {string || null}
|
|
14624
14845
|
*/
|
|
14625
14846
|
this.Query = null;
|
|
@@ -14721,8 +14942,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
14721
14942
|
this.AccessKey = null;
|
|
14722
14943
|
|
|
14723
14944
|
/**
|
|
14724
|
-
* Key.
|
|
14725
|
-
Note: This field may return
|
|
14945
|
+
* Key. the field is returned with masking.
|
|
14946
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
14726
14947
|
* @type {string || null}
|
|
14727
14948
|
*/
|
|
14728
14949
|
this.SecretKey = null;
|
|
@@ -15178,23 +15399,23 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
15178
15399
|
this.FilterType = null;
|
|
15179
15400
|
|
|
15180
15401
|
/**
|
|
15181
|
-
* IP blocklist/allowlist
|
|
15182
|
-
Supports
|
|
15183
|
-
|
|
15184
|
-
Note: This field may return
|
|
15402
|
+
* IP blocklist/allowlist configuration.
|
|
15403
|
+
Supports IPV4 addresses in X.X.X.X format, IPV6 addresses in X:X:X:X:X:X:X:X format, or network segments in /X format (IPV4: 1≤X≤32; IPV6: 1≤X≤128).
|
|
15404
|
+
Specifies a maximum of 200 allowlist or blocklist entries.
|
|
15405
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15185
15406
|
* @type {Array.<string> || null}
|
|
15186
15407
|
*/
|
|
15187
15408
|
this.Filters = null;
|
|
15188
15409
|
|
|
15189
15410
|
/**
|
|
15190
|
-
* IP blocklist
|
|
15191
|
-
Note: This field may return
|
|
15411
|
+
* IP blocklist and allowlist path-specific configuration. the total count of blocklist and allowlist ips must not exceed 1000.
|
|
15412
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
15192
15413
|
* @type {Array.<IpFilterPathRule> || null}
|
|
15193
15414
|
*/
|
|
15194
15415
|
this.FilterRules = null;
|
|
15195
15416
|
|
|
15196
15417
|
/**
|
|
15197
|
-
* (Disused) Expected HTTP code to return when the IP allowlist/blocklist verification fails.
|
|
15418
|
+
* (Disused) Expected HTTP code to return when the IP allowlist/blocklist verification fails.
|
|
15198
15419
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
15199
15420
|
* @type {number || null}
|
|
15200
15421
|
*/
|
|
@@ -15452,7 +15673,7 @@ Supports 301 or 302.
|
|
|
15452
15673
|
|
|
15453
15674
|
/**
|
|
15454
15675
|
* Redirect URL
|
|
15455
|
-
Requires a full redirect path, such as https://www.test.com/error.html
|
|
15676
|
+
Requires a full redirect path, such as `https://www.test.com/error.html`.
|
|
15456
15677
|
* @type {string || null}
|
|
15457
15678
|
*/
|
|
15458
15679
|
this.RedirectUrl = null;
|
|
@@ -16170,7 +16391,7 @@ class UrlRedirectRule extends AbstractModel {
|
|
|
16170
16391
|
this.RedirectUrl = null;
|
|
16171
16392
|
|
|
16172
16393
|
/**
|
|
16173
|
-
* Target host. It should be a standard domain name starting with `http://` or `https://`. If it is left empty,
|
|
16394
|
+
* Target host. It should be a standard domain name starting with `http://` or `https://`. If it is left empty, "http://[current domain name]" will be used by default.
|
|
16174
16395
|
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
16175
16396
|
* @type {string || null}
|
|
16176
16397
|
*/
|
|
@@ -16183,6 +16404,12 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
16183
16404
|
*/
|
|
16184
16405
|
this.FullMatch = null;
|
|
16185
16406
|
|
|
16407
|
+
/**
|
|
16408
|
+
*
|
|
16409
|
+
* @type {boolean || null}
|
|
16410
|
+
*/
|
|
16411
|
+
this.Regex = null;
|
|
16412
|
+
|
|
16186
16413
|
}
|
|
16187
16414
|
|
|
16188
16415
|
/**
|
|
@@ -16197,6 +16424,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
16197
16424
|
this.RedirectUrl = 'RedirectUrl' in params ? params.RedirectUrl : null;
|
|
16198
16425
|
this.RedirectHost = 'RedirectHost' in params ? params.RedirectHost : null;
|
|
16199
16426
|
this.FullMatch = 'FullMatch' in params ? params.FullMatch : null;
|
|
16427
|
+
this.Regex = 'Regex' in params ? params.Regex : null;
|
|
16200
16428
|
|
|
16201
16429
|
}
|
|
16202
16430
|
}
|
|
@@ -16254,10 +16482,10 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
16254
16482
|
this.FilterType = null;
|
|
16255
16483
|
|
|
16256
16484
|
/**
|
|
16257
|
-
* IP blocklist/allowlist
|
|
16258
|
-
Supports
|
|
16259
|
-
|
|
16260
|
-
Note: This field may return
|
|
16485
|
+
* IP blocklist/allowlist configuration.
|
|
16486
|
+
Supports IPV4 addresses in X.X.X.X format, IPV6 addresses in X:X:X:X:X:X:X:X format, or network segments in /X format (IPV4: 1≤X≤32; IPV6: 1≤X≤128).
|
|
16487
|
+
Specifies a maximum of 500 allowlist or 200 blocklist entries.
|
|
16488
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
16261
16489
|
* @type {Array.<string> || null}
|
|
16262
16490
|
*/
|
|
16263
16491
|
this.Filters = null;
|
|
@@ -16284,6 +16512,12 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
16284
16512
|
*/
|
|
16285
16513
|
this.RulePaths = null;
|
|
16286
16514
|
|
|
16515
|
+
/**
|
|
16516
|
+
* Remark information. supports up to 50 characters.
|
|
16517
|
+
* @type {string || null}
|
|
16518
|
+
*/
|
|
16519
|
+
this.Remark = null;
|
|
16520
|
+
|
|
16287
16521
|
}
|
|
16288
16522
|
|
|
16289
16523
|
/**
|
|
@@ -16297,6 +16531,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
16297
16531
|
this.Filters = 'Filters' in params ? params.Filters : null;
|
|
16298
16532
|
this.RuleType = 'RuleType' in params ? params.RuleType : null;
|
|
16299
16533
|
this.RulePaths = 'RulePaths' in params ? params.RulePaths : null;
|
|
16534
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
16300
16535
|
|
|
16301
16536
|
}
|
|
16302
16537
|
}
|
|
@@ -16366,6 +16601,7 @@ module.exports = {
|
|
|
16366
16601
|
PurgePathCacheResponse: PurgePathCacheResponse,
|
|
16367
16602
|
DomainFilter: DomainFilter,
|
|
16368
16603
|
DescribeCdnOriginIpResponse: DescribeCdnOriginIpResponse,
|
|
16604
|
+
ParamFilter: ParamFilter,
|
|
16369
16605
|
SpecificConfig: SpecificConfig,
|
|
16370
16606
|
FollowRedirect: FollowRedirect,
|
|
16371
16607
|
RequestHeader: RequestHeader,
|
|
@@ -16416,6 +16652,7 @@ module.exports = {
|
|
|
16416
16652
|
DescribeCdnIpRequest: DescribeCdnIpRequest,
|
|
16417
16653
|
Ipv6: Ipv6,
|
|
16418
16654
|
WafSubRuleStatus: WafSubRuleStatus,
|
|
16655
|
+
FilterRules: FilterRules,
|
|
16419
16656
|
StatusCodeCache: StatusCodeCache,
|
|
16420
16657
|
DescribeIpVisitResponse: DescribeIpVisitResponse,
|
|
16421
16658
|
EnableClsLogTopicResponse: EnableClsLogTopicResponse,
|
|
@@ -16525,8 +16762,10 @@ module.exports = {
|
|
|
16525
16762
|
CookieKey: CookieKey,
|
|
16526
16763
|
RemoteAuthentication: RemoteAuthentication,
|
|
16527
16764
|
KeyRule: KeyRule,
|
|
16765
|
+
ParamFilterRule: ParamFilterRule,
|
|
16528
16766
|
CappingRule: CappingRule,
|
|
16529
16767
|
ShareCname: ShareCname,
|
|
16768
|
+
AutoGuard: AutoGuard,
|
|
16530
16769
|
ListClsLogTopicsRequest: ListClsLogTopicsRequest,
|
|
16531
16770
|
Seo: Seo,
|
|
16532
16771
|
BandwidthAlert: BandwidthAlert,
|