tencentcloud-sdk-nodejs-intl-en 3.0.1385 → 3.0.1387
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/cdn/v20180606/cdn_client.js +40 -109
- package/tencentcloud/cdn/v20180606/models.js +468 -2283
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/sqlserver/v20180328/models.js +627 -9
- package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +110 -18
- package/tencentcloud/trtc/v20190722/models.js +34 -13
|
@@ -25,8 +25,8 @@ class DescribeCdnDomainLogsResponse extends AbstractModel {
|
|
|
25
25
|
super();
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
|
|
28
|
+
* Specifies the download url of the log package.
|
|
29
|
+
Download content is a compression package with the gz suffix. after decompression, it becomes a text file without an extension. link validity period is 1 day.
|
|
30
30
|
* @type {Array.<DomainLog> || null}
|
|
31
31
|
*/
|
|
32
32
|
this.DomainLogs = null;
|
|
@@ -346,40 +346,28 @@ Project ID: Queries domain name details by a project ID. The aggregated details
|
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
/**
|
|
349
|
-
*
|
|
349
|
+
* `UserAgent` blacklist/whitelist configuration
|
|
350
350
|
* @class
|
|
351
351
|
*/
|
|
352
|
-
class
|
|
352
|
+
class UserAgentFilter extends AbstractModel {
|
|
353
353
|
constructor(){
|
|
354
354
|
super();
|
|
355
355
|
|
|
356
356
|
/**
|
|
357
|
-
*
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
this.Status = null;
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* Corresponding URL
|
|
365
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
366
|
-
* @type {string || null}
|
|
367
|
-
*/
|
|
368
|
-
this.RealUrl = null;
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* Creation time
|
|
372
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
357
|
+
* Whether to enable User-Agent blocklist/allowlist. Values:
|
|
358
|
+
`on`: Enable
|
|
359
|
+
`off`: Disable
|
|
360
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
373
361
|
* @type {string || null}
|
|
374
362
|
*/
|
|
375
|
-
this.
|
|
363
|
+
this.Switch = null;
|
|
376
364
|
|
|
377
365
|
/**
|
|
378
|
-
*
|
|
379
|
-
Note: This field may return
|
|
380
|
-
* @type {
|
|
366
|
+
* Effective rule list for UA blacklist and whitelist. must not exceed 10 rules.
|
|
367
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
368
|
+
* @type {Array.<UserAgentFilterRule> || null}
|
|
381
369
|
*/
|
|
382
|
-
this.
|
|
370
|
+
this.FilterRules = null;
|
|
383
371
|
|
|
384
372
|
}
|
|
385
373
|
|
|
@@ -390,10 +378,16 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
390
378
|
if (!params) {
|
|
391
379
|
return;
|
|
392
380
|
}
|
|
393
|
-
this.
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
381
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
382
|
+
|
|
383
|
+
if (params.FilterRules) {
|
|
384
|
+
this.FilterRules = new Array();
|
|
385
|
+
for (let z in params.FilterRules) {
|
|
386
|
+
let obj = new UserAgentFilterRule();
|
|
387
|
+
obj.deserialize(params.FilterRules[z]);
|
|
388
|
+
this.FilterRules.push(obj);
|
|
389
|
+
}
|
|
390
|
+
}
|
|
397
391
|
|
|
398
392
|
}
|
|
399
393
|
}
|
|
@@ -561,83 +555,6 @@ class DescribePurgeQuotaResponse extends AbstractModel {
|
|
|
561
555
|
}
|
|
562
556
|
}
|
|
563
557
|
|
|
564
|
-
/**
|
|
565
|
-
* SCDN layer-7 rule configuration for CC frequency limiting
|
|
566
|
-
* @class
|
|
567
|
-
*/
|
|
568
|
-
class ScdnSevenLayerRules extends AbstractModel {
|
|
569
|
-
constructor(){
|
|
570
|
-
super();
|
|
571
|
-
|
|
572
|
-
/**
|
|
573
|
-
* Whether values are case sensitive
|
|
574
|
-
* @type {boolean || null}
|
|
575
|
-
*/
|
|
576
|
-
this.CaseSensitive = null;
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
* Rule types:
|
|
580
|
-
`protocol`: protocol. Valid values: `HTTP` and `HTTPS`.
|
|
581
|
-
`method`: request method. Valid values: `HEAD`, `GET`, `POST`, `PUT`, `OPTIONS`, `TRACE`, `DELETE`, `PATCH` and `CONNECT`.
|
|
582
|
-
`all`: domain name. The matching content is `*` and cannot be edited.
|
|
583
|
-
`ip`: IP in CIDR format.
|
|
584
|
-
`directory`: path starting with a slash (/). You can specify a directory or specific path using up to 128 characters.
|
|
585
|
-
`index`: default homepage, which is specified by `/;/index.html` and cannot be edited.
|
|
586
|
-
`path`: full path of the file, such as `/acb/test.png`. Wildcard is supported, such as `/abc/*.jpg`.
|
|
587
|
-
`file`: file extension, such as `jpg`, `png` and `css`.
|
|
588
|
-
`param`: request parameter. The value can contain up to 512 characters.
|
|
589
|
-
`referer`: Referer. The value can contain up to 512 characters.
|
|
590
|
-
`cookie`: Cookie. The value can contain up to 512 characters.
|
|
591
|
-
`user-agent`: User-Agent. The value can contain up to 512 characters.
|
|
592
|
-
`head`: custom header. The value can contain up to 512 characters. If the matching content is blank or does not exist, enter the matching parameter directly.
|
|
593
|
-
* @type {string || null}
|
|
594
|
-
*/
|
|
595
|
-
this.RuleType = null;
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
* Logical operator, which connects the relation between RuleType and RuleValue. Valid values:
|
|
599
|
-
`exclude`: the rule value is not contained.
|
|
600
|
-
`include`: the rule value is contained.
|
|
601
|
-
`notequal`: the rule value is not equal to the specified rule type.
|
|
602
|
-
`equal`: the rule value is equal to the specified rule type.
|
|
603
|
-
`matching`: the rule value matches with the prefix of the specified rule type.
|
|
604
|
-
`null`: the rule value is empty or does not exist.
|
|
605
|
-
* @type {string || null}
|
|
606
|
-
*/
|
|
607
|
-
this.LogicOperator = null;
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* Rule value
|
|
611
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
612
|
-
* @type {Array.<string> || null}
|
|
613
|
-
*/
|
|
614
|
-
this.RuleValue = null;
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
* Matched parameter. Only request parameters, Cookie, and custom request headers have a value.
|
|
618
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
619
|
-
* @type {string || null}
|
|
620
|
-
*/
|
|
621
|
-
this.RuleParam = null;
|
|
622
|
-
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
/**
|
|
626
|
-
* @private
|
|
627
|
-
*/
|
|
628
|
-
deserialize(params) {
|
|
629
|
-
if (!params) {
|
|
630
|
-
return;
|
|
631
|
-
}
|
|
632
|
-
this.CaseSensitive = 'CaseSensitive' in params ? params.CaseSensitive : null;
|
|
633
|
-
this.RuleType = 'RuleType' in params ? params.RuleType : null;
|
|
634
|
-
this.LogicOperator = 'LogicOperator' in params ? params.LogicOperator : null;
|
|
635
|
-
this.RuleValue = 'RuleValue' in params ? params.RuleValue : null;
|
|
636
|
-
this.RuleParam = 'RuleParam' in params ? params.RuleParam : null;
|
|
637
|
-
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
|
|
641
558
|
/**
|
|
642
559
|
* Timestamp hotlink protection configuration
|
|
643
560
|
* @class
|
|
@@ -1015,13 +932,13 @@ class DescribeCdnDomainLogsRequest extends AbstractModel {
|
|
|
1015
932
|
this.Domain = null;
|
|
1016
933
|
|
|
1017
934
|
/**
|
|
1018
|
-
*
|
|
935
|
+
* Start time.
|
|
1019
936
|
* @type {string || null}
|
|
1020
937
|
*/
|
|
1021
938
|
this.StartTime = null;
|
|
1022
939
|
|
|
1023
940
|
/**
|
|
1024
|
-
* End time
|
|
941
|
+
* End time.
|
|
1025
942
|
* @type {string || null}
|
|
1026
943
|
*/
|
|
1027
944
|
this.EndTime = null;
|
|
@@ -1039,18 +956,17 @@ class DescribeCdnDomainLogsRequest extends AbstractModel {
|
|
|
1039
956
|
this.Limit = null;
|
|
1040
957
|
|
|
1041
958
|
/**
|
|
1042
|
-
* Specifies
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
Default value: `mainland`.
|
|
959
|
+
* Specifies the region for log download, defaults to mainland. valid values:.
|
|
960
|
+
<li>mainland: specifies the download url for the domestic acceleration log package.</li>.
|
|
961
|
+
<Li>Overseas: specifies the url for obtaining overseas acceleration logs package download.</li>.
|
|
962
|
+
<li>global: simultaneously obtain domestic and overseas acceleration logs package download urls (separately packaged).</li>.
|
|
1047
963
|
* @type {string || null}
|
|
1048
964
|
*/
|
|
1049
965
|
this.Area = null;
|
|
1050
966
|
|
|
1051
967
|
/**
|
|
1052
|
-
* Specifies the type of logs to download
|
|
1053
|
-
|
|
968
|
+
* Specifies the type of logs to download. valid values:.
|
|
969
|
+
<Li>Access: specifies the access log.</li>.
|
|
1054
970
|
* @type {string || null}
|
|
1055
971
|
*/
|
|
1056
972
|
this.LogType = null;
|
|
@@ -1092,6 +1008,22 @@ Note: This field may return·`null`, indicating that no valid values can be obta
|
|
|
1092
1008
|
*/
|
|
1093
1009
|
this.Switch = null;
|
|
1094
1010
|
|
|
1011
|
+
/**
|
|
1012
|
+
* When the original image is avif and the client Accept header contains image/avif, return directly the original image.
|
|
1013
|
+
When the original image is in avif format and the client Accept header does not include image/avif but includes image/webp, convert avif to webp format and return. if the Accept header does not include image/webp, convert to jpeg and return.
|
|
1014
|
+
|
|
1015
|
+
Valid values:.
|
|
1016
|
+
- []
|
|
1017
|
+
- ["webp"]
|
|
1018
|
+
- ["jpeg"]
|
|
1019
|
+
- ["webp", "jpeg"]
|
|
1020
|
+
|
|
1021
|
+
"Webp": whether avif to webp is enabled, "jpeg": whether avif to jpeg is enabled. if both webp and jpeg are enabled, webp must be before jpeg.
|
|
1022
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1023
|
+
* @type {Array.<string> || null}
|
|
1024
|
+
*/
|
|
1025
|
+
this.FallbackFormats = null;
|
|
1026
|
+
|
|
1095
1027
|
}
|
|
1096
1028
|
|
|
1097
1029
|
/**
|
|
@@ -1102,6 +1034,7 @@ Note: This field may return·`null`, indicating that no valid values can be obta
|
|
|
1102
1034
|
return;
|
|
1103
1035
|
}
|
|
1104
1036
|
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
1037
|
+
this.FallbackFormats = 'FallbackFormats' in params ? params.FallbackFormats : null;
|
|
1105
1038
|
|
|
1106
1039
|
}
|
|
1107
1040
|
}
|
|
@@ -1116,7 +1049,6 @@ class CreateClsLogTopicResponse extends AbstractModel {
|
|
|
1116
1049
|
|
|
1117
1050
|
/**
|
|
1118
1051
|
* Topic ID
|
|
1119
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
1120
1052
|
* @type {string || null}
|
|
1121
1053
|
*/
|
|
1122
1054
|
this.TopicId = null;
|
|
@@ -1268,24 +1200,24 @@ class DomainFilter extends AbstractModel {
|
|
|
1268
1200
|
super();
|
|
1269
1201
|
|
|
1270
1202
|
/**
|
|
1271
|
-
* Filter
|
|
1272
|
-
|
|
1273
|
-
-
|
|
1274
|
-
-
|
|
1275
|
-
-
|
|
1276
|
-
-
|
|
1277
|
-
-
|
|
1278
|
-
-
|
|
1279
|
-
-
|
|
1280
|
-
-
|
|
1281
|
-
-
|
|
1282
|
-
-
|
|
1203
|
+
* Filter field name. supported list as follows:.
|
|
1204
|
+
-`Origin`: specifies the primary origin server.
|
|
1205
|
+
-Domain name. specifies the domain name.
|
|
1206
|
+
-resourceId: domain id.
|
|
1207
|
+
-Status: specifies the domain name status. valid values: online, offline, processing, deleted.
|
|
1208
|
+
-serviceType: specifies the business type. valid values: web, download, media, hybrid, dynamic.
|
|
1209
|
+
-projectId: specifies the project ID.
|
|
1210
|
+
-domainType: specifies the primary origin server type. valid values: cname (self-owned origin), cos (cloud object storage integration), third_party (third-party object storage), igtm (igtm multi-active origin).
|
|
1211
|
+
-fullUrlCache. specifies full path cache. valid values: on, off.
|
|
1212
|
+
-Specifies whether to configure https. valid values: on, off, processing.
|
|
1213
|
+
-originPullProtocol: specifies the origin-pull protocol. valid values: http, follow, https.
|
|
1214
|
+
-tagKey: specifies the Tag key.
|
|
1283
1215
|
* @type {string || null}
|
|
1284
1216
|
*/
|
|
1285
1217
|
this.Name = null;
|
|
1286
1218
|
|
|
1287
1219
|
/**
|
|
1288
|
-
*
|
|
1220
|
+
* Specifies the filter field value. the default maximum is 5. when Name is origin/domain and Fuzzy is true, the maximum is 1.
|
|
1289
1221
|
* @type {Array.<string> || null}
|
|
1290
1222
|
*/
|
|
1291
1223
|
this.Value = null;
|
|
@@ -1313,56 +1245,6 @@ When fuzzy query is enabled, the maximum Value length is 1. When fuzzy query is
|
|
|
1313
1245
|
}
|
|
1314
1246
|
}
|
|
1315
1247
|
|
|
1316
|
-
/**
|
|
1317
|
-
* DescribeCdnOriginIp response structure.
|
|
1318
|
-
* @class
|
|
1319
|
-
*/
|
|
1320
|
-
class DescribeCdnOriginIpResponse extends AbstractModel {
|
|
1321
|
-
constructor(){
|
|
1322
|
-
super();
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
* Intermediate node IP details
|
|
1326
|
-
* @type {Array.<OriginIp> || null}
|
|
1327
|
-
*/
|
|
1328
|
-
this.Ips = null;
|
|
1329
|
-
|
|
1330
|
-
/**
|
|
1331
|
-
* Number of intermediate node IPs
|
|
1332
|
-
* @type {number || null}
|
|
1333
|
-
*/
|
|
1334
|
-
this.TotalCount = null;
|
|
1335
|
-
|
|
1336
|
-
/**
|
|
1337
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1338
|
-
* @type {string || null}
|
|
1339
|
-
*/
|
|
1340
|
-
this.RequestId = null;
|
|
1341
|
-
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
/**
|
|
1345
|
-
* @private
|
|
1346
|
-
*/
|
|
1347
|
-
deserialize(params) {
|
|
1348
|
-
if (!params) {
|
|
1349
|
-
return;
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
if (params.Ips) {
|
|
1353
|
-
this.Ips = new Array();
|
|
1354
|
-
for (let z in params.Ips) {
|
|
1355
|
-
let obj = new OriginIp();
|
|
1356
|
-
obj.deserialize(params.Ips[z]);
|
|
1357
|
-
this.Ips.push(obj);
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1361
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1362
|
-
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
1248
|
/**
|
|
1367
1249
|
* Parameter blocklist.
|
|
1368
1250
|
* @class
|
|
@@ -1611,44 +1493,6 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
1611
1493
|
}
|
|
1612
1494
|
}
|
|
1613
1495
|
|
|
1614
|
-
/**
|
|
1615
|
-
* Maximum size of the file uploaded for streaming via a POST request
|
|
1616
|
-
* @class
|
|
1617
|
-
*/
|
|
1618
|
-
class PostSize extends AbstractModel {
|
|
1619
|
-
constructor(){
|
|
1620
|
-
super();
|
|
1621
|
-
|
|
1622
|
-
/**
|
|
1623
|
-
* Maximum size of the file uploaded for streaming via a POST request. Values:
|
|
1624
|
-
`on`: Enable. When enabled, it is set to 32 MB by default.
|
|
1625
|
-
`off`: Disable
|
|
1626
|
-
|
|
1627
|
-
* @type {string || null}
|
|
1628
|
-
*/
|
|
1629
|
-
this.Switch = null;
|
|
1630
|
-
|
|
1631
|
-
/**
|
|
1632
|
-
* Maximum size. Value range: 1 MB to 200 MB.
|
|
1633
|
-
* @type {number || null}
|
|
1634
|
-
*/
|
|
1635
|
-
this.MaxSize = null;
|
|
1636
|
-
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
/**
|
|
1640
|
-
* @private
|
|
1641
|
-
*/
|
|
1642
|
-
deserialize(params) {
|
|
1643
|
-
if (!params) {
|
|
1644
|
-
return;
|
|
1645
|
-
}
|
|
1646
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
1647
|
-
this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
|
|
1648
|
-
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
1496
|
/**
|
|
1653
1497
|
* DescribeCdnData response structure.
|
|
1654
1498
|
* @class
|
|
@@ -1818,19 +1662,30 @@ class OriginCombine extends AbstractModel {
|
|
|
1818
1662
|
}
|
|
1819
1663
|
|
|
1820
1664
|
/**
|
|
1821
|
-
*
|
|
1665
|
+
* DescribeCdnOriginIp response structure.
|
|
1822
1666
|
* @class
|
|
1823
1667
|
*/
|
|
1824
|
-
class
|
|
1668
|
+
class DescribeCdnOriginIpResponse extends AbstractModel {
|
|
1825
1669
|
constructor(){
|
|
1826
1670
|
super();
|
|
1827
1671
|
|
|
1828
1672
|
/**
|
|
1829
|
-
*
|
|
1830
|
-
|
|
1673
|
+
* Intermediate node IP details
|
|
1674
|
+
* @type {Array.<OriginIp> || null}
|
|
1675
|
+
*/
|
|
1676
|
+
this.Ips = null;
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* Number of intermediate node IPs
|
|
1680
|
+
* @type {number || null}
|
|
1681
|
+
*/
|
|
1682
|
+
this.TotalCount = null;
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1831
1686
|
* @type {string || null}
|
|
1832
1687
|
*/
|
|
1833
|
-
this.
|
|
1688
|
+
this.RequestId = null;
|
|
1834
1689
|
|
|
1835
1690
|
}
|
|
1836
1691
|
|
|
@@ -1841,7 +1696,17 @@ The domain name status should be `Disabled`
|
|
|
1841
1696
|
if (!params) {
|
|
1842
1697
|
return;
|
|
1843
1698
|
}
|
|
1844
|
-
|
|
1699
|
+
|
|
1700
|
+
if (params.Ips) {
|
|
1701
|
+
this.Ips = new Array();
|
|
1702
|
+
for (let z in params.Ips) {
|
|
1703
|
+
let obj = new OriginIp();
|
|
1704
|
+
obj.deserialize(params.Ips[z]);
|
|
1705
|
+
this.Ips.push(obj);
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1709
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1845
1710
|
|
|
1846
1711
|
}
|
|
1847
1712
|
}
|
|
@@ -2055,12 +1920,12 @@ Only data queries at the granularity of days are supported. Take the day in the
|
|
|
2055
1920
|
this.EndTime = null;
|
|
2056
1921
|
|
|
2057
1922
|
/**
|
|
2058
|
-
*
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
1923
|
+
* Sorting object, which supports the following formats.
|
|
1924
|
+
url: specifies the access url in alphabetical order (no parameters). supported filters: flux, request.
|
|
1925
|
+
district: specifies the province or country/region sorting order. supported filters are flux and request.
|
|
1926
|
+
isp: specifies the carrier sorting order. supported filters are flux and request.
|
|
1927
|
+
host: specifies the domain name data access sorting order. supported filters: flux, request, bandwidth, fluxHitRate, 2XX, 3XX, 4XX, 5XX, statusCode.
|
|
1928
|
+
originHost: specifies the domain name origin-pull data sort. supported filters: flux, request, bandwidth, origin_2XX, origin_3XX, origin_4XX, origin_5XX, OriginStatusCode.
|
|
2064
1929
|
* @type {string || null}
|
|
2065
1930
|
*/
|
|
2066
1931
|
this.Metric = null;
|
|
@@ -2536,41 +2401,6 @@ Note: This field may return·`null`, indicating that no valid values can be obta
|
|
|
2536
2401
|
}
|
|
2537
2402
|
}
|
|
2538
2403
|
|
|
2539
|
-
/**
|
|
2540
|
-
* UpdateScdnDomain response structure.
|
|
2541
|
-
* @class
|
|
2542
|
-
*/
|
|
2543
|
-
class UpdateScdnDomainResponse extends AbstractModel {
|
|
2544
|
-
constructor(){
|
|
2545
|
-
super();
|
|
2546
|
-
|
|
2547
|
-
/**
|
|
2548
|
-
* Result of the request. `Success` indicates that the configurations are updated.
|
|
2549
|
-
* @type {string || null}
|
|
2550
|
-
*/
|
|
2551
|
-
this.Result = null;
|
|
2552
|
-
|
|
2553
|
-
/**
|
|
2554
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2555
|
-
* @type {string || null}
|
|
2556
|
-
*/
|
|
2557
|
-
this.RequestId = null;
|
|
2558
|
-
|
|
2559
|
-
}
|
|
2560
|
-
|
|
2561
|
-
/**
|
|
2562
|
-
* @private
|
|
2563
|
-
*/
|
|
2564
|
-
deserialize(params) {
|
|
2565
|
-
if (!params) {
|
|
2566
|
-
return;
|
|
2567
|
-
}
|
|
2568
|
-
this.Result = 'Result' in params ? params.Result : null;
|
|
2569
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2570
|
-
|
|
2571
|
-
}
|
|
2572
|
-
}
|
|
2573
|
-
|
|
2574
2404
|
/**
|
|
2575
2405
|
* Complex origin server configurations. The following configurations are supported:
|
|
2576
2406
|
+ Origin server specified as a single domain name
|
|
@@ -2895,57 +2725,22 @@ all: This indicates the details at the account level
|
|
|
2895
2725
|
}
|
|
2896
2726
|
|
|
2897
2727
|
/**
|
|
2898
|
-
*
|
|
2728
|
+
* Purge/Prefetch available usage and quota
|
|
2899
2729
|
* @class
|
|
2900
2730
|
*/
|
|
2901
|
-
class
|
|
2731
|
+
class Quota extends AbstractModel {
|
|
2902
2732
|
constructor(){
|
|
2903
2733
|
super();
|
|
2904
2734
|
|
|
2905
2735
|
/**
|
|
2906
|
-
*
|
|
2907
|
-
* @type {
|
|
2736
|
+
* Quota limit for one batch submission request.
|
|
2737
|
+
* @type {number || null}
|
|
2908
2738
|
*/
|
|
2909
|
-
this.
|
|
2739
|
+
this.Batch = null;
|
|
2910
2740
|
|
|
2911
2741
|
/**
|
|
2912
|
-
*
|
|
2913
|
-
* @type {
|
|
2914
|
-
*/
|
|
2915
|
-
this.Date = null;
|
|
2916
|
-
|
|
2917
|
-
}
|
|
2918
|
-
|
|
2919
|
-
/**
|
|
2920
|
-
* @private
|
|
2921
|
-
*/
|
|
2922
|
-
deserialize(params) {
|
|
2923
|
-
if (!params) {
|
|
2924
|
-
return;
|
|
2925
|
-
}
|
|
2926
|
-
this.Urls = 'Urls' in params ? params.Urls : null;
|
|
2927
|
-
this.Date = 'Date' in params ? params.Date : null;
|
|
2928
|
-
|
|
2929
|
-
}
|
|
2930
|
-
}
|
|
2931
|
-
|
|
2932
|
-
/**
|
|
2933
|
-
* Purge/Prefetch available usage and quota
|
|
2934
|
-
* @class
|
|
2935
|
-
*/
|
|
2936
|
-
class Quota extends AbstractModel {
|
|
2937
|
-
constructor(){
|
|
2938
|
-
super();
|
|
2939
|
-
|
|
2940
|
-
/**
|
|
2941
|
-
* Quota limit for one batch submission request.
|
|
2942
|
-
* @type {number || null}
|
|
2943
|
-
*/
|
|
2944
|
-
this.Batch = null;
|
|
2945
|
-
|
|
2946
|
-
/**
|
|
2947
|
-
* Daily submission quota limit.
|
|
2948
|
-
* @type {number || null}
|
|
2742
|
+
* Daily submission quota limit.
|
|
2743
|
+
* @type {number || null}
|
|
2949
2744
|
*/
|
|
2950
2745
|
this.Total = null;
|
|
2951
2746
|
|
|
@@ -3099,7 +2894,7 @@ Default value: `bandwidth`
|
|
|
3099
2894
|
this.Product = null;
|
|
3100
2895
|
|
|
3101
2896
|
/**
|
|
3102
|
-
*
|
|
2897
|
+
*
|
|
3103
2898
|
* @type {string || null}
|
|
3104
2899
|
*/
|
|
3105
2900
|
this.TimeZone = null;
|
|
@@ -3267,95 +3062,6 @@ class DeleteClsLogTopicRequest extends AbstractModel {
|
|
|
3267
3062
|
}
|
|
3268
3063
|
}
|
|
3269
3064
|
|
|
3270
|
-
/**
|
|
3271
|
-
* `UserAgent` blacklist/whitelist configuration
|
|
3272
|
-
* @class
|
|
3273
|
-
*/
|
|
3274
|
-
class UserAgentFilter extends AbstractModel {
|
|
3275
|
-
constructor(){
|
|
3276
|
-
super();
|
|
3277
|
-
|
|
3278
|
-
/**
|
|
3279
|
-
* Whether to enable User-Agent blocklist/allowlist. Values:
|
|
3280
|
-
`on`: Enable
|
|
3281
|
-
`off`: Disable
|
|
3282
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
3283
|
-
* @type {string || null}
|
|
3284
|
-
*/
|
|
3285
|
-
this.Switch = null;
|
|
3286
|
-
|
|
3287
|
-
/**
|
|
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.
|
|
3290
|
-
* @type {Array.<UserAgentFilterRule> || null}
|
|
3291
|
-
*/
|
|
3292
|
-
this.FilterRules = null;
|
|
3293
|
-
|
|
3294
|
-
}
|
|
3295
|
-
|
|
3296
|
-
/**
|
|
3297
|
-
* @private
|
|
3298
|
-
*/
|
|
3299
|
-
deserialize(params) {
|
|
3300
|
-
if (!params) {
|
|
3301
|
-
return;
|
|
3302
|
-
}
|
|
3303
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
3304
|
-
|
|
3305
|
-
if (params.FilterRules) {
|
|
3306
|
-
this.FilterRules = new Array();
|
|
3307
|
-
for (let z in params.FilterRules) {
|
|
3308
|
-
let obj = new UserAgentFilterRule();
|
|
3309
|
-
obj.deserialize(params.FilterRules[z]);
|
|
3310
|
-
this.FilterRules.push(obj);
|
|
3311
|
-
}
|
|
3312
|
-
}
|
|
3313
|
-
|
|
3314
|
-
}
|
|
3315
|
-
}
|
|
3316
|
-
|
|
3317
|
-
/**
|
|
3318
|
-
* ModifyDomainConfig request structure.
|
|
3319
|
-
* @class
|
|
3320
|
-
*/
|
|
3321
|
-
class ModifyDomainConfigRequest extends AbstractModel {
|
|
3322
|
-
constructor(){
|
|
3323
|
-
super();
|
|
3324
|
-
|
|
3325
|
-
/**
|
|
3326
|
-
* The domain name.
|
|
3327
|
-
* @type {string || null}
|
|
3328
|
-
*/
|
|
3329
|
-
this.Domain = null;
|
|
3330
|
-
|
|
3331
|
-
/**
|
|
3332
|
-
* Name of the configuration parameter.
|
|
3333
|
-
* @type {string || null}
|
|
3334
|
-
*/
|
|
3335
|
-
this.Route = null;
|
|
3336
|
-
|
|
3337
|
-
/**
|
|
3338
|
-
* Value of the configuration parameter. This field is serialized to a JSON string {key:value}, where **key** is fixed to `update`.
|
|
3339
|
-
* @type {string || null}
|
|
3340
|
-
*/
|
|
3341
|
-
this.Value = null;
|
|
3342
|
-
|
|
3343
|
-
}
|
|
3344
|
-
|
|
3345
|
-
/**
|
|
3346
|
-
* @private
|
|
3347
|
-
*/
|
|
3348
|
-
deserialize(params) {
|
|
3349
|
-
if (!params) {
|
|
3350
|
-
return;
|
|
3351
|
-
}
|
|
3352
|
-
this.Domain = 'Domain' in params ? params.Domain : null;
|
|
3353
|
-
this.Route = 'Route' in params ? params.Route : null;
|
|
3354
|
-
this.Value = 'Value' in params ? params.Value : null;
|
|
3355
|
-
|
|
3356
|
-
}
|
|
3357
|
-
}
|
|
3358
|
-
|
|
3359
3065
|
/**
|
|
3360
3066
|
* DescribeCdnOriginIp request structure.
|
|
3361
3067
|
* @class
|
|
@@ -3471,110 +3177,6 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
3471
3177
|
}
|
|
3472
3178
|
}
|
|
3473
3179
|
|
|
3474
|
-
/**
|
|
3475
|
-
* SCDN custom CC rules
|
|
3476
|
-
* @class
|
|
3477
|
-
*/
|
|
3478
|
-
class AdvancedCCRules extends AbstractModel {
|
|
3479
|
-
constructor(){
|
|
3480
|
-
super();
|
|
3481
|
-
|
|
3482
|
-
/**
|
|
3483
|
-
* Rule name
|
|
3484
|
-
* @type {string || null}
|
|
3485
|
-
*/
|
|
3486
|
-
this.RuleName = null;
|
|
3487
|
-
|
|
3488
|
-
/**
|
|
3489
|
-
* Detection duration
|
|
3490
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3491
|
-
* @type {number || null}
|
|
3492
|
-
*/
|
|
3493
|
-
this.DetectionTime = null;
|
|
3494
|
-
|
|
3495
|
-
/**
|
|
3496
|
-
* Detection frequency threshold
|
|
3497
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3498
|
-
* @type {number || null}
|
|
3499
|
-
*/
|
|
3500
|
-
this.FrequencyLimit = null;
|
|
3501
|
-
|
|
3502
|
-
/**
|
|
3503
|
-
* Whether to enable IP blocking. Values:
|
|
3504
|
-
`on`: Enable
|
|
3505
|
-
`off`: Disable
|
|
3506
|
-
Note: This field may return·`null`, indicating that no valid values can be obtained.
|
|
3507
|
-
* @type {string || null}
|
|
3508
|
-
*/
|
|
3509
|
-
this.PunishmentSwitch = null;
|
|
3510
|
-
|
|
3511
|
-
/**
|
|
3512
|
-
* IP penalty duration
|
|
3513
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3514
|
-
* @type {number || null}
|
|
3515
|
-
*/
|
|
3516
|
-
this.PunishmentTime = null;
|
|
3517
|
-
|
|
3518
|
-
/**
|
|
3519
|
-
* Action. Valid values: `intercept` and `redirect`.
|
|
3520
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3521
|
-
* @type {string || null}
|
|
3522
|
-
*/
|
|
3523
|
-
this.Action = null;
|
|
3524
|
-
|
|
3525
|
-
/**
|
|
3526
|
-
* A redirection URL used when Action is `redirect`
|
|
3527
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3528
|
-
* @type {string || null}
|
|
3529
|
-
*/
|
|
3530
|
-
this.RedirectUrl = null;
|
|
3531
|
-
|
|
3532
|
-
/**
|
|
3533
|
-
* Layer-7 rule configuration for CC frequency limiting
|
|
3534
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3535
|
-
* @type {Array.<ScdnSevenLayerRules> || null}
|
|
3536
|
-
*/
|
|
3537
|
-
this.Configure = null;
|
|
3538
|
-
|
|
3539
|
-
/**
|
|
3540
|
-
* Whether to enable custom CC rules. Values:
|
|
3541
|
-
`on`: Enable
|
|
3542
|
-
`off`: Disable
|
|
3543
|
-
Note: This field may return·`null`, indicating that no valid values can be obtained.
|
|
3544
|
-
* @type {string || null}
|
|
3545
|
-
*/
|
|
3546
|
-
this.Switch = null;
|
|
3547
|
-
|
|
3548
|
-
}
|
|
3549
|
-
|
|
3550
|
-
/**
|
|
3551
|
-
* @private
|
|
3552
|
-
*/
|
|
3553
|
-
deserialize(params) {
|
|
3554
|
-
if (!params) {
|
|
3555
|
-
return;
|
|
3556
|
-
}
|
|
3557
|
-
this.RuleName = 'RuleName' in params ? params.RuleName : null;
|
|
3558
|
-
this.DetectionTime = 'DetectionTime' in params ? params.DetectionTime : null;
|
|
3559
|
-
this.FrequencyLimit = 'FrequencyLimit' in params ? params.FrequencyLimit : null;
|
|
3560
|
-
this.PunishmentSwitch = 'PunishmentSwitch' in params ? params.PunishmentSwitch : null;
|
|
3561
|
-
this.PunishmentTime = 'PunishmentTime' in params ? params.PunishmentTime : null;
|
|
3562
|
-
this.Action = 'Action' in params ? params.Action : null;
|
|
3563
|
-
this.RedirectUrl = 'RedirectUrl' in params ? params.RedirectUrl : null;
|
|
3564
|
-
|
|
3565
|
-
if (params.Configure) {
|
|
3566
|
-
this.Configure = new Array();
|
|
3567
|
-
for (let z in params.Configure) {
|
|
3568
|
-
let obj = new ScdnSevenLayerRules();
|
|
3569
|
-
obj.deserialize(params.Configure[z]);
|
|
3570
|
-
this.Configure.push(obj);
|
|
3571
|
-
}
|
|
3572
|
-
}
|
|
3573
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
3574
|
-
|
|
3575
|
-
}
|
|
3576
|
-
}
|
|
3577
|
-
|
|
3578
3180
|
/**
|
|
3579
3181
|
* DescribeDomainsConfig response structure.
|
|
3580
3182
|
* @class
|
|
@@ -4136,12 +3738,17 @@ class ListClsTopicDomainsResponse extends AbstractModel {
|
|
|
4136
3738
|
this.TopicName = null;
|
|
4137
3739
|
|
|
4138
3740
|
/**
|
|
4139
|
-
*
|
|
4140
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
3741
|
+
* Latest update time of the log topic.
|
|
4141
3742
|
* @type {string || null}
|
|
4142
3743
|
*/
|
|
4143
3744
|
this.UpdateTime = null;
|
|
4144
3745
|
|
|
3746
|
+
/**
|
|
3747
|
+
* Specifies whether to inherit the domain name tag.
|
|
3748
|
+
* @type {boolean || null}
|
|
3749
|
+
*/
|
|
3750
|
+
this.InheritDomainTags = null;
|
|
3751
|
+
|
|
4145
3752
|
/**
|
|
4146
3753
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4147
3754
|
* @type {string || null}
|
|
@@ -4172,58 +3779,28 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
4172
3779
|
}
|
|
4173
3780
|
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
4174
3781
|
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
3782
|
+
this.InheritDomainTags = 'InheritDomainTags' in params ? params.InheritDomainTags : null;
|
|
4175
3783
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4176
3784
|
|
|
4177
3785
|
}
|
|
4178
3786
|
}
|
|
4179
3787
|
|
|
4180
3788
|
/**
|
|
4181
|
-
*
|
|
3789
|
+
* HTTPS. When it’s disabled, HTTPS requests are blocked.
|
|
4182
3790
|
* @class
|
|
4183
3791
|
*/
|
|
4184
|
-
class
|
|
3792
|
+
class HttpsBilling extends AbstractModel {
|
|
4185
3793
|
constructor(){
|
|
4186
3794
|
super();
|
|
4187
3795
|
|
|
4188
3796
|
/**
|
|
4189
|
-
* Whether to enable
|
|
4190
|
-
`on`:
|
|
4191
|
-
`off`:
|
|
4192
|
-
* @type {string || null}
|
|
4193
|
-
*/
|
|
4194
|
-
this.Switch = null;
|
|
4195
|
-
|
|
4196
|
-
/**
|
|
4197
|
-
* Rule type, which can only be `all` currently.
|
|
4198
|
-
* @type {string || null}
|
|
4199
|
-
*/
|
|
4200
|
-
this.RuleType = null;
|
|
4201
|
-
|
|
4202
|
-
/**
|
|
4203
|
-
* Rule value. Valid value: `*`.
|
|
4204
|
-
* @type {Array.<string> || null}
|
|
4205
|
-
*/
|
|
4206
|
-
this.RuleValue = null;
|
|
4207
|
-
|
|
4208
|
-
/**
|
|
4209
|
-
* Action. Valid values: `monitor`, `intercept`, `redirect`, and `captcha`.
|
|
4210
|
-
* @type {string || null}
|
|
4211
|
-
*/
|
|
4212
|
-
this.Action = null;
|
|
4213
|
-
|
|
4214
|
-
/**
|
|
4215
|
-
* Redirection target page
|
|
4216
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4217
|
-
* @type {string || null}
|
|
4218
|
-
*/
|
|
4219
|
-
this.RedirectUrl = null;
|
|
3797
|
+
* Whether to enable HTTPS. Values:
|
|
3798
|
+
`on`: When it's enabled, HTTPS requests are allowed and incur charges. If not specified, his field uses the default value `on`.
|
|
3799
|
+
`off`: When it's disabled, HTTPS requests are blocked.
|
|
4220
3800
|
|
|
4221
|
-
/**
|
|
4222
|
-
* Update time
|
|
4223
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4224
3801
|
* @type {string || null}
|
|
4225
3802
|
*/
|
|
4226
|
-
this.
|
|
3803
|
+
this.Switch = null;
|
|
4227
3804
|
|
|
4228
3805
|
}
|
|
4229
3806
|
|
|
@@ -4235,11 +3812,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4235
3812
|
return;
|
|
4236
3813
|
}
|
|
4237
3814
|
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
4238
|
-
this.RuleType = 'RuleType' in params ? params.RuleType : null;
|
|
4239
|
-
this.RuleValue = 'RuleValue' in params ? params.RuleValue : null;
|
|
4240
|
-
this.Action = 'Action' in params ? params.Action : null;
|
|
4241
|
-
this.RedirectUrl = 'RedirectUrl' in params ? params.RedirectUrl : null;
|
|
4242
|
-
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
4243
3815
|
|
|
4244
3816
|
}
|
|
4245
3817
|
}
|
|
@@ -4253,7 +3825,7 @@ class DescribeCdnIpRequest extends AbstractModel {
|
|
|
4253
3825
|
super();
|
|
4254
3826
|
|
|
4255
3827
|
/**
|
|
4256
|
-
*
|
|
3828
|
+
* IP list you want to query. supports 1-20 ip inquiries at a time.
|
|
4257
3829
|
* @type {Array.<string> || null}
|
|
4258
3830
|
*/
|
|
4259
3831
|
this.Ips = null;
|
|
@@ -4304,61 +3876,24 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
4304
3876
|
}
|
|
4305
3877
|
|
|
4306
3878
|
/**
|
|
4307
|
-
*
|
|
3879
|
+
*
|
|
4308
3880
|
* @class
|
|
4309
3881
|
*/
|
|
4310
|
-
class
|
|
3882
|
+
class FilterRules extends AbstractModel {
|
|
4311
3883
|
constructor(){
|
|
4312
3884
|
super();
|
|
4313
3885
|
|
|
4314
3886
|
/**
|
|
4315
|
-
*
|
|
4316
|
-
`on`: Enable
|
|
4317
|
-
`off`: Disable
|
|
3887
|
+
*
|
|
4318
3888
|
* @type {string || null}
|
|
4319
3889
|
*/
|
|
4320
|
-
this.
|
|
3890
|
+
this.FilterType = null;
|
|
4321
3891
|
|
|
4322
3892
|
/**
|
|
4323
|
-
*
|
|
4324
|
-
* @type {
|
|
3893
|
+
*
|
|
3894
|
+
* @type {string || null}
|
|
4325
3895
|
*/
|
|
4326
|
-
this.
|
|
4327
|
-
|
|
4328
|
-
}
|
|
4329
|
-
|
|
4330
|
-
/**
|
|
4331
|
-
* @private
|
|
4332
|
-
*/
|
|
4333
|
-
deserialize(params) {
|
|
4334
|
-
if (!params) {
|
|
4335
|
-
return;
|
|
4336
|
-
}
|
|
4337
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
4338
|
-
this.SubIds = 'SubIds' in params ? params.SubIds : null;
|
|
4339
|
-
|
|
4340
|
-
}
|
|
4341
|
-
}
|
|
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;
|
|
3896
|
+
this.RuleType = null;
|
|
4362
3897
|
|
|
4363
3898
|
/**
|
|
4364
3899
|
*
|
|
@@ -6215,26 +5750,29 @@ After switching to global acceleration, configurations of the domain name will b
|
|
|
6215
5750
|
}
|
|
6216
5751
|
|
|
6217
5752
|
/**
|
|
6218
|
-
*
|
|
5753
|
+
* Shared CNAME configuration
|
|
5754
|
+
ShareCname is only available to beta users. Submit a ticket if you need it.
|
|
6219
5755
|
* @class
|
|
6220
5756
|
*/
|
|
6221
|
-
class
|
|
5757
|
+
class ShareCname extends AbstractModel {
|
|
6222
5758
|
constructor(){
|
|
6223
5759
|
super();
|
|
6224
5760
|
|
|
6225
5761
|
/**
|
|
6226
|
-
*
|
|
6227
|
-
|
|
5762
|
+
* Whether to enable Shared CNAME. Values:
|
|
5763
|
+
`on`: Enable. When enabled, it uses a shared CNAME.
|
|
5764
|
+
`off`: Disable. When disabled, it uses a default CNAME.
|
|
5765
|
+
|
|
6228
5766
|
* @type {string || null}
|
|
6229
5767
|
*/
|
|
6230
|
-
this.
|
|
5768
|
+
this.Switch = null;
|
|
6231
5769
|
|
|
6232
5770
|
/**
|
|
6233
|
-
*
|
|
6234
|
-
Note:
|
|
5771
|
+
* Shared CNAME to be configured
|
|
5772
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6235
5773
|
* @type {string || null}
|
|
6236
5774
|
*/
|
|
6237
|
-
this.
|
|
5775
|
+
this.Cname = null;
|
|
6238
5776
|
|
|
6239
5777
|
}
|
|
6240
5778
|
|
|
@@ -6245,8 +5783,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
6245
5783
|
if (!params) {
|
|
6246
5784
|
return;
|
|
6247
5785
|
}
|
|
6248
|
-
this.
|
|
6249
|
-
this.
|
|
5786
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
5787
|
+
this.Cname = 'Cname' in params ? params.Cname : null;
|
|
6250
5788
|
|
|
6251
5789
|
}
|
|
6252
5790
|
}
|
|
@@ -6451,7 +5989,7 @@ class DescribeCertDomainsRequest extends AbstractModel {
|
|
|
6451
5989
|
this.Cert = null;
|
|
6452
5990
|
|
|
6453
5991
|
/**
|
|
6454
|
-
* Managed certificate ID.
|
|
5992
|
+
* Managed certificate ID. Cert and CertId cannot both be empty. if both are filled in, CertId takes precedence.
|
|
6455
5993
|
* @type {string || null}
|
|
6456
5994
|
*/
|
|
6457
5995
|
this.CertId = null;
|
|
@@ -6493,7 +6031,7 @@ class DescribeDomainsConfigRequest extends AbstractModel {
|
|
|
6493
6031
|
this.Offset = null;
|
|
6494
6032
|
|
|
6495
6033
|
/**
|
|
6496
|
-
*
|
|
6034
|
+
* Number limit of paginated query. default value: 100. maximum settable: 100.
|
|
6497
6035
|
* @type {number || null}
|
|
6498
6036
|
*/
|
|
6499
6037
|
this.Limit = null;
|
|
@@ -7013,15 +6551,13 @@ class DescribeCertDomainsResponse extends AbstractModel {
|
|
|
7013
6551
|
super();
|
|
7014
6552
|
|
|
7015
6553
|
/**
|
|
7016
|
-
* List of domain names
|
|
7017
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
6554
|
+
* List of domain names integrated with CDN.
|
|
7018
6555
|
* @type {Array.<string> || null}
|
|
7019
6556
|
*/
|
|
7020
6557
|
this.Domains = null;
|
|
7021
6558
|
|
|
7022
6559
|
/**
|
|
7023
|
-
* List of CDN domain names with certificates
|
|
7024
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
6560
|
+
* List of CDN domain names with configured certificates.
|
|
7025
6561
|
* @type {Array.<string> || null}
|
|
7026
6562
|
*/
|
|
7027
6563
|
this.CertifiedDomains = null;
|
|
@@ -7049,34 +6585,24 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
7049
6585
|
}
|
|
7050
6586
|
|
|
7051
6587
|
/**
|
|
7052
|
-
*
|
|
6588
|
+
* DuplicateDomainConfig request structure.
|
|
7053
6589
|
* @class
|
|
7054
6590
|
*/
|
|
7055
|
-
class
|
|
6591
|
+
class DuplicateDomainConfigRequest extends AbstractModel {
|
|
7056
6592
|
constructor(){
|
|
7057
6593
|
super();
|
|
7058
6594
|
|
|
7059
6595
|
/**
|
|
7060
|
-
*
|
|
7061
|
-
`on`: Enable
|
|
7062
|
-
`off`: Disable
|
|
6596
|
+
* Adds a domain name.
|
|
7063
6597
|
* @type {string || null}
|
|
7064
6598
|
*/
|
|
7065
|
-
this.
|
|
7066
|
-
|
|
7067
|
-
/**
|
|
7068
|
-
* Bot cookie policy
|
|
7069
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7070
|
-
* @type {Array.<BotCookie> || null}
|
|
7071
|
-
*/
|
|
7072
|
-
this.BotCookie = null;
|
|
6599
|
+
this.Domain = null;
|
|
7073
6600
|
|
|
7074
6601
|
/**
|
|
7075
|
-
*
|
|
7076
|
-
|
|
7077
|
-
* @type {Array.<BotJavaScript> || null}
|
|
6602
|
+
* Specifies the configured domain name to be copied.
|
|
6603
|
+
* @type {string || null}
|
|
7078
6604
|
*/
|
|
7079
|
-
this.
|
|
6605
|
+
this.ReferenceDomain = null;
|
|
7080
6606
|
|
|
7081
6607
|
}
|
|
7082
6608
|
|
|
@@ -7087,25 +6613,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
7087
6613
|
if (!params) {
|
|
7088
6614
|
return;
|
|
7089
6615
|
}
|
|
7090
|
-
this.
|
|
7091
|
-
|
|
7092
|
-
if (params.BotCookie) {
|
|
7093
|
-
this.BotCookie = new Array();
|
|
7094
|
-
for (let z in params.BotCookie) {
|
|
7095
|
-
let obj = new BotCookie();
|
|
7096
|
-
obj.deserialize(params.BotCookie[z]);
|
|
7097
|
-
this.BotCookie.push(obj);
|
|
7098
|
-
}
|
|
7099
|
-
}
|
|
7100
|
-
|
|
7101
|
-
if (params.BotJavaScript) {
|
|
7102
|
-
this.BotJavaScript = new Array();
|
|
7103
|
-
for (let z in params.BotJavaScript) {
|
|
7104
|
-
let obj = new BotJavaScript();
|
|
7105
|
-
obj.deserialize(params.BotJavaScript[z]);
|
|
7106
|
-
this.BotJavaScript.push(obj);
|
|
7107
|
-
}
|
|
7108
|
-
}
|
|
6616
|
+
this.Domain = 'Domain' in params ? params.Domain : null;
|
|
6617
|
+
this.ReferenceDomain = 'ReferenceDomain' in params ? params.ReferenceDomain : null;
|
|
7109
6618
|
|
|
7110
6619
|
}
|
|
7111
6620
|
}
|
|
@@ -7416,6 +6925,52 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
7416
6925
|
}
|
|
7417
6926
|
}
|
|
7418
6927
|
|
|
6928
|
+
/**
|
|
6929
|
+
* Custom response header configuration. This is disabled by default.
|
|
6930
|
+
* @class
|
|
6931
|
+
*/
|
|
6932
|
+
class ResponseHeader extends AbstractModel {
|
|
6933
|
+
constructor(){
|
|
6934
|
+
super();
|
|
6935
|
+
|
|
6936
|
+
/**
|
|
6937
|
+
* Whether to enable custom response headers. Values:
|
|
6938
|
+
`on`: Enable
|
|
6939
|
+
`off`: Disable
|
|
6940
|
+
* @type {string || null}
|
|
6941
|
+
*/
|
|
6942
|
+
this.Switch = null;
|
|
6943
|
+
|
|
6944
|
+
/**
|
|
6945
|
+
* Custom response header rules
|
|
6946
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
6947
|
+
* @type {Array.<HttpHeaderPathRule> || null}
|
|
6948
|
+
*/
|
|
6949
|
+
this.HeaderRules = null;
|
|
6950
|
+
|
|
6951
|
+
}
|
|
6952
|
+
|
|
6953
|
+
/**
|
|
6954
|
+
* @private
|
|
6955
|
+
*/
|
|
6956
|
+
deserialize(params) {
|
|
6957
|
+
if (!params) {
|
|
6958
|
+
return;
|
|
6959
|
+
}
|
|
6960
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
6961
|
+
|
|
6962
|
+
if (params.HeaderRules) {
|
|
6963
|
+
this.HeaderRules = new Array();
|
|
6964
|
+
for (let z in params.HeaderRules) {
|
|
6965
|
+
let obj = new HttpHeaderPathRule();
|
|
6966
|
+
obj.deserialize(params.HeaderRules[z]);
|
|
6967
|
+
this.HeaderRules.push(obj);
|
|
6968
|
+
}
|
|
6969
|
+
}
|
|
6970
|
+
|
|
6971
|
+
}
|
|
6972
|
+
}
|
|
6973
|
+
|
|
7419
6974
|
/**
|
|
7420
6975
|
* Origin-pull authentication advanced configuration TypeA
|
|
7421
6976
|
* @class
|
|
@@ -7454,15 +7009,13 @@ class DescribePushTasksResponse extends AbstractModel {
|
|
|
7454
7009
|
super();
|
|
7455
7010
|
|
|
7456
7011
|
/**
|
|
7457
|
-
*
|
|
7458
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
7012
|
+
* Preheating history.
|
|
7459
7013
|
* @type {Array.<PushTask> || null}
|
|
7460
7014
|
*/
|
|
7461
7015
|
this.PushLogs = null;
|
|
7462
7016
|
|
|
7463
7017
|
/**
|
|
7464
|
-
* Total number of tasks
|
|
7465
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
7018
|
+
* Total number of tasks. for pagination.
|
|
7466
7019
|
* @type {number || null}
|
|
7467
7020
|
*/
|
|
7468
7021
|
this.TotalCount = null;
|
|
@@ -7886,35 +7439,6 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
7886
7439
|
}
|
|
7887
7440
|
}
|
|
7888
7441
|
|
|
7889
|
-
/**
|
|
7890
|
-
* DisableCaches request structure.
|
|
7891
|
-
* @class
|
|
7892
|
-
*/
|
|
7893
|
-
class DisableCachesRequest extends AbstractModel {
|
|
7894
|
-
constructor(){
|
|
7895
|
-
super();
|
|
7896
|
-
|
|
7897
|
-
/**
|
|
7898
|
-
* List of URLs to be blocked (URLs must contain `http://` or `https://`).
|
|
7899
|
-
Up to 100 entries can be submitted at a time and 3,000 entries per day.
|
|
7900
|
-
* @type {Array.<string> || null}
|
|
7901
|
-
*/
|
|
7902
|
-
this.Urls = null;
|
|
7903
|
-
|
|
7904
|
-
}
|
|
7905
|
-
|
|
7906
|
-
/**
|
|
7907
|
-
* @private
|
|
7908
|
-
*/
|
|
7909
|
-
deserialize(params) {
|
|
7910
|
-
if (!params) {
|
|
7911
|
-
return;
|
|
7912
|
-
}
|
|
7913
|
-
this.Urls = 'Urls' in params ? params.Urls : null;
|
|
7914
|
-
|
|
7915
|
-
}
|
|
7916
|
-
}
|
|
7917
|
-
|
|
7918
7442
|
/**
|
|
7919
7443
|
* AddCLSTopicDomains response structure.
|
|
7920
7444
|
* @class
|
|
@@ -8024,52 +7548,6 @@ class DisableClsLogTopicResponse extends AbstractModel {
|
|
|
8024
7548
|
}
|
|
8025
7549
|
}
|
|
8026
7550
|
|
|
8027
|
-
/**
|
|
8028
|
-
* HSTS configuration.
|
|
8029
|
-
* @class
|
|
8030
|
-
*/
|
|
8031
|
-
class Hsts extends AbstractModel {
|
|
8032
|
-
constructor(){
|
|
8033
|
-
super();
|
|
8034
|
-
|
|
8035
|
-
/**
|
|
8036
|
-
* Whether to enable HSTS. Values:
|
|
8037
|
-
`on`: Enable
|
|
8038
|
-
`off`: Disable
|
|
8039
|
-
* @type {string || null}
|
|
8040
|
-
*/
|
|
8041
|
-
this.Switch = null;
|
|
8042
|
-
|
|
8043
|
-
/**
|
|
8044
|
-
* `MaxAge` value.
|
|
8045
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
8046
|
-
* @type {number || null}
|
|
8047
|
-
*/
|
|
8048
|
-
this.MaxAge = null;
|
|
8049
|
-
|
|
8050
|
-
/**
|
|
8051
|
-
* Whether to include subdomain names. Valid values: on, off.
|
|
8052
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
8053
|
-
* @type {string || null}
|
|
8054
|
-
*/
|
|
8055
|
-
this.IncludeSubDomains = null;
|
|
8056
|
-
|
|
8057
|
-
}
|
|
8058
|
-
|
|
8059
|
-
/**
|
|
8060
|
-
* @private
|
|
8061
|
-
*/
|
|
8062
|
-
deserialize(params) {
|
|
8063
|
-
if (!params) {
|
|
8064
|
-
return;
|
|
8065
|
-
}
|
|
8066
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
8067
|
-
this.MaxAge = 'MaxAge' in params ? params.MaxAge : null;
|
|
8068
|
-
this.IncludeSubDomains = 'IncludeSubDomains' in params ? params.IncludeSubDomains : null;
|
|
8069
|
-
|
|
8070
|
-
}
|
|
8071
|
-
}
|
|
8072
|
-
|
|
8073
7551
|
/**
|
|
8074
7552
|
* DescribeIpStatus request structure.
|
|
8075
7553
|
* @class
|
|
@@ -8624,6 +8102,19 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
8624
8102
|
*/
|
|
8625
8103
|
this.OthersPrivateAccess = null;
|
|
8626
8104
|
|
|
8105
|
+
/**
|
|
8106
|
+
* Specifies the blocklist parameter.
|
|
8107
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8108
|
+
* @type {ParamFilter || null}
|
|
8109
|
+
*/
|
|
8110
|
+
this.ParamFilter = null;
|
|
8111
|
+
|
|
8112
|
+
/**
|
|
8113
|
+
*
|
|
8114
|
+
* @type {AutoGuard || null}
|
|
8115
|
+
*/
|
|
8116
|
+
this.AutoGuard = null;
|
|
8117
|
+
|
|
8627
8118
|
}
|
|
8628
8119
|
|
|
8629
8120
|
/**
|
|
@@ -8961,6 +8452,18 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
8961
8452
|
this.OthersPrivateAccess = obj;
|
|
8962
8453
|
}
|
|
8963
8454
|
|
|
8455
|
+
if (params.ParamFilter) {
|
|
8456
|
+
let obj = new ParamFilter();
|
|
8457
|
+
obj.deserialize(params.ParamFilter)
|
|
8458
|
+
this.ParamFilter = obj;
|
|
8459
|
+
}
|
|
8460
|
+
|
|
8461
|
+
if (params.AutoGuard) {
|
|
8462
|
+
let obj = new AutoGuard();
|
|
8463
|
+
obj.deserialize(params.AutoGuard)
|
|
8464
|
+
this.AutoGuard = obj;
|
|
8465
|
+
}
|
|
8466
|
+
|
|
8964
8467
|
}
|
|
8965
8468
|
}
|
|
8966
8469
|
|
|
@@ -9003,32 +8506,21 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
9003
8506
|
}
|
|
9004
8507
|
|
|
9005
8508
|
/**
|
|
9006
|
-
*
|
|
8509
|
+
* IPv6 access configuration
|
|
9007
8510
|
* @class
|
|
9008
8511
|
*/
|
|
9009
|
-
class
|
|
8512
|
+
class Ipv6Access extends AbstractModel {
|
|
9010
8513
|
constructor(){
|
|
9011
8514
|
super();
|
|
9012
8515
|
|
|
9013
8516
|
/**
|
|
9014
|
-
*
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
|
|
9018
|
-
this.UrlRecordList = null;
|
|
9019
|
-
|
|
9020
|
-
/**
|
|
9021
|
-
* Total number of tasks, which is used for pagination.
|
|
9022
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
9023
|
-
* @type {number || null}
|
|
9024
|
-
*/
|
|
9025
|
-
this.TotalCount = null;
|
|
9026
|
-
|
|
9027
|
-
/**
|
|
9028
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8517
|
+
* Whether to enable IPv6 access. Values:
|
|
8518
|
+
`on`: Enable
|
|
8519
|
+
`off`: Disable
|
|
8520
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
9029
8521
|
* @type {string || null}
|
|
9030
8522
|
*/
|
|
9031
|
-
this.
|
|
8523
|
+
this.Switch = null;
|
|
9032
8524
|
|
|
9033
8525
|
}
|
|
9034
8526
|
|
|
@@ -9039,57 +8531,16 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
9039
8531
|
if (!params) {
|
|
9040
8532
|
return;
|
|
9041
8533
|
}
|
|
9042
|
-
|
|
9043
|
-
if (params.UrlRecordList) {
|
|
9044
|
-
this.UrlRecordList = new Array();
|
|
9045
|
-
for (let z in params.UrlRecordList) {
|
|
9046
|
-
let obj = new UrlRecord();
|
|
9047
|
-
obj.deserialize(params.UrlRecordList[z]);
|
|
9048
|
-
this.UrlRecordList.push(obj);
|
|
9049
|
-
}
|
|
9050
|
-
}
|
|
9051
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
9052
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8534
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
9053
8535
|
|
|
9054
8536
|
}
|
|
9055
8537
|
}
|
|
9056
8538
|
|
|
9057
8539
|
/**
|
|
9058
|
-
*
|
|
8540
|
+
* Heuristic cache configuration
|
|
9059
8541
|
* @class
|
|
9060
8542
|
*/
|
|
9061
|
-
class
|
|
9062
|
-
constructor(){
|
|
9063
|
-
super();
|
|
9064
|
-
|
|
9065
|
-
/**
|
|
9066
|
-
* Whether to enable IPv6 access. Values:
|
|
9067
|
-
`on`: Enable
|
|
9068
|
-
`off`: Disable
|
|
9069
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
9070
|
-
* @type {string || null}
|
|
9071
|
-
*/
|
|
9072
|
-
this.Switch = null;
|
|
9073
|
-
|
|
9074
|
-
}
|
|
9075
|
-
|
|
9076
|
-
/**
|
|
9077
|
-
* @private
|
|
9078
|
-
*/
|
|
9079
|
-
deserialize(params) {
|
|
9080
|
-
if (!params) {
|
|
9081
|
-
return;
|
|
9082
|
-
}
|
|
9083
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
9084
|
-
|
|
9085
|
-
}
|
|
9086
|
-
}
|
|
9087
|
-
|
|
9088
|
-
/**
|
|
9089
|
-
* Heuristic cache configuration
|
|
9090
|
-
* @class
|
|
9091
|
-
*/
|
|
9092
|
-
class HeuristicCache extends AbstractModel {
|
|
8543
|
+
class HeuristicCache extends AbstractModel {
|
|
9093
8544
|
constructor(){
|
|
9094
8545
|
super();
|
|
9095
8546
|
|
|
@@ -9130,27 +8581,18 @@ Note: This field may return·`null`, indicating that no valid values can be obta
|
|
|
9130
8581
|
}
|
|
9131
8582
|
|
|
9132
8583
|
/**
|
|
9133
|
-
*
|
|
8584
|
+
* DuplicateDomainConfig response structure.
|
|
9134
8585
|
* @class
|
|
9135
8586
|
*/
|
|
9136
|
-
class
|
|
8587
|
+
class DuplicateDomainConfigResponse extends AbstractModel {
|
|
9137
8588
|
constructor(){
|
|
9138
8589
|
super();
|
|
9139
8590
|
|
|
9140
8591
|
/**
|
|
9141
|
-
*
|
|
9142
|
-
`on`: Enable
|
|
9143
|
-
`off`: Disable
|
|
8592
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9144
8593
|
* @type {string || null}
|
|
9145
8594
|
*/
|
|
9146
|
-
this.
|
|
9147
|
-
|
|
9148
|
-
/**
|
|
9149
|
-
* Custom response header rules
|
|
9150
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
9151
|
-
* @type {Array.<HttpHeaderPathRule> || null}
|
|
9152
|
-
*/
|
|
9153
|
-
this.HeaderRules = null;
|
|
8595
|
+
this.RequestId = null;
|
|
9154
8596
|
|
|
9155
8597
|
}
|
|
9156
8598
|
|
|
@@ -9161,16 +8603,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
9161
8603
|
if (!params) {
|
|
9162
8604
|
return;
|
|
9163
8605
|
}
|
|
9164
|
-
this.
|
|
9165
|
-
|
|
9166
|
-
if (params.HeaderRules) {
|
|
9167
|
-
this.HeaderRules = new Array();
|
|
9168
|
-
for (let z in params.HeaderRules) {
|
|
9169
|
-
let obj = new HttpHeaderPathRule();
|
|
9170
|
-
obj.deserialize(params.HeaderRules[z]);
|
|
9171
|
-
this.HeaderRules.push(obj);
|
|
9172
|
-
}
|
|
9173
|
-
}
|
|
8606
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9174
8607
|
|
|
9175
8608
|
}
|
|
9176
8609
|
}
|
|
@@ -9252,129 +8685,6 @@ class SummarizedData extends AbstractModel {
|
|
|
9252
8685
|
}
|
|
9253
8686
|
}
|
|
9254
8687
|
|
|
9255
|
-
/**
|
|
9256
|
-
* UpdateScdnDomain request structure.
|
|
9257
|
-
* @class
|
|
9258
|
-
*/
|
|
9259
|
-
class UpdateScdnDomainRequest extends AbstractModel {
|
|
9260
|
-
constructor(){
|
|
9261
|
-
super();
|
|
9262
|
-
|
|
9263
|
-
/**
|
|
9264
|
-
* Domain name
|
|
9265
|
-
* @type {string || null}
|
|
9266
|
-
*/
|
|
9267
|
-
this.Domain = null;
|
|
9268
|
-
|
|
9269
|
-
/**
|
|
9270
|
-
* WAF configuration
|
|
9271
|
-
* @type {ScdnWafConfig || null}
|
|
9272
|
-
*/
|
|
9273
|
-
this.Waf = null;
|
|
9274
|
-
|
|
9275
|
-
/**
|
|
9276
|
-
* Custom defense policy configuration
|
|
9277
|
-
* @type {ScdnAclConfig || null}
|
|
9278
|
-
*/
|
|
9279
|
-
this.Acl = null;
|
|
9280
|
-
|
|
9281
|
-
/**
|
|
9282
|
-
* CC attack defense configurations. CC attack defense is enabled by default.
|
|
9283
|
-
* @type {ScdnConfig || null}
|
|
9284
|
-
*/
|
|
9285
|
-
this.CC = null;
|
|
9286
|
-
|
|
9287
|
-
/**
|
|
9288
|
-
* DDoS defense configuration. DDoS defense is enabled by default.
|
|
9289
|
-
* @type {ScdnDdosConfig || null}
|
|
9290
|
-
*/
|
|
9291
|
-
this.Ddos = null;
|
|
9292
|
-
|
|
9293
|
-
/**
|
|
9294
|
-
* Bot defense configuration
|
|
9295
|
-
* @type {ScdnBotConfig || null}
|
|
9296
|
-
*/
|
|
9297
|
-
this.Bot = null;
|
|
9298
|
-
|
|
9299
|
-
}
|
|
9300
|
-
|
|
9301
|
-
/**
|
|
9302
|
-
* @private
|
|
9303
|
-
*/
|
|
9304
|
-
deserialize(params) {
|
|
9305
|
-
if (!params) {
|
|
9306
|
-
return;
|
|
9307
|
-
}
|
|
9308
|
-
this.Domain = 'Domain' in params ? params.Domain : null;
|
|
9309
|
-
|
|
9310
|
-
if (params.Waf) {
|
|
9311
|
-
let obj = new ScdnWafConfig();
|
|
9312
|
-
obj.deserialize(params.Waf)
|
|
9313
|
-
this.Waf = obj;
|
|
9314
|
-
}
|
|
9315
|
-
|
|
9316
|
-
if (params.Acl) {
|
|
9317
|
-
let obj = new ScdnAclConfig();
|
|
9318
|
-
obj.deserialize(params.Acl)
|
|
9319
|
-
this.Acl = obj;
|
|
9320
|
-
}
|
|
9321
|
-
|
|
9322
|
-
if (params.CC) {
|
|
9323
|
-
let obj = new ScdnConfig();
|
|
9324
|
-
obj.deserialize(params.CC)
|
|
9325
|
-
this.CC = obj;
|
|
9326
|
-
}
|
|
9327
|
-
|
|
9328
|
-
if (params.Ddos) {
|
|
9329
|
-
let obj = new ScdnDdosConfig();
|
|
9330
|
-
obj.deserialize(params.Ddos)
|
|
9331
|
-
this.Ddos = obj;
|
|
9332
|
-
}
|
|
9333
|
-
|
|
9334
|
-
if (params.Bot) {
|
|
9335
|
-
let obj = new ScdnBotConfig();
|
|
9336
|
-
obj.deserialize(params.Bot)
|
|
9337
|
-
this.Bot = obj;
|
|
9338
|
-
}
|
|
9339
|
-
|
|
9340
|
-
}
|
|
9341
|
-
}
|
|
9342
|
-
|
|
9343
|
-
/**
|
|
9344
|
-
* UpdatePayType request structure.
|
|
9345
|
-
* @class
|
|
9346
|
-
*/
|
|
9347
|
-
class UpdatePayTypeRequest extends AbstractModel {
|
|
9348
|
-
constructor(){
|
|
9349
|
-
super();
|
|
9350
|
-
|
|
9351
|
-
/**
|
|
9352
|
-
* Billing region, which can be `mainland` or `overseas`.
|
|
9353
|
-
* @type {string || null}
|
|
9354
|
-
*/
|
|
9355
|
-
this.Area = null;
|
|
9356
|
-
|
|
9357
|
-
/**
|
|
9358
|
-
* Billing mode, which can be `flux` or `bandwidth`.
|
|
9359
|
-
* @type {string || null}
|
|
9360
|
-
*/
|
|
9361
|
-
this.PayType = null;
|
|
9362
|
-
|
|
9363
|
-
}
|
|
9364
|
-
|
|
9365
|
-
/**
|
|
9366
|
-
* @private
|
|
9367
|
-
*/
|
|
9368
|
-
deserialize(params) {
|
|
9369
|
-
if (!params) {
|
|
9370
|
-
return;
|
|
9371
|
-
}
|
|
9372
|
-
this.Area = 'Area' in params ? params.Area : null;
|
|
9373
|
-
this.PayType = 'PayType' in params ? params.PayType : null;
|
|
9374
|
-
|
|
9375
|
-
}
|
|
9376
|
-
}
|
|
9377
|
-
|
|
9378
8688
|
/**
|
|
9379
8689
|
* ManageClsTopicDomains request structure.
|
|
9380
8690
|
* @class
|
|
@@ -9407,6 +8717,12 @@ class ManageClsTopicDomainsRequest extends AbstractModel {
|
|
|
9407
8717
|
*/
|
|
9408
8718
|
this.DomainAreaConfigs = null;
|
|
9409
8719
|
|
|
8720
|
+
/**
|
|
8721
|
+
* Specifies whether to inherit the domain name tag.
|
|
8722
|
+
* @type {boolean || null}
|
|
8723
|
+
*/
|
|
8724
|
+
this.InheritDomainTags = null;
|
|
8725
|
+
|
|
9410
8726
|
}
|
|
9411
8727
|
|
|
9412
8728
|
/**
|
|
@@ -9428,6 +8744,7 @@ class ManageClsTopicDomainsRequest extends AbstractModel {
|
|
|
9428
8744
|
this.DomainAreaConfigs.push(obj);
|
|
9429
8745
|
}
|
|
9430
8746
|
}
|
|
8747
|
+
this.InheritDomainTags = 'InheritDomainTags' in params ? params.InheritDomainTags : null;
|
|
9431
8748
|
|
|
9432
8749
|
}
|
|
9433
8750
|
}
|
|
@@ -9464,6 +8781,12 @@ class AddCLSTopicDomainsRequest extends AbstractModel {
|
|
|
9464
8781
|
*/
|
|
9465
8782
|
this.Channel = null;
|
|
9466
8783
|
|
|
8784
|
+
/**
|
|
8785
|
+
* Specifies whether to inherit the domain name tag. default reservation is the value changed last time.
|
|
8786
|
+
* @type {boolean || null}
|
|
8787
|
+
*/
|
|
8788
|
+
this.InheritDomainTags = null;
|
|
8789
|
+
|
|
9467
8790
|
}
|
|
9468
8791
|
|
|
9469
8792
|
/**
|
|
@@ -9485,71 +8808,56 @@ class AddCLSTopicDomainsRequest extends AbstractModel {
|
|
|
9485
8808
|
}
|
|
9486
8809
|
}
|
|
9487
8810
|
this.Channel = 'Channel' in params ? params.Channel : null;
|
|
8811
|
+
this.InheritDomainTags = 'InheritDomainTags' in params ? params.InheritDomainTags : null;
|
|
9488
8812
|
|
|
9489
8813
|
}
|
|
9490
8814
|
}
|
|
9491
8815
|
|
|
9492
8816
|
/**
|
|
9493
|
-
*
|
|
8817
|
+
* URL redirect rule configuration
|
|
9494
8818
|
* @class
|
|
9495
8819
|
*/
|
|
9496
|
-
class
|
|
8820
|
+
class UrlRedirectRule extends AbstractModel {
|
|
9497
8821
|
constructor(){
|
|
9498
8822
|
super();
|
|
9499
8823
|
|
|
9500
8824
|
/**
|
|
9501
|
-
*
|
|
9502
|
-
|
|
9503
|
-
`off`: Disable
|
|
9504
|
-
* @type {string || null}
|
|
8825
|
+
* Redirect status code. Valid values: 301, 302
|
|
8826
|
+
* @type {number || null}
|
|
9505
8827
|
*/
|
|
9506
|
-
this.
|
|
8828
|
+
this.RedirectStatusCode = null;
|
|
9507
8829
|
|
|
9508
8830
|
/**
|
|
9509
|
-
*
|
|
9510
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
8831
|
+
* URL to be matched. Only URLs are supported, while parameters are not. The exact match is used by default. In regex match, up to 5 wildcards `*` are supported. The URL can contain up to 1,024 characters.
|
|
9511
8832
|
* @type {string || null}
|
|
9512
8833
|
*/
|
|
9513
|
-
this.
|
|
9514
|
-
|
|
9515
|
-
/**
|
|
9516
|
-
* Redirection error page
|
|
9517
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
9518
|
-
* @type {ScdnErrorPage || null}
|
|
9519
|
-
*/
|
|
9520
|
-
this.ErrorPage = null;
|
|
8834
|
+
this.Pattern = null;
|
|
9521
8835
|
|
|
9522
8836
|
/**
|
|
9523
|
-
*
|
|
9524
|
-
`on`: Enable
|
|
9525
|
-
`off`: Disable
|
|
9526
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
8837
|
+
* Target URL, starting with `/` and excluding parameters. The path can contain up to 1,024 characters. The wildcards in the matching path can be respectively captured using `$1`, `$2`, `$3`, `$4`, and `$5`. Up to 10 values can be captured.
|
|
9527
8838
|
* @type {string || null}
|
|
9528
8839
|
*/
|
|
9529
|
-
this.
|
|
8840
|
+
this.RedirectUrl = null;
|
|
9530
8841
|
|
|
9531
8842
|
/**
|
|
9532
|
-
*
|
|
9533
|
-
Note:
|
|
9534
|
-
* @type {
|
|
8843
|
+
* 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.
|
|
8844
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
8845
|
+
* @type {string || null}
|
|
9535
8846
|
*/
|
|
9536
|
-
this.
|
|
8847
|
+
this.RedirectHost = null;
|
|
9537
8848
|
|
|
9538
8849
|
/**
|
|
9539
|
-
*
|
|
8850
|
+
* Whether to use full-path matching or arbitrary matching
|
|
9540
8851
|
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
9541
|
-
* @type {
|
|
8852
|
+
* @type {boolean || null}
|
|
9542
8853
|
*/
|
|
9543
|
-
this.
|
|
8854
|
+
this.FullMatch = null;
|
|
9544
8855
|
|
|
9545
8856
|
/**
|
|
9546
|
-
*
|
|
9547
|
-
|
|
9548
|
-
`off`: Disable
|
|
9549
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
9550
|
-
* @type {Array.<WafSubRuleStatus> || null}
|
|
8857
|
+
*
|
|
8858
|
+
* @type {boolean || null}
|
|
9551
8859
|
*/
|
|
9552
|
-
this.
|
|
8860
|
+
this.Regex = null;
|
|
9553
8861
|
|
|
9554
8862
|
}
|
|
9555
8863
|
|
|
@@ -9560,57 +8868,38 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
9560
8868
|
if (!params) {
|
|
9561
8869
|
return;
|
|
9562
8870
|
}
|
|
9563
|
-
this.
|
|
9564
|
-
this.
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
this.ErrorPage = obj;
|
|
9570
|
-
}
|
|
9571
|
-
this.WebShellSwitch = 'WebShellSwitch' in params ? params.WebShellSwitch : null;
|
|
9572
|
-
|
|
9573
|
-
if (params.Rules) {
|
|
9574
|
-
this.Rules = new Array();
|
|
9575
|
-
for (let z in params.Rules) {
|
|
9576
|
-
let obj = new ScdnWafRule();
|
|
9577
|
-
obj.deserialize(params.Rules[z]);
|
|
9578
|
-
this.Rules.push(obj);
|
|
9579
|
-
}
|
|
9580
|
-
}
|
|
9581
|
-
this.Level = 'Level' in params ? params.Level : null;
|
|
9582
|
-
|
|
9583
|
-
if (params.SubRuleSwitch) {
|
|
9584
|
-
this.SubRuleSwitch = new Array();
|
|
9585
|
-
for (let z in params.SubRuleSwitch) {
|
|
9586
|
-
let obj = new WafSubRuleStatus();
|
|
9587
|
-
obj.deserialize(params.SubRuleSwitch[z]);
|
|
9588
|
-
this.SubRuleSwitch.push(obj);
|
|
9589
|
-
}
|
|
9590
|
-
}
|
|
8871
|
+
this.RedirectStatusCode = 'RedirectStatusCode' in params ? params.RedirectStatusCode : null;
|
|
8872
|
+
this.Pattern = 'Pattern' in params ? params.Pattern : null;
|
|
8873
|
+
this.RedirectUrl = 'RedirectUrl' in params ? params.RedirectUrl : null;
|
|
8874
|
+
this.RedirectHost = 'RedirectHost' in params ? params.RedirectHost : null;
|
|
8875
|
+
this.FullMatch = 'FullMatch' in params ? params.FullMatch : null;
|
|
8876
|
+
this.Regex = 'Regex' in params ? params.Regex : null;
|
|
9591
8877
|
|
|
9592
8878
|
}
|
|
9593
8879
|
}
|
|
9594
8880
|
|
|
9595
8881
|
/**
|
|
9596
|
-
*
|
|
8882
|
+
* Maximum size of the file uploaded for streaming via a POST request
|
|
9597
8883
|
* @class
|
|
9598
8884
|
*/
|
|
9599
|
-
class
|
|
8885
|
+
class PostSize extends AbstractModel {
|
|
9600
8886
|
constructor(){
|
|
9601
8887
|
super();
|
|
9602
8888
|
|
|
9603
8889
|
/**
|
|
9604
|
-
*
|
|
8890
|
+
* Maximum size of the file uploaded for streaming via a POST request. Values:
|
|
8891
|
+
`on`: Enable. When enabled, it is set to 32 MB by default.
|
|
8892
|
+
`off`: Disable
|
|
8893
|
+
|
|
9605
8894
|
* @type {string || null}
|
|
9606
8895
|
*/
|
|
9607
|
-
this.
|
|
8896
|
+
this.Switch = null;
|
|
9608
8897
|
|
|
9609
8898
|
/**
|
|
9610
|
-
*
|
|
9611
|
-
* @type {
|
|
8899
|
+
* Maximum size. Value range: 1 MB to 200 MB.
|
|
8900
|
+
* @type {number || null}
|
|
9612
8901
|
*/
|
|
9613
|
-
this.
|
|
8902
|
+
this.MaxSize = null;
|
|
9614
8903
|
|
|
9615
8904
|
}
|
|
9616
8905
|
|
|
@@ -9621,8 +8910,8 @@ class CreateScdnFailedLogTaskRequest extends AbstractModel {
|
|
|
9621
8910
|
if (!params) {
|
|
9622
8911
|
return;
|
|
9623
8912
|
}
|
|
9624
|
-
this.
|
|
9625
|
-
this.
|
|
8913
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
8914
|
+
this.MaxSize = 'MaxSize' in params ? params.MaxSize : null;
|
|
9626
8915
|
|
|
9627
8916
|
}
|
|
9628
8917
|
}
|
|
@@ -9816,8 +9105,8 @@ If the domain name information is specified, this parameter can be ignored.
|
|
|
9816
9105
|
this.Interval = null;
|
|
9817
9106
|
|
|
9818
9107
|
/**
|
|
9819
|
-
*
|
|
9820
|
-
|
|
9108
|
+
* Domains specifies multiple domain names to import. default (false) indicates aggregated data for multiple domain names.
|
|
9109
|
+
Specifies as required to be true, returns detailed data for each Domain (statusCode, 2xx, 3xx, 4xx, 5xx metrics not currently supported).
|
|
9821
9110
|
* @type {boolean || null}
|
|
9822
9111
|
*/
|
|
9823
9112
|
this.Detail = null;
|
|
@@ -10822,127 +10111,30 @@ For `path`, enter an absolute path, e.g., `/xxx/test.html`.
|
|
|
10822
10111
|
}
|
|
10823
10112
|
|
|
10824
10113
|
/**
|
|
10825
|
-
*
|
|
10114
|
+
* Access limit configuration for a single IP of a single node. This is disabled by default.
|
|
10826
10115
|
* @class
|
|
10827
10116
|
*/
|
|
10828
|
-
class
|
|
10117
|
+
class IpFreqLimit extends AbstractModel {
|
|
10829
10118
|
constructor(){
|
|
10830
10119
|
super();
|
|
10831
10120
|
|
|
10832
10121
|
/**
|
|
10833
|
-
*
|
|
10834
|
-
`
|
|
10835
|
-
`
|
|
10836
|
-
`directory`: Apply to specified paths.
|
|
10837
|
-
`path`: Apply to specified absolute paths.
|
|
10838
|
-
`index`: effective for web homepages and root directories.
|
|
10122
|
+
* Whether to enable IP rate limit. Values:
|
|
10123
|
+
`on`: Enable
|
|
10124
|
+
`off`: Disable
|
|
10839
10125
|
* @type {string || null}
|
|
10840
10126
|
*/
|
|
10841
|
-
this.
|
|
10842
|
-
|
|
10843
|
-
/**
|
|
10844
|
-
* Rule value (blocking condition)
|
|
10845
|
-
* @type {Array.<string> || null}
|
|
10846
|
-
*/
|
|
10847
|
-
this.RuleValue = null;
|
|
10127
|
+
this.Switch = null;
|
|
10848
10128
|
|
|
10849
10129
|
/**
|
|
10850
|
-
*
|
|
10130
|
+
* Sets the limited number of requests per second
|
|
10131
|
+
514 will be returned for requests that exceed the limit
|
|
10132
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
10851
10133
|
* @type {number || null}
|
|
10852
10134
|
*/
|
|
10853
10135
|
this.Qps = null;
|
|
10854
10136
|
|
|
10855
|
-
|
|
10856
|
-
* Detection granularity
|
|
10857
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
10858
|
-
* @type {number || null}
|
|
10859
|
-
*/
|
|
10860
|
-
this.DetectionTime = null;
|
|
10861
|
-
|
|
10862
|
-
/**
|
|
10863
|
-
* Frequency threshold
|
|
10864
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
10865
|
-
* @type {number || null}
|
|
10866
|
-
*/
|
|
10867
|
-
this.FrequencyLimit = null;
|
|
10868
|
-
|
|
10869
|
-
/**
|
|
10870
|
-
* Whether to enable IP blocking. Values:
|
|
10871
|
-
`on`: Enable
|
|
10872
|
-
`off`: Disable
|
|
10873
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
10874
|
-
* @type {string || null}
|
|
10875
|
-
*/
|
|
10876
|
-
this.PunishmentSwitch = null;
|
|
10877
|
-
|
|
10878
|
-
/**
|
|
10879
|
-
* Suspicious IP restriction duration
|
|
10880
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
10881
|
-
* @type {number || null}
|
|
10882
|
-
*/
|
|
10883
|
-
this.PunishmentTime = null;
|
|
10884
|
-
|
|
10885
|
-
/**
|
|
10886
|
-
* Action. Valid values: `intercept` and `redirect`.
|
|
10887
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
10888
|
-
* @type {string || null}
|
|
10889
|
-
*/
|
|
10890
|
-
this.Action = null;
|
|
10891
|
-
|
|
10892
|
-
/**
|
|
10893
|
-
* The redirection target URL used when the `Action` is `redirect`
|
|
10894
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
10895
|
-
* @type {string || null}
|
|
10896
|
-
*/
|
|
10897
|
-
this.RedirectUrl = null;
|
|
10898
|
-
|
|
10899
|
-
}
|
|
10900
|
-
|
|
10901
|
-
/**
|
|
10902
|
-
* @private
|
|
10903
|
-
*/
|
|
10904
|
-
deserialize(params) {
|
|
10905
|
-
if (!params) {
|
|
10906
|
-
return;
|
|
10907
|
-
}
|
|
10908
|
-
this.RuleType = 'RuleType' in params ? params.RuleType : null;
|
|
10909
|
-
this.RuleValue = 'RuleValue' in params ? params.RuleValue : null;
|
|
10910
|
-
this.Qps = 'Qps' in params ? params.Qps : null;
|
|
10911
|
-
this.DetectionTime = 'DetectionTime' in params ? params.DetectionTime : null;
|
|
10912
|
-
this.FrequencyLimit = 'FrequencyLimit' in params ? params.FrequencyLimit : null;
|
|
10913
|
-
this.PunishmentSwitch = 'PunishmentSwitch' in params ? params.PunishmentSwitch : null;
|
|
10914
|
-
this.PunishmentTime = 'PunishmentTime' in params ? params.PunishmentTime : null;
|
|
10915
|
-
this.Action = 'Action' in params ? params.Action : null;
|
|
10916
|
-
this.RedirectUrl = 'RedirectUrl' in params ? params.RedirectUrl : null;
|
|
10917
|
-
|
|
10918
|
-
}
|
|
10919
|
-
}
|
|
10920
|
-
|
|
10921
|
-
/**
|
|
10922
|
-
* Access limit configuration for a single IP of a single node. This is disabled by default.
|
|
10923
|
-
* @class
|
|
10924
|
-
*/
|
|
10925
|
-
class IpFreqLimit extends AbstractModel {
|
|
10926
|
-
constructor(){
|
|
10927
|
-
super();
|
|
10928
|
-
|
|
10929
|
-
/**
|
|
10930
|
-
* Whether to enable IP rate limit. Values:
|
|
10931
|
-
`on`: Enable
|
|
10932
|
-
`off`: Disable
|
|
10933
|
-
* @type {string || null}
|
|
10934
|
-
*/
|
|
10935
|
-
this.Switch = null;
|
|
10936
|
-
|
|
10937
|
-
/**
|
|
10938
|
-
* Sets the limited number of requests per second
|
|
10939
|
-
514 will be returned for requests that exceed the limit
|
|
10940
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
10941
|
-
* @type {number || null}
|
|
10942
|
-
*/
|
|
10943
|
-
this.Qps = null;
|
|
10944
|
-
|
|
10945
|
-
}
|
|
10137
|
+
}
|
|
10946
10138
|
|
|
10947
10139
|
/**
|
|
10948
10140
|
* @private
|
|
@@ -10989,6 +10181,12 @@ class CreateClsLogTopicRequest extends AbstractModel {
|
|
|
10989
10181
|
*/
|
|
10990
10182
|
this.DomainAreaConfigs = null;
|
|
10991
10183
|
|
|
10184
|
+
/**
|
|
10185
|
+
* Specifies whether to inherit the domain name tag. default false.
|
|
10186
|
+
* @type {boolean || null}
|
|
10187
|
+
*/
|
|
10188
|
+
this.InheritDomainTags = null;
|
|
10189
|
+
|
|
10992
10190
|
}
|
|
10993
10191
|
|
|
10994
10192
|
/**
|
|
@@ -11010,31 +10208,40 @@ class CreateClsLogTopicRequest extends AbstractModel {
|
|
|
11010
10208
|
this.DomainAreaConfigs.push(obj);
|
|
11011
10209
|
}
|
|
11012
10210
|
}
|
|
10211
|
+
this.InheritDomainTags = 'InheritDomainTags' in params ? params.InheritDomainTags : null;
|
|
11013
10212
|
|
|
11014
10213
|
}
|
|
11015
10214
|
}
|
|
11016
10215
|
|
|
11017
10216
|
/**
|
|
11018
|
-
*
|
|
10217
|
+
* HSTS configuration.
|
|
11019
10218
|
* @class
|
|
11020
10219
|
*/
|
|
11021
|
-
class
|
|
10220
|
+
class Hsts extends AbstractModel {
|
|
11022
10221
|
constructor(){
|
|
11023
10222
|
super();
|
|
11024
10223
|
|
|
11025
10224
|
/**
|
|
11026
|
-
*
|
|
10225
|
+
* Whether to enable HSTS. Values:
|
|
10226
|
+
`on`: Enable
|
|
10227
|
+
`off`: Disable
|
|
10228
|
+
* @type {string || null}
|
|
10229
|
+
*/
|
|
10230
|
+
this.Switch = null;
|
|
10231
|
+
|
|
10232
|
+
/**
|
|
10233
|
+
* `MaxAge` value.
|
|
11027
10234
|
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
11028
|
-
* @type {
|
|
10235
|
+
* @type {number || null}
|
|
11029
10236
|
*/
|
|
11030
|
-
this.
|
|
10237
|
+
this.MaxAge = null;
|
|
11031
10238
|
|
|
11032
10239
|
/**
|
|
11033
|
-
*
|
|
10240
|
+
* Whether to include subdomain names. Valid values: on, off.
|
|
11034
10241
|
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
11035
|
-
* @type {
|
|
10242
|
+
* @type {string || null}
|
|
11036
10243
|
*/
|
|
11037
|
-
this.
|
|
10244
|
+
this.IncludeSubDomains = null;
|
|
11038
10245
|
|
|
11039
10246
|
}
|
|
11040
10247
|
|
|
@@ -11045,8 +10252,9 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
11045
10252
|
if (!params) {
|
|
11046
10253
|
return;
|
|
11047
10254
|
}
|
|
11048
|
-
this.
|
|
11049
|
-
this.
|
|
10255
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
10256
|
+
this.MaxAge = 'MaxAge' in params ? params.MaxAge : null;
|
|
10257
|
+
this.IncludeSubDomains = 'IncludeSubDomains' in params ? params.IncludeSubDomains : null;
|
|
11050
10258
|
|
|
11051
10259
|
}
|
|
11052
10260
|
}
|
|
@@ -11223,55 +10431,6 @@ class DescribeMapInfoRequest extends AbstractModel {
|
|
|
11223
10431
|
}
|
|
11224
10432
|
}
|
|
11225
10433
|
|
|
11226
|
-
/**
|
|
11227
|
-
* EnableCaches response structure.
|
|
11228
|
-
* @class
|
|
11229
|
-
*/
|
|
11230
|
-
class EnableCachesResponse extends AbstractModel {
|
|
11231
|
-
constructor(){
|
|
11232
|
-
super();
|
|
11233
|
-
|
|
11234
|
-
/**
|
|
11235
|
-
* Result list
|
|
11236
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
11237
|
-
* @type {CacheOptResult || null}
|
|
11238
|
-
*/
|
|
11239
|
-
this.CacheOptResult = null;
|
|
11240
|
-
|
|
11241
|
-
/**
|
|
11242
|
-
* Task ID
|
|
11243
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
11244
|
-
* @type {string || null}
|
|
11245
|
-
*/
|
|
11246
|
-
this.TaskId = null;
|
|
11247
|
-
|
|
11248
|
-
/**
|
|
11249
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
11250
|
-
* @type {string || null}
|
|
11251
|
-
*/
|
|
11252
|
-
this.RequestId = null;
|
|
11253
|
-
|
|
11254
|
-
}
|
|
11255
|
-
|
|
11256
|
-
/**
|
|
11257
|
-
* @private
|
|
11258
|
-
*/
|
|
11259
|
-
deserialize(params) {
|
|
11260
|
-
if (!params) {
|
|
11261
|
-
return;
|
|
11262
|
-
}
|
|
11263
|
-
|
|
11264
|
-
if (params.CacheOptResult) {
|
|
11265
|
-
let obj = new CacheOptResult();
|
|
11266
|
-
obj.deserialize(params.CacheOptResult)
|
|
11267
|
-
this.CacheOptResult = obj;
|
|
11268
|
-
}
|
|
11269
|
-
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
11270
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11271
|
-
|
|
11272
|
-
}
|
|
11273
|
-
}
|
|
11274
|
-
|
|
11275
10434
|
/**
|
|
11276
10435
|
* Configuration to retain query strings for this path
|
|
11277
10436
|
* @class
|
|
@@ -11320,298 +10479,6 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
11320
10479
|
}
|
|
11321
10480
|
}
|
|
11322
10481
|
|
|
11323
|
-
/**
|
|
11324
|
-
* Precise access control rule
|
|
11325
|
-
* @class
|
|
11326
|
-
*/
|
|
11327
|
-
class AdvancedScdnAclRule extends AbstractModel {
|
|
11328
|
-
constructor(){
|
|
11329
|
-
super();
|
|
11330
|
-
|
|
11331
|
-
/**
|
|
11332
|
-
* Keyword. Valid values:
|
|
11333
|
-
`protocol`: HTTP protocol
|
|
11334
|
-
`httpVersion`: HTTP version
|
|
11335
|
-
`method`: request method
|
|
11336
|
-
`ip`: requester IP
|
|
11337
|
-
`ipAsn`: ASN of the requester IP
|
|
11338
|
-
`ipCountry`: country/region of the requester IP
|
|
11339
|
-
`ipArea`: region of the requester IP
|
|
11340
|
-
`xForwardFor`: X-Forward-For request header
|
|
11341
|
-
`directory`: Path
|
|
11342
|
-
`index`: Homepage
|
|
11343
|
-
`path`: Full path of a file
|
|
11344
|
-
`file`: File extension
|
|
11345
|
-
`param`: Request parameter
|
|
11346
|
-
`referer`: Referer request header
|
|
11347
|
-
`cookie`: Cookie request header
|
|
11348
|
-
`userAgent`: User-Agent request header
|
|
11349
|
-
`head`: Custom request header
|
|
11350
|
-
* @type {string || null}
|
|
11351
|
-
*/
|
|
11352
|
-
this.MatchKey = null;
|
|
11353
|
-
|
|
11354
|
-
/**
|
|
11355
|
-
* Logical operator. Valid values:
|
|
11356
|
-
`exclude`: The keyword is not included
|
|
11357
|
-
`include`: The keyword is included
|
|
11358
|
-
`notequal`: Not the same as the keyword
|
|
11359
|
-
`equal`: The same as the keyword
|
|
11360
|
-
`matching`: The prefix is matched
|
|
11361
|
-
`null`: Empty or does not exist
|
|
11362
|
-
* @type {string || null}
|
|
11363
|
-
*/
|
|
11364
|
-
this.LogicOperator = null;
|
|
11365
|
-
|
|
11366
|
-
/**
|
|
11367
|
-
* Matched value.
|
|
11368
|
-
When `MatchKey` is `protocol`,
|
|
11369
|
-
Values: `HTTP` and `HTTPS`.
|
|
11370
|
-
|
|
11371
|
-
When `MatchKey` is `httpVersion`,
|
|
11372
|
-
Values: `HTTP/1.0`, `HTTP/1.1`, `HTTP/1.2`, `HTTP/2`, and `HTTP/3`.
|
|
11373
|
-
|
|
11374
|
-
When `MatchKey` is `method`,
|
|
11375
|
-
Values: `HEAD`, `GET`, `POST`, `PUT`, `OPTIONS`, `TRACE`, `DELETE`, `PATCH` and `CONNECT`.
|
|
11376
|
-
|
|
11377
|
-
When `MatchKey` is `ipCountry`, valid values include:
|
|
11378
|
-
`OTHER`: Other areas
|
|
11379
|
-
`VE`: Venezuela
|
|
11380
|
-
`UY`: Uruguay
|
|
11381
|
-
`SR`: Suriname
|
|
11382
|
-
`PY`: Paraguay
|
|
11383
|
-
`PE`: Peru
|
|
11384
|
-
`GY`: Guyana
|
|
11385
|
-
`EC`: Ecuador
|
|
11386
|
-
`CO`: Colombia
|
|
11387
|
-
`CL`: Chile
|
|
11388
|
-
`BR`: Brazil
|
|
11389
|
-
`BO`: Bolivia
|
|
11390
|
-
`AR`: Argentina
|
|
11391
|
-
`NZ`: New Zealand
|
|
11392
|
-
`WS`: Samoa
|
|
11393
|
-
`VU`: Vanuatu
|
|
11394
|
-
`TV`: Tuvalu
|
|
11395
|
-
`TO`: Tonga
|
|
11396
|
-
`TK`: Tokelau
|
|
11397
|
-
`PW`: Palau
|
|
11398
|
-
`NU`: Niue
|
|
11399
|
-
`NR`: Nauru
|
|
11400
|
-
`KI`: Kiribati
|
|
11401
|
-
`GU`: Guam
|
|
11402
|
-
`FM`: Micronesia
|
|
11403
|
-
`AU`: Australia
|
|
11404
|
-
`US`: United States
|
|
11405
|
-
`PR`: Puerto Rico
|
|
11406
|
-
`DO`: Dominican Republic
|
|
11407
|
-
`CR`: Costa Rica
|
|
11408
|
-
`AS`: American Samoa
|
|
11409
|
-
`AG`: Antigua and Barbuda
|
|
11410
|
-
`PA`: Panama
|
|
11411
|
-
`NI`: Nicaragua
|
|
11412
|
-
`MX`: Mexico
|
|
11413
|
-
`JM`: Jamaica
|
|
11414
|
-
`HT`: Haiti
|
|
11415
|
-
`HN`: Honduras
|
|
11416
|
-
`GT`: Guatemala
|
|
11417
|
-
`GP`: Guadeloupe
|
|
11418
|
-
`GL`: Greenland
|
|
11419
|
-
`GD`: Grenada
|
|
11420
|
-
`CU`: Cuba
|
|
11421
|
-
`CA`: Canada
|
|
11422
|
-
`BZ`: Belize
|
|
11423
|
-
`BS`: Bahamas
|
|
11424
|
-
`BM`: Bermuda
|
|
11425
|
-
`BB`: Barbados
|
|
11426
|
-
`AW`: Aruba
|
|
11427
|
-
`AI`: Anguilla
|
|
11428
|
-
`VA`: Vatican
|
|
11429
|
-
`SK`: Slovakia
|
|
11430
|
-
`GB`: United Kingdom
|
|
11431
|
-
`CZ`: Czech Republic
|
|
11432
|
-
`UA`: Ukraine
|
|
11433
|
-
`TR`: Türkiye
|
|
11434
|
-
`SI`: Slovenia
|
|
11435
|
-
`SE`: Sweden
|
|
11436
|
-
`RS`: Republic of Serbia
|
|
11437
|
-
`RO`: Romania
|
|
11438
|
-
`PT`: Portugal
|
|
11439
|
-
`PL`: Poland
|
|
11440
|
-
`NO`: Norway
|
|
11441
|
-
`NL`: Netherlands
|
|
11442
|
-
`MT`: Malta
|
|
11443
|
-
`MK`: Macedonia
|
|
11444
|
-
`ME`: Montenegro
|
|
11445
|
-
`MD`: Moldova
|
|
11446
|
-
`MC`: Monaco
|
|
11447
|
-
`LV`: Latvia
|
|
11448
|
-
`LU`: Luxembourg
|
|
11449
|
-
`LT`: Lithuania
|
|
11450
|
-
`LI`: Liechtenstein
|
|
11451
|
-
`KZ`: Kazakhstan
|
|
11452
|
-
`IT`: Italy
|
|
11453
|
-
`IS`: Iceland
|
|
11454
|
-
`IE`: Ireland
|
|
11455
|
-
`HU`: Hungary
|
|
11456
|
-
`HR`: Croatia
|
|
11457
|
-
`GR`: Greece
|
|
11458
|
-
`GI`: Gibraltar
|
|
11459
|
-
`GG`: Guernsey
|
|
11460
|
-
`GE`: Georgia
|
|
11461
|
-
`FR`: France
|
|
11462
|
-
`FI`: Finland
|
|
11463
|
-
`ES`: Spain
|
|
11464
|
-
`EE`: Estonia
|
|
11465
|
-
`DK`: Denmark
|
|
11466
|
-
`DE`: Germany
|
|
11467
|
-
`CY`: Cyprus
|
|
11468
|
-
`CH`: Switzerland
|
|
11469
|
-
`BY`: Belarus
|
|
11470
|
-
`BG`: Bulgaria
|
|
11471
|
-
`BE`: Belgium
|
|
11472
|
-
`AZ`: Azerbaijan
|
|
11473
|
-
`AT`: Austria
|
|
11474
|
-
`AM`: Armenia
|
|
11475
|
-
`AL`: Albania
|
|
11476
|
-
`AD`: Andorra
|
|
11477
|
-
`TL`: East Timor
|
|
11478
|
-
`SY`: Syria
|
|
11479
|
-
`SA`: Saudi Arabia
|
|
11480
|
-
`PS`: Palestine
|
|
11481
|
-
`LK`: Sri Lanka
|
|
11482
|
-
`LK`: Sri Lanka
|
|
11483
|
-
`KP`: North Korea
|
|
11484
|
-
`KG`: Kyrgyzstan
|
|
11485
|
-
`HK`: Hong Kong, China
|
|
11486
|
-
`BN`: Brunei
|
|
11487
|
-
`BD`: Bangladesh
|
|
11488
|
-
`AE`: United Arab Emirates
|
|
11489
|
-
`YE`: Yemen
|
|
11490
|
-
`VN`: Vietnam
|
|
11491
|
-
`UZ`: Uzbekistan
|
|
11492
|
-
`TW`: Taiwan, China
|
|
11493
|
-
`TM`: Turkmenistan
|
|
11494
|
-
`TJ`: Tajikistan
|
|
11495
|
-
`TH`: Thailand
|
|
11496
|
-
`SG`: Singapore
|
|
11497
|
-
`QA`: Qatar
|
|
11498
|
-
`PK`: Pakistan
|
|
11499
|
-
`PH`: Philippines
|
|
11500
|
-
`OM`: Oman
|
|
11501
|
-
`NP`: Nepal
|
|
11502
|
-
`MY`: Malaysia
|
|
11503
|
-
`MV`: Maldives
|
|
11504
|
-
`MO`: Macao, China
|
|
11505
|
-
`MN`: Mongolia
|
|
11506
|
-
`MM`: Myanmar
|
|
11507
|
-
`LB`: Lebanon
|
|
11508
|
-
`KW`: Kuwait
|
|
11509
|
-
`KR`: South Korea
|
|
11510
|
-
`KH`: Cambodia
|
|
11511
|
-
`JP`: Japan
|
|
11512
|
-
`JO`: Jordan
|
|
11513
|
-
`IR`: Iran
|
|
11514
|
-
`IQ`: Iraq
|
|
11515
|
-
`IN`: India
|
|
11516
|
-
`IL`: Israel
|
|
11517
|
-
`ID`: Indonesia
|
|
11518
|
-
`CN`: China
|
|
11519
|
-
`BT`: Bhutan
|
|
11520
|
-
`BH`: Bahrain
|
|
11521
|
-
`AF`: Afghanistan
|
|
11522
|
-
`LY`: Libya
|
|
11523
|
-
`CD`: Democratic Republic of the Congo
|
|
11524
|
-
`RE`: La Réunion
|
|
11525
|
-
`SZ`: Swaziland
|
|
11526
|
-
`ZW`: Zimbabwe
|
|
11527
|
-
`ZM`: Zambia
|
|
11528
|
-
`YT`: Mayotte
|
|
11529
|
-
`UG`: Uganda
|
|
11530
|
-
`TZ`: Tanzania
|
|
11531
|
-
`TN`: Tunisia
|
|
11532
|
-
`TG`: Togo
|
|
11533
|
-
`TD`: Chad
|
|
11534
|
-
`SO`: Somalia
|
|
11535
|
-
`SN`: Senegal
|
|
11536
|
-
`SD`: Sudan
|
|
11537
|
-
`SC`: Seychelles
|
|
11538
|
-
`RW`: Rwanda
|
|
11539
|
-
`NG`: Nigeria
|
|
11540
|
-
`NE`: Niger
|
|
11541
|
-
`NA`: Namibia
|
|
11542
|
-
`MZ`: Mozambique
|
|
11543
|
-
`MW`: Malawi
|
|
11544
|
-
`MU`: Mauritius
|
|
11545
|
-
`MR`: Mauritania
|
|
11546
|
-
`ML`: Mali
|
|
11547
|
-
`MG`: Madagascar
|
|
11548
|
-
`MA`: Morocco
|
|
11549
|
-
`LS`: Lesotho
|
|
11550
|
-
`LR`: Liberia
|
|
11551
|
-
`KM`: Comoros
|
|
11552
|
-
`KE`: Kenya
|
|
11553
|
-
`GN`: Guinea
|
|
11554
|
-
`GM`: Gambia
|
|
11555
|
-
`GH`: Ghana
|
|
11556
|
-
`GA`: Gabon
|
|
11557
|
-
`ET`: Ethiopia
|
|
11558
|
-
`ER`: Eritrea
|
|
11559
|
-
`EG`: Egypt
|
|
11560
|
-
`DZ`: Algeria
|
|
11561
|
-
`DJ`: Djibouti
|
|
11562
|
-
`CM`: Cameroon
|
|
11563
|
-
`CG`: Republic of the Congo
|
|
11564
|
-
`BW`: Botswana
|
|
11565
|
-
`BJ`: Benin
|
|
11566
|
-
`BI`: Burundi
|
|
11567
|
-
`AO`: Angola
|
|
11568
|
-
|
|
11569
|
-
When MatchKey is `ipArea`, valid values include:
|
|
11570
|
-
`OTHER`: Other areas
|
|
11571
|
-
`AS`: Asia
|
|
11572
|
-
`EU`: Europe
|
|
11573
|
-
`AN`: Antarctica
|
|
11574
|
-
`AF`: Africa
|
|
11575
|
-
`OC`: Oceania
|
|
11576
|
-
`NA`: North America
|
|
11577
|
-
`SA`: South America
|
|
11578
|
-
|
|
11579
|
-
When MatchKey is `index`,
|
|
11580
|
-
valid value is `/;/index.html`.
|
|
11581
|
-
* @type {Array.<string> || null}
|
|
11582
|
-
*/
|
|
11583
|
-
this.MatchValue = null;
|
|
11584
|
-
|
|
11585
|
-
/**
|
|
11586
|
-
* Whether to distinguish uppercase or lowercase letters. `true`: case sensitive; `false`: case insensitive.
|
|
11587
|
-
* @type {boolean || null}
|
|
11588
|
-
*/
|
|
11589
|
-
this.CaseSensitive = null;
|
|
11590
|
-
|
|
11591
|
-
/**
|
|
11592
|
-
* This field is required when `MatchKey` is `param` or `cookie`. For `param`, it indicates a key value of the request parameter if MatchKey is `param`, while a key value of the Cookie request header if MatchKey is `cookie`.
|
|
11593
|
-
* @type {string || null}
|
|
11594
|
-
*/
|
|
11595
|
-
this.MatchKeyParam = null;
|
|
11596
|
-
|
|
11597
|
-
}
|
|
11598
|
-
|
|
11599
|
-
/**
|
|
11600
|
-
* @private
|
|
11601
|
-
*/
|
|
11602
|
-
deserialize(params) {
|
|
11603
|
-
if (!params) {
|
|
11604
|
-
return;
|
|
11605
|
-
}
|
|
11606
|
-
this.MatchKey = 'MatchKey' in params ? params.MatchKey : null;
|
|
11607
|
-
this.LogicOperator = 'LogicOperator' in params ? params.LogicOperator : null;
|
|
11608
|
-
this.MatchValue = 'MatchValue' in params ? params.MatchValue : null;
|
|
11609
|
-
this.CaseSensitive = 'CaseSensitive' in params ? params.CaseSensitive : null;
|
|
11610
|
-
this.MatchKeyParam = 'MatchKeyParam' in params ? params.MatchKeyParam : null;
|
|
11611
|
-
|
|
11612
|
-
}
|
|
11613
|
-
}
|
|
11614
|
-
|
|
11615
10482
|
/**
|
|
11616
10483
|
* DescribeIpVisit request structure.
|
|
11617
10484
|
* @class
|
|
@@ -11807,84 +10674,6 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
11807
10674
|
}
|
|
11808
10675
|
}
|
|
11809
10676
|
|
|
11810
|
-
/**
|
|
11811
|
-
* CC attack defense configuration
|
|
11812
|
-
* @class
|
|
11813
|
-
*/
|
|
11814
|
-
class ScdnConfig extends AbstractModel {
|
|
11815
|
-
constructor(){
|
|
11816
|
-
super();
|
|
11817
|
-
|
|
11818
|
-
/**
|
|
11819
|
-
* Whether to enable SCDN CC configuration. Values:
|
|
11820
|
-
`on`: Enable
|
|
11821
|
-
`off`: Disable
|
|
11822
|
-
* @type {string || null}
|
|
11823
|
-
*/
|
|
11824
|
-
this.Switch = null;
|
|
11825
|
-
|
|
11826
|
-
/**
|
|
11827
|
-
* Custom CC attack defense rule
|
|
11828
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
11829
|
-
* @type {Array.<ScdnCCRules> || null}
|
|
11830
|
-
*/
|
|
11831
|
-
this.Rules = null;
|
|
11832
|
-
|
|
11833
|
-
/**
|
|
11834
|
-
* Advanced custom CC attack defense rule
|
|
11835
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
11836
|
-
* @type {Array.<AdvancedCCRules> || null}
|
|
11837
|
-
*/
|
|
11838
|
-
this.AdvancedRules = null;
|
|
11839
|
-
|
|
11840
|
-
/**
|
|
11841
|
-
* Global advanced CC protection rules
|
|
11842
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
11843
|
-
* @type {Array.<AdvancedCCRules> || null}
|
|
11844
|
-
*/
|
|
11845
|
-
this.GlobalAdvancedRules = null;
|
|
11846
|
-
|
|
11847
|
-
}
|
|
11848
|
-
|
|
11849
|
-
/**
|
|
11850
|
-
* @private
|
|
11851
|
-
*/
|
|
11852
|
-
deserialize(params) {
|
|
11853
|
-
if (!params) {
|
|
11854
|
-
return;
|
|
11855
|
-
}
|
|
11856
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
11857
|
-
|
|
11858
|
-
if (params.Rules) {
|
|
11859
|
-
this.Rules = new Array();
|
|
11860
|
-
for (let z in params.Rules) {
|
|
11861
|
-
let obj = new ScdnCCRules();
|
|
11862
|
-
obj.deserialize(params.Rules[z]);
|
|
11863
|
-
this.Rules.push(obj);
|
|
11864
|
-
}
|
|
11865
|
-
}
|
|
11866
|
-
|
|
11867
|
-
if (params.AdvancedRules) {
|
|
11868
|
-
this.AdvancedRules = new Array();
|
|
11869
|
-
for (let z in params.AdvancedRules) {
|
|
11870
|
-
let obj = new AdvancedCCRules();
|
|
11871
|
-
obj.deserialize(params.AdvancedRules[z]);
|
|
11872
|
-
this.AdvancedRules.push(obj);
|
|
11873
|
-
}
|
|
11874
|
-
}
|
|
11875
|
-
|
|
11876
|
-
if (params.GlobalAdvancedRules) {
|
|
11877
|
-
this.GlobalAdvancedRules = new Array();
|
|
11878
|
-
for (let z in params.GlobalAdvancedRules) {
|
|
11879
|
-
let obj = new AdvancedCCRules();
|
|
11880
|
-
obj.deserialize(params.GlobalAdvancedRules[z]);
|
|
11881
|
-
this.GlobalAdvancedRules.push(obj);
|
|
11882
|
-
}
|
|
11883
|
-
}
|
|
11884
|
-
|
|
11885
|
-
}
|
|
11886
|
-
}
|
|
11887
|
-
|
|
11888
10677
|
/**
|
|
11889
10678
|
* Details about a log package download link
|
|
11890
10679
|
* @class
|
|
@@ -11951,78 +10740,6 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
11951
10740
|
}
|
|
11952
10741
|
}
|
|
11953
10742
|
|
|
11954
|
-
/**
|
|
11955
|
-
* GetDisableRecords request structure.
|
|
11956
|
-
* @class
|
|
11957
|
-
*/
|
|
11958
|
-
class GetDisableRecordsRequest extends AbstractModel {
|
|
11959
|
-
constructor(){
|
|
11960
|
-
super();
|
|
11961
|
-
|
|
11962
|
-
/**
|
|
11963
|
-
* Specifies the URL to be queried
|
|
11964
|
-
* @type {string || null}
|
|
11965
|
-
*/
|
|
11966
|
-
this.Url = null;
|
|
11967
|
-
|
|
11968
|
-
/**
|
|
11969
|
-
* Starting time, such as `2018-12-12 10:24:00`
|
|
11970
|
-
* @type {string || null}
|
|
11971
|
-
*/
|
|
11972
|
-
this.StartTime = null;
|
|
11973
|
-
|
|
11974
|
-
/**
|
|
11975
|
-
* End time, such as `2018-12-14 10:24:00`
|
|
11976
|
-
* @type {string || null}
|
|
11977
|
-
*/
|
|
11978
|
-
this.EndTime = null;
|
|
11979
|
-
|
|
11980
|
-
/**
|
|
11981
|
-
* Current URL status
|
|
11982
|
-
disable: The URL remains disabled, and accessing it will return an error 403
|
|
11983
|
-
enable: The URL is enabled (unblocked) and can be normally accessed
|
|
11984
|
-
* @type {string || null}
|
|
11985
|
-
*/
|
|
11986
|
-
this.Status = null;
|
|
11987
|
-
|
|
11988
|
-
/**
|
|
11989
|
-
* Offset for paginated queries. Default value: 0
|
|
11990
|
-
* @type {number || null}
|
|
11991
|
-
*/
|
|
11992
|
-
this.Offset = null;
|
|
11993
|
-
|
|
11994
|
-
/**
|
|
11995
|
-
* Pagination limit. Default value: 20.
|
|
11996
|
-
* @type {number || null}
|
|
11997
|
-
*/
|
|
11998
|
-
this.Limit = null;
|
|
11999
|
-
|
|
12000
|
-
/**
|
|
12001
|
-
* Task ID. The task ID and start time cannot be both left empty.
|
|
12002
|
-
* @type {string || null}
|
|
12003
|
-
*/
|
|
12004
|
-
this.TaskId = null;
|
|
12005
|
-
|
|
12006
|
-
}
|
|
12007
|
-
|
|
12008
|
-
/**
|
|
12009
|
-
* @private
|
|
12010
|
-
*/
|
|
12011
|
-
deserialize(params) {
|
|
12012
|
-
if (!params) {
|
|
12013
|
-
return;
|
|
12014
|
-
}
|
|
12015
|
-
this.Url = 'Url' in params ? params.Url : null;
|
|
12016
|
-
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
12017
|
-
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
12018
|
-
this.Status = 'Status' in params ? params.Status : null;
|
|
12019
|
-
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
12020
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
12021
|
-
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
12022
|
-
|
|
12023
|
-
}
|
|
12024
|
-
}
|
|
12025
|
-
|
|
12026
10743
|
/**
|
|
12027
10744
|
* PurgeUrlsCache response structure.
|
|
12028
10745
|
* @class
|
|
@@ -12058,73 +10775,6 @@ class PurgeUrlsCacheResponse extends AbstractModel {
|
|
|
12058
10775
|
}
|
|
12059
10776
|
}
|
|
12060
10777
|
|
|
12061
|
-
/**
|
|
12062
|
-
* Bot JS policy
|
|
12063
|
-
* @class
|
|
12064
|
-
*/
|
|
12065
|
-
class BotJavaScript extends AbstractModel {
|
|
12066
|
-
constructor(){
|
|
12067
|
-
super();
|
|
12068
|
-
|
|
12069
|
-
/**
|
|
12070
|
-
* Whether to enable bot JS policies. Values:
|
|
12071
|
-
`on`: Enable
|
|
12072
|
-
`off`: Disable
|
|
12073
|
-
* @type {string || null}
|
|
12074
|
-
*/
|
|
12075
|
-
this.Switch = null;
|
|
12076
|
-
|
|
12077
|
-
/**
|
|
12078
|
-
* Rule type, which can only be `file` currently.
|
|
12079
|
-
* @type {string || null}
|
|
12080
|
-
*/
|
|
12081
|
-
this.RuleType = null;
|
|
12082
|
-
|
|
12083
|
-
/**
|
|
12084
|
-
* Rule value. Valid values: `html` and `htm`.
|
|
12085
|
-
* @type {Array.<string> || null}
|
|
12086
|
-
*/
|
|
12087
|
-
this.RuleValue = null;
|
|
12088
|
-
|
|
12089
|
-
/**
|
|
12090
|
-
* Action. Valid values: `monitor`, `intercept`, `redirect`, and `captcha`.
|
|
12091
|
-
* @type {string || null}
|
|
12092
|
-
*/
|
|
12093
|
-
this.Action = null;
|
|
12094
|
-
|
|
12095
|
-
/**
|
|
12096
|
-
* Redirection target page
|
|
12097
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12098
|
-
* @type {string || null}
|
|
12099
|
-
*/
|
|
12100
|
-
this.RedirectUrl = null;
|
|
12101
|
-
|
|
12102
|
-
/**
|
|
12103
|
-
* Update time
|
|
12104
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12105
|
-
* @type {string || null}
|
|
12106
|
-
*/
|
|
12107
|
-
this.UpdateTime = null;
|
|
12108
|
-
|
|
12109
|
-
}
|
|
12110
|
-
|
|
12111
|
-
/**
|
|
12112
|
-
* @private
|
|
12113
|
-
*/
|
|
12114
|
-
deserialize(params) {
|
|
12115
|
-
if (!params) {
|
|
12116
|
-
return;
|
|
12117
|
-
}
|
|
12118
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
12119
|
-
this.RuleType = 'RuleType' in params ? params.RuleType : null;
|
|
12120
|
-
this.RuleValue = 'RuleValue' in params ? params.RuleValue : null;
|
|
12121
|
-
this.Action = 'Action' in params ? params.Action : null;
|
|
12122
|
-
this.RedirectUrl = 'RedirectUrl' in params ? params.RedirectUrl : null;
|
|
12123
|
-
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
12124
|
-
|
|
12125
|
-
}
|
|
12126
|
-
}
|
|
12127
|
-
|
|
12128
10778
|
/**
|
|
12129
10779
|
* DeleteClsLogTopic response structure.
|
|
12130
10780
|
* @class
|
|
@@ -12207,55 +10857,6 @@ class DescribeBillingDataResponse extends AbstractModel {
|
|
|
12207
10857
|
}
|
|
12208
10858
|
}
|
|
12209
10859
|
|
|
12210
|
-
/**
|
|
12211
|
-
* DisableCaches response structure.
|
|
12212
|
-
* @class
|
|
12213
|
-
*/
|
|
12214
|
-
class DisableCachesResponse extends AbstractModel {
|
|
12215
|
-
constructor(){
|
|
12216
|
-
super();
|
|
12217
|
-
|
|
12218
|
-
/**
|
|
12219
|
-
* Submission result
|
|
12220
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
12221
|
-
* @type {CacheOptResult || null}
|
|
12222
|
-
*/
|
|
12223
|
-
this.CacheOptResult = null;
|
|
12224
|
-
|
|
12225
|
-
/**
|
|
12226
|
-
* Task ID
|
|
12227
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
12228
|
-
* @type {string || null}
|
|
12229
|
-
*/
|
|
12230
|
-
this.TaskId = null;
|
|
12231
|
-
|
|
12232
|
-
/**
|
|
12233
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12234
|
-
* @type {string || null}
|
|
12235
|
-
*/
|
|
12236
|
-
this.RequestId = null;
|
|
12237
|
-
|
|
12238
|
-
}
|
|
12239
|
-
|
|
12240
|
-
/**
|
|
12241
|
-
* @private
|
|
12242
|
-
*/
|
|
12243
|
-
deserialize(params) {
|
|
12244
|
-
if (!params) {
|
|
12245
|
-
return;
|
|
12246
|
-
}
|
|
12247
|
-
|
|
12248
|
-
if (params.CacheOptResult) {
|
|
12249
|
-
let obj = new CacheOptResult();
|
|
12250
|
-
obj.deserialize(params.CacheOptResult)
|
|
12251
|
-
this.CacheOptResult = obj;
|
|
12252
|
-
}
|
|
12253
|
-
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
12254
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12255
|
-
|
|
12256
|
-
}
|
|
12257
|
-
}
|
|
12258
|
-
|
|
12259
10860
|
/**
|
|
12260
10861
|
* A part of `CacheKey`
|
|
12261
10862
|
* @class
|
|
@@ -12595,70 +11196,24 @@ class AccessControl extends AbstractModel {
|
|
|
12595
11196
|
/**
|
|
12596
11197
|
* Whether to enable access control based on the request header and request URL. Values:
|
|
12597
11198
|
`on`: Enable
|
|
12598
|
-
`off`: Disable
|
|
12599
|
-
* @type {string || null}
|
|
12600
|
-
*/
|
|
12601
|
-
this.Switch = null;
|
|
12602
|
-
|
|
12603
|
-
/**
|
|
12604
|
-
* Request header and request URL access rule
|
|
12605
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
12606
|
-
* @type {Array.<AccessControlRule> || null}
|
|
12607
|
-
*/
|
|
12608
|
-
this.AccessControlRules = null;
|
|
12609
|
-
|
|
12610
|
-
/**
|
|
12611
|
-
* Returns status code
|
|
12612
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
12613
|
-
* @type {number || null}
|
|
12614
|
-
*/
|
|
12615
|
-
this.ReturnCode = null;
|
|
12616
|
-
|
|
12617
|
-
}
|
|
12618
|
-
|
|
12619
|
-
/**
|
|
12620
|
-
* @private
|
|
12621
|
-
*/
|
|
12622
|
-
deserialize(params) {
|
|
12623
|
-
if (!params) {
|
|
12624
|
-
return;
|
|
12625
|
-
}
|
|
12626
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
12627
|
-
|
|
12628
|
-
if (params.AccessControlRules) {
|
|
12629
|
-
this.AccessControlRules = new Array();
|
|
12630
|
-
for (let z in params.AccessControlRules) {
|
|
12631
|
-
let obj = new AccessControlRule();
|
|
12632
|
-
obj.deserialize(params.AccessControlRules[z]);
|
|
12633
|
-
this.AccessControlRules.push(obj);
|
|
12634
|
-
}
|
|
12635
|
-
}
|
|
12636
|
-
this.ReturnCode = 'ReturnCode' in params ? params.ReturnCode : null;
|
|
12637
|
-
|
|
12638
|
-
}
|
|
12639
|
-
}
|
|
12640
|
-
|
|
12641
|
-
/**
|
|
12642
|
-
* ACL error page
|
|
12643
|
-
* @class
|
|
12644
|
-
*/
|
|
12645
|
-
class ScdnErrorPage extends AbstractModel {
|
|
12646
|
-
constructor(){
|
|
12647
|
-
super();
|
|
11199
|
+
`off`: Disable
|
|
11200
|
+
* @type {string || null}
|
|
11201
|
+
*/
|
|
11202
|
+
this.Switch = null;
|
|
12648
11203
|
|
|
12649
11204
|
/**
|
|
12650
|
-
*
|
|
12651
|
-
`
|
|
12652
|
-
|
|
12653
|
-
* @type {number || null}
|
|
11205
|
+
* Request header and request URL access rule
|
|
11206
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
11207
|
+
* @type {Array.<AccessControlRule> || null}
|
|
12654
11208
|
*/
|
|
12655
|
-
this.
|
|
11209
|
+
this.AccessControlRules = null;
|
|
12656
11210
|
|
|
12657
11211
|
/**
|
|
12658
|
-
*
|
|
12659
|
-
|
|
11212
|
+
* Returns status code
|
|
11213
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
11214
|
+
* @type {number || null}
|
|
12660
11215
|
*/
|
|
12661
|
-
this.
|
|
11216
|
+
this.ReturnCode = null;
|
|
12662
11217
|
|
|
12663
11218
|
}
|
|
12664
11219
|
|
|
@@ -12669,8 +11224,17 @@ class ScdnErrorPage extends AbstractModel {
|
|
|
12669
11224
|
if (!params) {
|
|
12670
11225
|
return;
|
|
12671
11226
|
}
|
|
12672
|
-
this.
|
|
12673
|
-
|
|
11227
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
11228
|
+
|
|
11229
|
+
if (params.AccessControlRules) {
|
|
11230
|
+
this.AccessControlRules = new Array();
|
|
11231
|
+
for (let z in params.AccessControlRules) {
|
|
11232
|
+
let obj = new AccessControlRule();
|
|
11233
|
+
obj.deserialize(params.AccessControlRules[z]);
|
|
11234
|
+
this.AccessControlRules.push(obj);
|
|
11235
|
+
}
|
|
11236
|
+
}
|
|
11237
|
+
this.ReturnCode = 'ReturnCode' in params ? params.ReturnCode : null;
|
|
12674
11238
|
|
|
12675
11239
|
}
|
|
12676
11240
|
}
|
|
@@ -13167,29 +11731,62 @@ For `path`, enter an absolute path, e.g., `/xxx/test.html`.
|
|
|
13167
11731
|
}
|
|
13168
11732
|
|
|
13169
11733
|
/**
|
|
13170
|
-
*
|
|
13171
|
-
ShareCname is only available to beta users. Submit a ticket if you need it.
|
|
11734
|
+
* Prefetch task details.
|
|
13172
11735
|
* @class
|
|
13173
11736
|
*/
|
|
13174
|
-
class
|
|
11737
|
+
class PushTask extends AbstractModel {
|
|
13175
11738
|
constructor(){
|
|
13176
11739
|
super();
|
|
13177
11740
|
|
|
13178
11741
|
/**
|
|
13179
|
-
*
|
|
13180
|
-
|
|
13181
|
-
|
|
11742
|
+
* Prefetch task ID
|
|
11743
|
+
* @type {string || null}
|
|
11744
|
+
*/
|
|
11745
|
+
this.TaskId = null;
|
|
13182
11746
|
|
|
11747
|
+
/**
|
|
11748
|
+
* Prefetched URL
|
|
13183
11749
|
* @type {string || null}
|
|
13184
11750
|
*/
|
|
13185
|
-
this.
|
|
11751
|
+
this.Url = null;
|
|
13186
11752
|
|
|
13187
11753
|
/**
|
|
13188
|
-
*
|
|
13189
|
-
|
|
11754
|
+
* Prefetch task status
|
|
11755
|
+
`fail`: Prefetch failed
|
|
11756
|
+
`done`: Prefetch succeeded
|
|
11757
|
+
`process`: Prefetch in progress
|
|
11758
|
+
`invalid`: Invalid prefetch with 4XX/5XX status code returned from the origin server
|
|
13190
11759
|
* @type {string || null}
|
|
13191
11760
|
*/
|
|
13192
|
-
this.
|
|
11761
|
+
this.Status = null;
|
|
11762
|
+
|
|
11763
|
+
/**
|
|
11764
|
+
* Prefetch progress in percentage
|
|
11765
|
+
* @type {number || null}
|
|
11766
|
+
*/
|
|
11767
|
+
this.Percent = null;
|
|
11768
|
+
|
|
11769
|
+
/**
|
|
11770
|
+
* Prefetch task submission time
|
|
11771
|
+
* @type {string || null}
|
|
11772
|
+
*/
|
|
11773
|
+
this.CreateTime = null;
|
|
11774
|
+
|
|
11775
|
+
/**
|
|
11776
|
+
* Prefetch region
|
|
11777
|
+
`mainland`: Within the Chinese mainland
|
|
11778
|
+
`overseas`: Outside the Chinese mainland
|
|
11779
|
+
`global`: Globe
|
|
11780
|
+
* @type {string || null}
|
|
11781
|
+
*/
|
|
11782
|
+
this.Area = null;
|
|
11783
|
+
|
|
11784
|
+
/**
|
|
11785
|
+
* Prefetch task update time
|
|
11786
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
11787
|
+
* @type {string || null}
|
|
11788
|
+
*/
|
|
11789
|
+
this.UpdateTime = null;
|
|
13193
11790
|
|
|
13194
11791
|
}
|
|
13195
11792
|
|
|
@@ -13200,8 +11797,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
13200
11797
|
if (!params) {
|
|
13201
11798
|
return;
|
|
13202
11799
|
}
|
|
13203
|
-
this.
|
|
13204
|
-
this.
|
|
11800
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
11801
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
11802
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
11803
|
+
this.Percent = 'Percent' in params ? params.Percent : null;
|
|
11804
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
11805
|
+
this.Area = 'Area' in params ? params.Area : null;
|
|
11806
|
+
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
13205
11807
|
|
|
13206
11808
|
}
|
|
13207
11809
|
}
|
|
@@ -13597,25 +12199,20 @@ class ModifyDomainConfigResponse extends AbstractModel {
|
|
|
13597
12199
|
}
|
|
13598
12200
|
|
|
13599
12201
|
/**
|
|
13600
|
-
*
|
|
12202
|
+
* QUIC configuration item
|
|
13601
12203
|
* @class
|
|
13602
12204
|
*/
|
|
13603
|
-
class
|
|
12205
|
+
class Quic extends AbstractModel {
|
|
13604
12206
|
constructor(){
|
|
13605
12207
|
super();
|
|
13606
12208
|
|
|
13607
12209
|
/**
|
|
13608
|
-
*
|
|
13609
|
-
|
|
13610
|
-
|
|
13611
|
-
*/
|
|
13612
|
-
this.Result = null;
|
|
13613
|
-
|
|
13614
|
-
/**
|
|
13615
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12210
|
+
* Whether to enable QUIC. Values:
|
|
12211
|
+
`on`: Enable
|
|
12212
|
+
`off`: Disable
|
|
13616
12213
|
* @type {string || null}
|
|
13617
12214
|
*/
|
|
13618
|
-
this.
|
|
12215
|
+
this.Switch = null;
|
|
13619
12216
|
|
|
13620
12217
|
}
|
|
13621
12218
|
|
|
@@ -13626,8 +12223,7 @@ class CreateScdnFailedLogTaskResponse extends AbstractModel {
|
|
|
13626
12223
|
if (!params) {
|
|
13627
12224
|
return;
|
|
13628
12225
|
}
|
|
13629
|
-
this.
|
|
13630
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12226
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
13631
12227
|
|
|
13632
12228
|
}
|
|
13633
12229
|
}
|
|
@@ -13831,62 +12427,19 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
13831
12427
|
}
|
|
13832
12428
|
|
|
13833
12429
|
/**
|
|
13834
|
-
*
|
|
12430
|
+
* DeleteCdnDomain request structure.
|
|
13835
12431
|
* @class
|
|
13836
12432
|
*/
|
|
13837
|
-
class
|
|
12433
|
+
class DeleteCdnDomainRequest extends AbstractModel {
|
|
13838
12434
|
constructor(){
|
|
13839
12435
|
super();
|
|
13840
12436
|
|
|
13841
12437
|
/**
|
|
13842
|
-
*
|
|
13843
|
-
|
|
13844
|
-
*/
|
|
13845
|
-
this.TaskId = null;
|
|
13846
|
-
|
|
13847
|
-
/**
|
|
13848
|
-
* Prefetched URL
|
|
13849
|
-
* @type {string || null}
|
|
13850
|
-
*/
|
|
13851
|
-
this.Url = null;
|
|
13852
|
-
|
|
13853
|
-
/**
|
|
13854
|
-
* Prefetch task status
|
|
13855
|
-
`fail`: Prefetch failed
|
|
13856
|
-
`done`: Prefetch succeeded
|
|
13857
|
-
`process`: Prefetch in progress
|
|
13858
|
-
`invalid`: Invalid prefetch with 4XX/5XX status code returned from the origin server
|
|
13859
|
-
* @type {string || null}
|
|
13860
|
-
*/
|
|
13861
|
-
this.Status = null;
|
|
13862
|
-
|
|
13863
|
-
/**
|
|
13864
|
-
* Prefetch progress in percentage
|
|
13865
|
-
* @type {number || null}
|
|
13866
|
-
*/
|
|
13867
|
-
this.Percent = null;
|
|
13868
|
-
|
|
13869
|
-
/**
|
|
13870
|
-
* Prefetch task submission time
|
|
13871
|
-
* @type {string || null}
|
|
13872
|
-
*/
|
|
13873
|
-
this.CreateTime = null;
|
|
13874
|
-
|
|
13875
|
-
/**
|
|
13876
|
-
* Prefetch region
|
|
13877
|
-
`mainland`: Within the Chinese mainland
|
|
13878
|
-
`overseas`: Outside the Chinese mainland
|
|
13879
|
-
`global`: Globe
|
|
13880
|
-
* @type {string || null}
|
|
13881
|
-
*/
|
|
13882
|
-
this.Area = null;
|
|
13883
|
-
|
|
13884
|
-
/**
|
|
13885
|
-
* Prefetch task update time
|
|
13886
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
12438
|
+
* Domain name
|
|
12439
|
+
The domain name status should be `Disabled`
|
|
13887
12440
|
* @type {string || null}
|
|
13888
12441
|
*/
|
|
13889
|
-
this.
|
|
12442
|
+
this.Domain = null;
|
|
13890
12443
|
|
|
13891
12444
|
}
|
|
13892
12445
|
|
|
@@ -13897,13 +12450,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
13897
12450
|
if (!params) {
|
|
13898
12451
|
return;
|
|
13899
12452
|
}
|
|
13900
|
-
this.
|
|
13901
|
-
this.Url = 'Url' in params ? params.Url : null;
|
|
13902
|
-
this.Status = 'Status' in params ? params.Status : null;
|
|
13903
|
-
this.Percent = 'Percent' in params ? params.Percent : null;
|
|
13904
|
-
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
13905
|
-
this.Area = 'Area' in params ? params.Area : null;
|
|
13906
|
-
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
12453
|
+
this.Domain = 'Domain' in params ? params.Domain : null;
|
|
13907
12454
|
|
|
13908
12455
|
}
|
|
13909
12456
|
}
|
|
@@ -14981,42 +13528,18 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
14981
13528
|
}
|
|
14982
13529
|
|
|
14983
13530
|
/**
|
|
14984
|
-
*
|
|
13531
|
+
* ManageClsTopicDomains response structure.
|
|
14985
13532
|
* @class
|
|
14986
13533
|
*/
|
|
14987
|
-
class
|
|
13534
|
+
class ManageClsTopicDomainsResponse extends AbstractModel {
|
|
14988
13535
|
constructor(){
|
|
14989
13536
|
super();
|
|
14990
13537
|
|
|
14991
13538
|
/**
|
|
14992
|
-
*
|
|
14993
|
-
* @type {string || null}
|
|
14994
|
-
*/
|
|
14995
|
-
this.RuleName = null;
|
|
14996
|
-
|
|
14997
|
-
/**
|
|
14998
|
-
* Specific configurations
|
|
14999
|
-
* @type {Array.<AdvancedScdnAclRule> || null}
|
|
15000
|
-
*/
|
|
15001
|
-
this.Configure = null;
|
|
15002
|
-
|
|
15003
|
-
/**
|
|
15004
|
-
* Action. Valid values: `intercept` and `redirect`.
|
|
15005
|
-
* @type {string || null}
|
|
15006
|
-
*/
|
|
15007
|
-
this.Result = null;
|
|
15008
|
-
|
|
15009
|
-
/**
|
|
15010
|
-
* Whether the rule is activated. Valid values: `active` and `inactive`.
|
|
13539
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
15011
13540
|
* @type {string || null}
|
|
15012
13541
|
*/
|
|
15013
|
-
this.
|
|
15014
|
-
|
|
15015
|
-
/**
|
|
15016
|
-
* Error page configuration
|
|
15017
|
-
* @type {ScdnErrorPage || null}
|
|
15018
|
-
*/
|
|
15019
|
-
this.ErrorPage = null;
|
|
13542
|
+
this.RequestId = null;
|
|
15020
13543
|
|
|
15021
13544
|
}
|
|
15022
13545
|
|
|
@@ -15027,24 +13550,7 @@ class AdvancedScdnAclGroup extends AbstractModel {
|
|
|
15027
13550
|
if (!params) {
|
|
15028
13551
|
return;
|
|
15029
13552
|
}
|
|
15030
|
-
this.
|
|
15031
|
-
|
|
15032
|
-
if (params.Configure) {
|
|
15033
|
-
this.Configure = new Array();
|
|
15034
|
-
for (let z in params.Configure) {
|
|
15035
|
-
let obj = new AdvancedScdnAclRule();
|
|
15036
|
-
obj.deserialize(params.Configure[z]);
|
|
15037
|
-
this.Configure.push(obj);
|
|
15038
|
-
}
|
|
15039
|
-
}
|
|
15040
|
-
this.Result = 'Result' in params ? params.Result : null;
|
|
15041
|
-
this.Status = 'Status' in params ? params.Status : null;
|
|
15042
|
-
|
|
15043
|
-
if (params.ErrorPage) {
|
|
15044
|
-
let obj = new ScdnErrorPage();
|
|
15045
|
-
obj.deserialize(params.ErrorPage)
|
|
15046
|
-
this.ErrorPage = obj;
|
|
15047
|
-
}
|
|
13553
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
15048
13554
|
|
|
15049
13555
|
}
|
|
15050
13556
|
}
|
|
@@ -15109,102 +13615,30 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
15109
13615
|
}
|
|
15110
13616
|
|
|
15111
13617
|
/**
|
|
15112
|
-
*
|
|
15113
|
-
* @class
|
|
15114
|
-
*/
|
|
15115
|
-
class ManageClsTopicDomainsResponse extends AbstractModel {
|
|
15116
|
-
constructor(){
|
|
15117
|
-
super();
|
|
15118
|
-
|
|
15119
|
-
/**
|
|
15120
|
-
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
15121
|
-
* @type {string || null}
|
|
15122
|
-
*/
|
|
15123
|
-
this.RequestId = null;
|
|
15124
|
-
|
|
15125
|
-
}
|
|
15126
|
-
|
|
15127
|
-
/**
|
|
15128
|
-
* @private
|
|
15129
|
-
*/
|
|
15130
|
-
deserialize(params) {
|
|
15131
|
-
if (!params) {
|
|
15132
|
-
return;
|
|
15133
|
-
}
|
|
15134
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
15135
|
-
|
|
15136
|
-
}
|
|
15137
|
-
}
|
|
15138
|
-
|
|
15139
|
-
/**
|
|
15140
|
-
* HTTPS. When it’s disabled, HTTPS requests are blocked.
|
|
15141
|
-
* @class
|
|
15142
|
-
*/
|
|
15143
|
-
class HttpsBilling extends AbstractModel {
|
|
15144
|
-
constructor(){
|
|
15145
|
-
super();
|
|
15146
|
-
|
|
15147
|
-
/**
|
|
15148
|
-
* Whether to enable HTTPS. Values:
|
|
15149
|
-
`on`: When it's enabled, HTTPS requests are allowed and incur charges. If not specified, his field uses the default value `on`.
|
|
15150
|
-
`off`: When it's disabled, HTTPS requests are blocked.
|
|
15151
|
-
|
|
15152
|
-
* @type {string || null}
|
|
15153
|
-
*/
|
|
15154
|
-
this.Switch = null;
|
|
15155
|
-
|
|
15156
|
-
}
|
|
15157
|
-
|
|
15158
|
-
/**
|
|
15159
|
-
* @private
|
|
15160
|
-
*/
|
|
15161
|
-
deserialize(params) {
|
|
15162
|
-
if (!params) {
|
|
15163
|
-
return;
|
|
15164
|
-
}
|
|
15165
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
15166
|
-
|
|
15167
|
-
}
|
|
15168
|
-
}
|
|
15169
|
-
|
|
15170
|
-
/**
|
|
15171
|
-
* SCDN precise access control configuration
|
|
13618
|
+
* ModifyDomainConfig request structure.
|
|
15172
13619
|
* @class
|
|
15173
13620
|
*/
|
|
15174
|
-
class
|
|
13621
|
+
class ModifyDomainConfigRequest extends AbstractModel {
|
|
15175
13622
|
constructor(){
|
|
15176
13623
|
super();
|
|
15177
13624
|
|
|
15178
13625
|
/**
|
|
15179
|
-
*
|
|
13626
|
+
* The domain name.
|
|
15180
13627
|
* @type {string || null}
|
|
15181
13628
|
*/
|
|
15182
|
-
this.
|
|
15183
|
-
|
|
15184
|
-
/**
|
|
15185
|
-
* Specific configurations
|
|
15186
|
-
* @type {Array.<ScdnAclRule> || null}
|
|
15187
|
-
*/
|
|
15188
|
-
this.Configure = null;
|
|
13629
|
+
this.Domain = null;
|
|
15189
13630
|
|
|
15190
13631
|
/**
|
|
15191
|
-
*
|
|
13632
|
+
* Name of the configuration parameter.
|
|
15192
13633
|
* @type {string || null}
|
|
15193
13634
|
*/
|
|
15194
|
-
this.
|
|
13635
|
+
this.Route = null;
|
|
15195
13636
|
|
|
15196
13637
|
/**
|
|
15197
|
-
*
|
|
13638
|
+
* Value of the configuration parameter. This field is serialized to a JSON string {key:value}, where **key** is fixed to `update`.
|
|
15198
13639
|
* @type {string || null}
|
|
15199
13640
|
*/
|
|
15200
|
-
this.
|
|
15201
|
-
|
|
15202
|
-
/**
|
|
15203
|
-
* Error page configuration
|
|
15204
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
15205
|
-
* @type {ScdnErrorPage || null}
|
|
15206
|
-
*/
|
|
15207
|
-
this.ErrorPage = null;
|
|
13641
|
+
this.Value = null;
|
|
15208
13642
|
|
|
15209
13643
|
}
|
|
15210
13644
|
|
|
@@ -15215,47 +13649,34 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
15215
13649
|
if (!params) {
|
|
15216
13650
|
return;
|
|
15217
13651
|
}
|
|
15218
|
-
this.
|
|
15219
|
-
|
|
15220
|
-
|
|
15221
|
-
this.Configure = new Array();
|
|
15222
|
-
for (let z in params.Configure) {
|
|
15223
|
-
let obj = new ScdnAclRule();
|
|
15224
|
-
obj.deserialize(params.Configure[z]);
|
|
15225
|
-
this.Configure.push(obj);
|
|
15226
|
-
}
|
|
15227
|
-
}
|
|
15228
|
-
this.Result = 'Result' in params ? params.Result : null;
|
|
15229
|
-
this.Status = 'Status' in params ? params.Status : null;
|
|
15230
|
-
|
|
15231
|
-
if (params.ErrorPage) {
|
|
15232
|
-
let obj = new ScdnErrorPage();
|
|
15233
|
-
obj.deserialize(params.ErrorPage)
|
|
15234
|
-
this.ErrorPage = obj;
|
|
15235
|
-
}
|
|
13652
|
+
this.Domain = 'Domain' in params ? params.Domain : null;
|
|
13653
|
+
this.Route = 'Route' in params ? params.Route : null;
|
|
13654
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
15236
13655
|
|
|
15237
13656
|
}
|
|
15238
13657
|
}
|
|
15239
13658
|
|
|
15240
13659
|
/**
|
|
15241
|
-
*
|
|
13660
|
+
* Domain name tag configuration
|
|
15242
13661
|
* @class
|
|
15243
13662
|
*/
|
|
15244
|
-
class
|
|
13663
|
+
class Tag extends AbstractModel {
|
|
15245
13664
|
constructor(){
|
|
15246
13665
|
super();
|
|
15247
13666
|
|
|
15248
13667
|
/**
|
|
15249
|
-
*
|
|
13668
|
+
* Tag key
|
|
13669
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
15250
13670
|
* @type {string || null}
|
|
15251
13671
|
*/
|
|
15252
|
-
this.
|
|
13672
|
+
this.TagKey = null;
|
|
15253
13673
|
|
|
15254
13674
|
/**
|
|
15255
|
-
*
|
|
13675
|
+
* Tag value
|
|
13676
|
+
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
15256
13677
|
* @type {string || null}
|
|
15257
13678
|
*/
|
|
15258
|
-
this.
|
|
13679
|
+
this.TagValue = null;
|
|
15259
13680
|
|
|
15260
13681
|
}
|
|
15261
13682
|
|
|
@@ -15266,8 +13687,8 @@ class ScdnWafRule extends AbstractModel {
|
|
|
15266
13687
|
if (!params) {
|
|
15267
13688
|
return;
|
|
15268
13689
|
}
|
|
15269
|
-
this.
|
|
15270
|
-
this.
|
|
13690
|
+
this.TagKey = 'TagKey' in params ? params.TagKey : null;
|
|
13691
|
+
this.TagValue = 'TagValue' in params ? params.TagValue : null;
|
|
15271
13692
|
|
|
15272
13693
|
}
|
|
15273
13694
|
}
|
|
@@ -15448,95 +13869,24 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
15448
13869
|
}
|
|
15449
13870
|
|
|
15450
13871
|
/**
|
|
15451
|
-
*
|
|
13872
|
+
* UpdatePayType request structure.
|
|
15452
13873
|
* @class
|
|
15453
13874
|
*/
|
|
15454
|
-
class
|
|
13875
|
+
class UpdatePayTypeRequest extends AbstractModel {
|
|
15455
13876
|
constructor(){
|
|
15456
13877
|
super();
|
|
15457
13878
|
|
|
15458
13879
|
/**
|
|
15459
|
-
*
|
|
15460
|
-
`on`: Enable
|
|
15461
|
-
`off`: Disable
|
|
13880
|
+
* Billing region, which can be `mainland` or `overseas`.
|
|
15462
13881
|
* @type {string || null}
|
|
15463
13882
|
*/
|
|
15464
|
-
this.
|
|
15465
|
-
|
|
15466
|
-
/**
|
|
15467
|
-
* This field is disused. Please use `AdvancedScriptData` instead.
|
|
15468
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
15469
|
-
* @type {Array.<ScdnAclGroup> || null}
|
|
15470
|
-
*/
|
|
15471
|
-
this.ScriptData = null;
|
|
15472
|
-
|
|
15473
|
-
/**
|
|
15474
|
-
* Error page configuration
|
|
15475
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
15476
|
-
* @type {ScdnErrorPage || null}
|
|
15477
|
-
*/
|
|
15478
|
-
this.ErrorPage = null;
|
|
15479
|
-
|
|
15480
|
-
/**
|
|
15481
|
-
* ACL rule group, which is required when the access control is on.
|
|
15482
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
15483
|
-
* @type {Array.<AdvancedScdnAclGroup> || null}
|
|
15484
|
-
*/
|
|
15485
|
-
this.AdvancedScriptData = null;
|
|
15486
|
-
|
|
15487
|
-
}
|
|
15488
|
-
|
|
15489
|
-
/**
|
|
15490
|
-
* @private
|
|
15491
|
-
*/
|
|
15492
|
-
deserialize(params) {
|
|
15493
|
-
if (!params) {
|
|
15494
|
-
return;
|
|
15495
|
-
}
|
|
15496
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
15497
|
-
|
|
15498
|
-
if (params.ScriptData) {
|
|
15499
|
-
this.ScriptData = new Array();
|
|
15500
|
-
for (let z in params.ScriptData) {
|
|
15501
|
-
let obj = new ScdnAclGroup();
|
|
15502
|
-
obj.deserialize(params.ScriptData[z]);
|
|
15503
|
-
this.ScriptData.push(obj);
|
|
15504
|
-
}
|
|
15505
|
-
}
|
|
15506
|
-
|
|
15507
|
-
if (params.ErrorPage) {
|
|
15508
|
-
let obj = new ScdnErrorPage();
|
|
15509
|
-
obj.deserialize(params.ErrorPage)
|
|
15510
|
-
this.ErrorPage = obj;
|
|
15511
|
-
}
|
|
15512
|
-
|
|
15513
|
-
if (params.AdvancedScriptData) {
|
|
15514
|
-
this.AdvancedScriptData = new Array();
|
|
15515
|
-
for (let z in params.AdvancedScriptData) {
|
|
15516
|
-
let obj = new AdvancedScdnAclGroup();
|
|
15517
|
-
obj.deserialize(params.AdvancedScriptData[z]);
|
|
15518
|
-
this.AdvancedScriptData.push(obj);
|
|
15519
|
-
}
|
|
15520
|
-
}
|
|
15521
|
-
|
|
15522
|
-
}
|
|
15523
|
-
}
|
|
15524
|
-
|
|
15525
|
-
/**
|
|
15526
|
-
* DDoS configuration
|
|
15527
|
-
* @class
|
|
15528
|
-
*/
|
|
15529
|
-
class ScdnDdosConfig extends AbstractModel {
|
|
15530
|
-
constructor(){
|
|
15531
|
-
super();
|
|
13883
|
+
this.Area = null;
|
|
15532
13884
|
|
|
15533
13885
|
/**
|
|
15534
|
-
*
|
|
15535
|
-
`on`: Enable
|
|
15536
|
-
`off`: Disable
|
|
13886
|
+
* Billing mode, which can be `flux` or `bandwidth`.
|
|
15537
13887
|
* @type {string || null}
|
|
15538
13888
|
*/
|
|
15539
|
-
this.
|
|
13889
|
+
this.PayType = null;
|
|
15540
13890
|
|
|
15541
13891
|
}
|
|
15542
13892
|
|
|
@@ -15547,7 +13897,8 @@ class ScdnDdosConfig extends AbstractModel {
|
|
|
15547
13897
|
if (!params) {
|
|
15548
13898
|
return;
|
|
15549
13899
|
}
|
|
15550
|
-
this.
|
|
13900
|
+
this.Area = 'Area' in params ? params.Area : null;
|
|
13901
|
+
this.PayType = 'PayType' in params ? params.PayType : null;
|
|
15551
13902
|
|
|
15552
13903
|
}
|
|
15553
13904
|
}
|
|
@@ -15561,15 +13912,13 @@ class DescribePurgeTasksResponse extends AbstractModel {
|
|
|
15561
13912
|
super();
|
|
15562
13913
|
|
|
15563
13914
|
/**
|
|
15564
|
-
*
|
|
15565
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
13915
|
+
* Specifies the detailed refresh record.
|
|
15566
13916
|
* @type {Array.<PurgeTask> || null}
|
|
15567
13917
|
*/
|
|
15568
13918
|
this.PurgeLogs = null;
|
|
15569
13919
|
|
|
15570
13920
|
/**
|
|
15571
|
-
* Total number of tasks
|
|
15572
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
13921
|
+
* Total number of tasks. for pagination.
|
|
15573
13922
|
* @type {number || null}
|
|
15574
13923
|
*/
|
|
15575
13924
|
this.TotalCount = null;
|
|
@@ -16059,8 +14408,8 @@ Note that `Project` will be ignored if `Domains` is specified.
|
|
|
16059
14408
|
this.Interval = null;
|
|
16060
14409
|
|
|
16061
14410
|
/**
|
|
16062
|
-
*
|
|
16063
|
-
|
|
14411
|
+
* Queries multiple domain names and returns aggregated data by default (false).
|
|
14412
|
+
Specifies as required to be true, returns detailed data for each Domain (statusCode, 2xx, 3xx, 4xx, 5xx metrics not currently supported).
|
|
16064
14413
|
* @type {boolean || null}
|
|
16065
14414
|
*/
|
|
16066
14415
|
this.Detail = null;
|
|
@@ -16254,36 +14603,6 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
16254
14603
|
}
|
|
16255
14604
|
}
|
|
16256
14605
|
|
|
16257
|
-
/**
|
|
16258
|
-
* QUIC configuration item
|
|
16259
|
-
* @class
|
|
16260
|
-
*/
|
|
16261
|
-
class Quic extends AbstractModel {
|
|
16262
|
-
constructor(){
|
|
16263
|
-
super();
|
|
16264
|
-
|
|
16265
|
-
/**
|
|
16266
|
-
* Whether to enable QUIC. Values:
|
|
16267
|
-
`on`: Enable
|
|
16268
|
-
`off`: Disable
|
|
16269
|
-
* @type {string || null}
|
|
16270
|
-
*/
|
|
16271
|
-
this.Switch = null;
|
|
16272
|
-
|
|
16273
|
-
}
|
|
16274
|
-
|
|
16275
|
-
/**
|
|
16276
|
-
* @private
|
|
16277
|
-
*/
|
|
16278
|
-
deserialize(params) {
|
|
16279
|
-
if (!params) {
|
|
16280
|
-
return;
|
|
16281
|
-
}
|
|
16282
|
-
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
16283
|
-
|
|
16284
|
-
}
|
|
16285
|
-
}
|
|
16286
|
-
|
|
16287
14606
|
/**
|
|
16288
14607
|
* DescribeDomains request structure.
|
|
16289
14608
|
* @class
|
|
@@ -16364,71 +14683,6 @@ class OfflineCache extends AbstractModel {
|
|
|
16364
14683
|
}
|
|
16365
14684
|
}
|
|
16366
14685
|
|
|
16367
|
-
/**
|
|
16368
|
-
* URL redirect rule configuration
|
|
16369
|
-
* @class
|
|
16370
|
-
*/
|
|
16371
|
-
class UrlRedirectRule extends AbstractModel {
|
|
16372
|
-
constructor(){
|
|
16373
|
-
super();
|
|
16374
|
-
|
|
16375
|
-
/**
|
|
16376
|
-
* Redirect status code. Valid values: 301, 302
|
|
16377
|
-
* @type {number || null}
|
|
16378
|
-
*/
|
|
16379
|
-
this.RedirectStatusCode = null;
|
|
16380
|
-
|
|
16381
|
-
/**
|
|
16382
|
-
* URL to be matched. Only URLs are supported, while parameters are not. The exact match is used by default. In regex match, up to 5 wildcards `*` are supported. The URL can contain up to 1,024 characters.
|
|
16383
|
-
* @type {string || null}
|
|
16384
|
-
*/
|
|
16385
|
-
this.Pattern = null;
|
|
16386
|
-
|
|
16387
|
-
/**
|
|
16388
|
-
* Target URL, starting with `/` and excluding parameters. The path can contain up to 1,024 characters. The wildcards in the matching path can be respectively captured using `$1`, `$2`, `$3`, `$4`, and `$5`. Up to 10 values can be captured.
|
|
16389
|
-
* @type {string || null}
|
|
16390
|
-
*/
|
|
16391
|
-
this.RedirectUrl = null;
|
|
16392
|
-
|
|
16393
|
-
/**
|
|
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.
|
|
16395
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
16396
|
-
* @type {string || null}
|
|
16397
|
-
*/
|
|
16398
|
-
this.RedirectHost = null;
|
|
16399
|
-
|
|
16400
|
-
/**
|
|
16401
|
-
* Whether to use full-path matching or arbitrary matching
|
|
16402
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
16403
|
-
* @type {boolean || null}
|
|
16404
|
-
*/
|
|
16405
|
-
this.FullMatch = null;
|
|
16406
|
-
|
|
16407
|
-
/**
|
|
16408
|
-
*
|
|
16409
|
-
* @type {boolean || null}
|
|
16410
|
-
*/
|
|
16411
|
-
this.Regex = null;
|
|
16412
|
-
|
|
16413
|
-
}
|
|
16414
|
-
|
|
16415
|
-
/**
|
|
16416
|
-
* @private
|
|
16417
|
-
*/
|
|
16418
|
-
deserialize(params) {
|
|
16419
|
-
if (!params) {
|
|
16420
|
-
return;
|
|
16421
|
-
}
|
|
16422
|
-
this.RedirectStatusCode = 'RedirectStatusCode' in params ? params.RedirectStatusCode : null;
|
|
16423
|
-
this.Pattern = 'Pattern' in params ? params.Pattern : null;
|
|
16424
|
-
this.RedirectUrl = 'RedirectUrl' in params ? params.RedirectUrl : null;
|
|
16425
|
-
this.RedirectHost = 'RedirectHost' in params ? params.RedirectHost : null;
|
|
16426
|
-
this.FullMatch = 'FullMatch' in params ? params.FullMatch : null;
|
|
16427
|
-
this.Regex = 'Regex' in params ? params.Regex : null;
|
|
16428
|
-
|
|
16429
|
-
}
|
|
16430
|
-
}
|
|
16431
|
-
|
|
16432
14686
|
/**
|
|
16433
14687
|
* HTTP request header
|
|
16434
14688
|
* @class
|
|
@@ -16536,59 +14790,16 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
16536
14790
|
}
|
|
16537
14791
|
}
|
|
16538
14792
|
|
|
16539
|
-
/**
|
|
16540
|
-
* Precise access control match rule
|
|
16541
|
-
* @class
|
|
16542
|
-
*/
|
|
16543
|
-
class ScdnAclRule extends AbstractModel {
|
|
16544
|
-
constructor(){
|
|
16545
|
-
super();
|
|
16546
|
-
|
|
16547
|
-
/**
|
|
16548
|
-
* Keyword
|
|
16549
|
-
* @type {string || null}
|
|
16550
|
-
*/
|
|
16551
|
-
this.MatchKey = null;
|
|
16552
|
-
|
|
16553
|
-
/**
|
|
16554
|
-
* Logical operator. Valid values:
|
|
16555
|
-
* @type {string || null}
|
|
16556
|
-
*/
|
|
16557
|
-
this.LogiOperator = null;
|
|
16558
|
-
|
|
16559
|
-
/**
|
|
16560
|
-
* Matched value
|
|
16561
|
-
* @type {string || null}
|
|
16562
|
-
*/
|
|
16563
|
-
this.MatchValue = null;
|
|
16564
|
-
|
|
16565
|
-
}
|
|
16566
|
-
|
|
16567
|
-
/**
|
|
16568
|
-
* @private
|
|
16569
|
-
*/
|
|
16570
|
-
deserialize(params) {
|
|
16571
|
-
if (!params) {
|
|
16572
|
-
return;
|
|
16573
|
-
}
|
|
16574
|
-
this.MatchKey = 'MatchKey' in params ? params.MatchKey : null;
|
|
16575
|
-
this.LogiOperator = 'LogiOperator' in params ? params.LogiOperator : null;
|
|
16576
|
-
this.MatchValue = 'MatchValue' in params ? params.MatchValue : null;
|
|
16577
|
-
|
|
16578
|
-
}
|
|
16579
|
-
}
|
|
16580
|
-
|
|
16581
14793
|
module.exports = {
|
|
16582
14794
|
DescribeCdnDomainLogsResponse: DescribeCdnDomainLogsResponse,
|
|
16583
14795
|
AdvancedAuthentication: AdvancedAuthentication,
|
|
16584
14796
|
AdvanceHttps: AdvanceHttps,
|
|
16585
14797
|
Revalidate: Revalidate,
|
|
16586
14798
|
ResourceData: ResourceData,
|
|
16587
|
-
|
|
14799
|
+
UserAgentFilter: UserAgentFilter,
|
|
16588
14800
|
OthersPrivateAccess: OthersPrivateAccess,
|
|
16589
14801
|
DescribePushQuotaResponse: DescribePushQuotaResponse,
|
|
16590
14802
|
DescribePurgeQuotaResponse: DescribePurgeQuotaResponse,
|
|
16591
|
-
ScdnSevenLayerRules: ScdnSevenLayerRules,
|
|
16592
14803
|
Authentication: Authentication,
|
|
16593
14804
|
ImageOptimization: ImageOptimization,
|
|
16594
14805
|
Https: Https,
|
|
@@ -16600,19 +14811,17 @@ module.exports = {
|
|
|
16600
14811
|
Compression: Compression,
|
|
16601
14812
|
PurgePathCacheResponse: PurgePathCacheResponse,
|
|
16602
14813
|
DomainFilter: DomainFilter,
|
|
16603
|
-
DescribeCdnOriginIpResponse: DescribeCdnOriginIpResponse,
|
|
16604
14814
|
ParamFilter: ParamFilter,
|
|
16605
14815
|
SpecificConfig: SpecificConfig,
|
|
16606
14816
|
FollowRedirect: FollowRedirect,
|
|
16607
14817
|
RequestHeader: RequestHeader,
|
|
16608
14818
|
DescribePurgeQuotaRequest: DescribePurgeQuotaRequest,
|
|
16609
14819
|
Referer: Referer,
|
|
16610
|
-
PostSize: PostSize,
|
|
16611
14820
|
DescribeCdnDataResponse: DescribeCdnDataResponse,
|
|
16612
14821
|
EnableClsLogTopicRequest: EnableClsLogTopicRequest,
|
|
16613
14822
|
CacheConfigNoCache: CacheConfigNoCache,
|
|
16614
14823
|
OriginCombine: OriginCombine,
|
|
16615
|
-
|
|
14824
|
+
DescribeCdnOriginIpResponse: DescribeCdnOriginIpResponse,
|
|
16616
14825
|
DescribePayTypeResponse: DescribePayTypeResponse,
|
|
16617
14826
|
PathRule: PathRule,
|
|
16618
14827
|
ListTopDataRequest: ListTopDataRequest,
|
|
@@ -16623,22 +14832,17 @@ module.exports = {
|
|
|
16623
14832
|
CompressionRule: CompressionRule,
|
|
16624
14833
|
RedirectConfig: RedirectConfig,
|
|
16625
14834
|
GuetzliAdapter: GuetzliAdapter,
|
|
16626
|
-
UpdateScdnDomainResponse: UpdateScdnDomainResponse,
|
|
16627
14835
|
Origin: Origin,
|
|
16628
14836
|
AdvancedAuthenticationTypeF: AdvancedAuthenticationTypeF,
|
|
16629
14837
|
TopData: TopData,
|
|
16630
|
-
EnableCachesRequest: EnableCachesRequest,
|
|
16631
14838
|
Quota: Quota,
|
|
16632
14839
|
HeaderKey: HeaderKey,
|
|
16633
14840
|
DescribeBillingDataRequest: DescribeBillingDataRequest,
|
|
16634
14841
|
SimpleCache: SimpleCache,
|
|
16635
14842
|
DeleteClsLogTopicRequest: DeleteClsLogTopicRequest,
|
|
16636
|
-
UserAgentFilter: UserAgentFilter,
|
|
16637
|
-
ModifyDomainConfigRequest: ModifyDomainConfigRequest,
|
|
16638
14843
|
DescribeCdnOriginIpRequest: DescribeCdnOriginIpRequest,
|
|
16639
14844
|
UpdatePayTypeResponse: UpdatePayTypeResponse,
|
|
16640
14845
|
TopicInfo: TopicInfo,
|
|
16641
|
-
AdvancedCCRules: AdvancedCCRules,
|
|
16642
14846
|
DescribeDomainsConfigResponse: DescribeDomainsConfigResponse,
|
|
16643
14847
|
BriefDomain: BriefDomain,
|
|
16644
14848
|
TimestampData: TimestampData,
|
|
@@ -16648,10 +14852,9 @@ module.exports = {
|
|
|
16648
14852
|
DisableClsLogTopicRequest: DisableClsLogTopicRequest,
|
|
16649
14853
|
RuleCacheConfig: RuleCacheConfig,
|
|
16650
14854
|
ListClsTopicDomainsResponse: ListClsTopicDomainsResponse,
|
|
16651
|
-
|
|
14855
|
+
HttpsBilling: HttpsBilling,
|
|
16652
14856
|
DescribeCdnIpRequest: DescribeCdnIpRequest,
|
|
16653
14857
|
Ipv6: Ipv6,
|
|
16654
|
-
WafSubRuleStatus: WafSubRuleStatus,
|
|
16655
14858
|
FilterRules: FilterRules,
|
|
16656
14859
|
StatusCodeCache: StatusCodeCache,
|
|
16657
14860
|
DescribeIpVisitResponse: DescribeIpVisitResponse,
|
|
@@ -16662,7 +14865,7 @@ module.exports = {
|
|
|
16662
14865
|
AddCdnDomainRequest: AddCdnDomainRequest,
|
|
16663
14866
|
UserAgentFilterRule: UserAgentFilterRule,
|
|
16664
14867
|
UpdateDomainConfigRequest: UpdateDomainConfigRequest,
|
|
16665
|
-
|
|
14868
|
+
ShareCname: ShareCname,
|
|
16666
14869
|
CacheConfigFollowOrigin: CacheConfigFollowOrigin,
|
|
16667
14870
|
MaxAgeRule: MaxAgeRule,
|
|
16668
14871
|
AdvancedAuthenticationTypeE: AdvancedAuthenticationTypeE,
|
|
@@ -16678,11 +14881,12 @@ module.exports = {
|
|
|
16678
14881
|
WebSocket: WebSocket,
|
|
16679
14882
|
MapInfo: MapInfo,
|
|
16680
14883
|
DescribeCertDomainsResponse: DescribeCertDomainsResponse,
|
|
16681
|
-
|
|
14884
|
+
DuplicateDomainConfigRequest: DuplicateDomainConfigRequest,
|
|
16682
14885
|
AuthenticationTypeD: AuthenticationTypeD,
|
|
16683
14886
|
AuthenticationTypeC: AuthenticationTypeC,
|
|
16684
14887
|
AuthenticationTypeB: AuthenticationTypeB,
|
|
16685
14888
|
AuthenticationTypeA: AuthenticationTypeA,
|
|
14889
|
+
ResponseHeader: ResponseHeader,
|
|
16686
14890
|
OriginAuthenticationTypeA: OriginAuthenticationTypeA,
|
|
16687
14891
|
DescribePushTasksResponse: DescribePushTasksResponse,
|
|
16688
14892
|
ResourceOriginData: ResourceOriginData,
|
|
@@ -16692,26 +14896,21 @@ module.exports = {
|
|
|
16692
14896
|
ServerCert: ServerCert,
|
|
16693
14897
|
AccessControlRule: AccessControlRule,
|
|
16694
14898
|
HttpHeaderPathRule: HttpHeaderPathRule,
|
|
16695
|
-
DisableCachesRequest: DisableCachesRequest,
|
|
16696
14899
|
AddCLSTopicDomainsResponse: AddCLSTopicDomainsResponse,
|
|
16697
14900
|
SimpleCacheRule: SimpleCacheRule,
|
|
16698
14901
|
DisableClsLogTopicResponse: DisableClsLogTopicResponse,
|
|
16699
|
-
Hsts: Hsts,
|
|
16700
14902
|
DescribeIpStatusRequest: DescribeIpStatusRequest,
|
|
16701
14903
|
DetailDomain: DetailDomain,
|
|
16702
14904
|
RuleEngine: RuleEngine,
|
|
16703
|
-
GetDisableRecordsResponse: GetDisableRecordsResponse,
|
|
16704
14905
|
Ipv6Access: Ipv6Access,
|
|
16705
14906
|
HeuristicCache: HeuristicCache,
|
|
16706
|
-
|
|
14907
|
+
DuplicateDomainConfigResponse: DuplicateDomainConfigResponse,
|
|
16707
14908
|
CdnIpHistory: CdnIpHistory,
|
|
16708
14909
|
SummarizedData: SummarizedData,
|
|
16709
|
-
UpdateScdnDomainRequest: UpdateScdnDomainRequest,
|
|
16710
|
-
UpdatePayTypeRequest: UpdatePayTypeRequest,
|
|
16711
14910
|
ManageClsTopicDomainsRequest: ManageClsTopicDomainsRequest,
|
|
16712
14911
|
AddCLSTopicDomainsRequest: AddCLSTopicDomainsRequest,
|
|
16713
|
-
|
|
16714
|
-
|
|
14912
|
+
UrlRedirectRule: UrlRedirectRule,
|
|
14913
|
+
PostSize: PostSize,
|
|
16715
14914
|
Cache: Cache,
|
|
16716
14915
|
ForceRedirect: ForceRedirect,
|
|
16717
14916
|
DescribeOriginDataRequest: DescribeOriginDataRequest,
|
|
@@ -16725,29 +14924,22 @@ module.exports = {
|
|
|
16725
14924
|
DescribePushTasksRequest: DescribePushTasksRequest,
|
|
16726
14925
|
DescribeUrlViolationsRequest: DescribeUrlViolationsRequest,
|
|
16727
14926
|
RefererRule: RefererRule,
|
|
16728
|
-
ScdnCCRules: ScdnCCRules,
|
|
16729
14927
|
IpFreqLimit: IpFreqLimit,
|
|
16730
14928
|
CreateClsLogTopicRequest: CreateClsLogTopicRequest,
|
|
16731
|
-
|
|
14929
|
+
Hsts: Hsts,
|
|
16732
14930
|
OriginSni: OriginSni,
|
|
16733
14931
|
StopCdnDomainRequest: StopCdnDomainRequest,
|
|
16734
14932
|
DescribeMapInfoResponse: DescribeMapInfoResponse,
|
|
16735
14933
|
DescribeMapInfoRequest: DescribeMapInfoRequest,
|
|
16736
|
-
EnableCachesResponse: EnableCachesResponse,
|
|
16737
14934
|
RuleQueryString: RuleQueryString,
|
|
16738
|
-
AdvancedScdnAclRule: AdvancedScdnAclRule,
|
|
16739
14935
|
DescribeIpVisitRequest: DescribeIpVisitRequest,
|
|
16740
14936
|
HttpHeaderRule: HttpHeaderRule,
|
|
16741
14937
|
StatusCodeCacheRule: StatusCodeCacheRule,
|
|
16742
14938
|
ClientCert: ClientCert,
|
|
16743
|
-
ScdnConfig: ScdnConfig,
|
|
16744
14939
|
DomainLog: DomainLog,
|
|
16745
|
-
GetDisableRecordsRequest: GetDisableRecordsRequest,
|
|
16746
14940
|
PurgeUrlsCacheResponse: PurgeUrlsCacheResponse,
|
|
16747
|
-
BotJavaScript: BotJavaScript,
|
|
16748
14941
|
DeleteClsLogTopicResponse: DeleteClsLogTopicResponse,
|
|
16749
14942
|
DescribeBillingDataResponse: DescribeBillingDataResponse,
|
|
16750
|
-
DisableCachesResponse: DisableCachesResponse,
|
|
16751
14943
|
SchemeKey: SchemeKey,
|
|
16752
14944
|
StatisticItem: StatisticItem,
|
|
16753
14945
|
RangeOriginPullRule: RangeOriginPullRule,
|
|
@@ -16755,7 +14947,6 @@ module.exports = {
|
|
|
16755
14947
|
AdvanceCacheRule: AdvanceCacheRule,
|
|
16756
14948
|
DescribeIpStatusResponse: DescribeIpStatusResponse,
|
|
16757
14949
|
AccessControl: AccessControl,
|
|
16758
|
-
ScdnErrorPage: ScdnErrorPage,
|
|
16759
14950
|
CacheKey: CacheKey,
|
|
16760
14951
|
UrlRedirect: UrlRedirect,
|
|
16761
14952
|
DownstreamCapping: DownstreamCapping,
|
|
@@ -16764,7 +14955,7 @@ module.exports = {
|
|
|
16764
14955
|
KeyRule: KeyRule,
|
|
16765
14956
|
ParamFilterRule: ParamFilterRule,
|
|
16766
14957
|
CappingRule: CappingRule,
|
|
16767
|
-
|
|
14958
|
+
PushTask: PushTask,
|
|
16768
14959
|
AutoGuard: AutoGuard,
|
|
16769
14960
|
ListClsLogTopicsRequest: ListClsLogTopicsRequest,
|
|
16770
14961
|
Seo: Seo,
|
|
@@ -16773,12 +14964,12 @@ module.exports = {
|
|
|
16773
14964
|
RegionMapRelation: RegionMapRelation,
|
|
16774
14965
|
PurgePathCacheRequest: PurgePathCacheRequest,
|
|
16775
14966
|
ModifyDomainConfigResponse: ModifyDomainConfigResponse,
|
|
16776
|
-
|
|
14967
|
+
Quic: Quic,
|
|
16777
14968
|
CdnData: CdnData,
|
|
16778
14969
|
PurgeUrlsCacheRequest: PurgeUrlsCacheRequest,
|
|
16779
14970
|
OriginPullOptimization: OriginPullOptimization,
|
|
16780
14971
|
ErrorPage: ErrorPage,
|
|
16781
|
-
|
|
14972
|
+
DeleteCdnDomainRequest: DeleteCdnDomainRequest,
|
|
16782
14973
|
ReportData: ReportData,
|
|
16783
14974
|
StartCdnDomainResponse: StartCdnDomainResponse,
|
|
16784
14975
|
DescribePushQuotaRequest: DescribePushQuotaRequest,
|
|
@@ -16801,18 +14992,15 @@ module.exports = {
|
|
|
16801
14992
|
SearchClsLogRequest: SearchClsLogRequest,
|
|
16802
14993
|
AdvanceConfig: AdvanceConfig,
|
|
16803
14994
|
AwsPrivateAccess: AwsPrivateAccess,
|
|
16804
|
-
|
|
14995
|
+
ManageClsTopicDomainsResponse: ManageClsTopicDomainsResponse,
|
|
16805
14996
|
VideoSeek: VideoSeek,
|
|
16806
14997
|
Compatibility: Compatibility,
|
|
16807
|
-
|
|
16808
|
-
|
|
16809
|
-
ScdnAclGroup: ScdnAclGroup,
|
|
16810
|
-
ScdnWafRule: ScdnWafRule,
|
|
14998
|
+
ModifyDomainConfigRequest: ModifyDomainConfigRequest,
|
|
14999
|
+
Tag: Tag,
|
|
16811
15000
|
ClsSearchLogs: ClsSearchLogs,
|
|
16812
15001
|
DescribeUrlViolationsResponse: DescribeUrlViolationsResponse,
|
|
16813
15002
|
IpFilter: IpFilter,
|
|
16814
|
-
|
|
16815
|
-
ScdnDdosConfig: ScdnDdosConfig,
|
|
15003
|
+
UpdatePayTypeRequest: UpdatePayTypeRequest,
|
|
16816
15004
|
DescribePurgeTasksResponse: DescribePurgeTasksResponse,
|
|
16817
15005
|
OriginAuthentication: OriginAuthentication,
|
|
16818
15006
|
ErrorPageRule: ErrorPageRule,
|
|
@@ -16825,12 +15013,9 @@ module.exports = {
|
|
|
16825
15013
|
DescribeCdnDataRequest: DescribeCdnDataRequest,
|
|
16826
15014
|
ExtraLogset: ExtraLogset,
|
|
16827
15015
|
CacheTagKey: CacheTagKey,
|
|
16828
|
-
Quic: Quic,
|
|
16829
15016
|
DescribeDomainsRequest: DescribeDomainsRequest,
|
|
16830
15017
|
OfflineCache: OfflineCache,
|
|
16831
|
-
UrlRedirectRule: UrlRedirectRule,
|
|
16832
15018
|
HTTPHeader: HTTPHeader,
|
|
16833
15019
|
IpFilterPathRule: IpFilterPathRule,
|
|
16834
|
-
ScdnAclRule: ScdnAclRule,
|
|
16835
15020
|
|
|
16836
15021
|
}
|