tencentcloud-sdk-nodejs-intl-en 3.0.1373 → 3.0.1374
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tencentcloud/as/v20180419/as_client.js +3 -2
- package/tencentcloud/as/v20180419/models.js +103 -87
- package/tencentcloud/billing/v20180709/billing_client.js +15 -1
- package/tencentcloud/billing/v20180709/models.js +237 -44
- package/tencentcloud/cdb/v20170320/models.js +8 -8
- package/tencentcloud/cdn/v20180606/cdn_client.js +15 -11
- package/tencentcloud/cdn/v20180606/models.js +319 -80
- package/tencentcloud/cls/v20201016/cls_client.js +1709 -374
- package/tencentcloud/cls/v20201016/models.js +23480 -6683
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cwp/v20180228/cwp_client.js +615 -350
- package/tencentcloud/cwp/v20180228/models.js +10317 -5290
- package/tencentcloud/cynosdb/v20190107/models.js +305 -286
- package/tencentcloud/faceid/v20180301/models.js +29 -12
- package/tencentcloud/iai/v20200303/iai_client.js +1 -1
- package/tencentcloud/mna/v20210119/models.js +2 -2
- package/tencentcloud/mongodb/v20190725/models.js +12 -12
- package/tencentcloud/rum/v20210622/models.js +16 -16
- package/tencentcloud/rum/v20210622/rum_client.js +1 -1
- package/tencentcloud/scf/v20180416/models.js +2 -2
- package/tencentcloud/tat/v20201028/models.js +56 -47
- package/tencentcloud/tcsas/v20250106/models.js +10772 -7283
- package/tencentcloud/tcsas/v20250106/tcsas_client.js +612 -324
- package/tencentcloud/tcss/v20201101/models.js +7275 -2457
- package/tencentcloud/tcss/v20201101/tcss_client.js +2328 -2021
- package/tencentcloud/teo/v20220901/models.js +880 -153
- package/tencentcloud/teo/v20220901/teo_client.js +103 -47
- package/tencentcloud/vod/v20180717/models.js +693 -229
- package/tencentcloud/vod/v20180717/vod_client.js +24 -6
|
@@ -545,6 +545,12 @@ class AdaptiveFrequencyControl extends AbstractModel {
|
|
|
545
545
|
*/
|
|
546
546
|
this.Enabled = null;
|
|
547
547
|
|
|
548
|
+
/**
|
|
549
|
+
* Rule ID of adaptive frequency control, returned as an output parameter.
|
|
550
|
+
* @type {string || null}
|
|
551
|
+
*/
|
|
552
|
+
this.Id = null;
|
|
553
|
+
|
|
548
554
|
/**
|
|
549
555
|
* The restriction level of adaptive frequency control. required when Enabled is on. valid values: <li>Loose: Loose</li><li>Moderate: Moderate</li><li>Strict: Strict</li>.
|
|
550
556
|
* @type {string || null}
|
|
@@ -567,6 +573,7 @@ class AdaptiveFrequencyControl extends AbstractModel {
|
|
|
567
573
|
return;
|
|
568
574
|
}
|
|
569
575
|
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
576
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
570
577
|
this.Sensitivity = 'Sensitivity' in params ? params.Sensitivity : null;
|
|
571
578
|
|
|
572
579
|
if (params.Action) {
|
|
@@ -1681,6 +1688,34 @@ class DeleteSecurityAPIResourceRequest extends AbstractModel {
|
|
|
1681
1688
|
}
|
|
1682
1689
|
}
|
|
1683
1690
|
|
|
1691
|
+
/**
|
|
1692
|
+
* Origin server uninstallation config.
|
|
1693
|
+
* @class
|
|
1694
|
+
*/
|
|
1695
|
+
class ShieldParameters extends AbstractModel {
|
|
1696
|
+
constructor(){
|
|
1697
|
+
super();
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* Origin server uninstallation space ID.
|
|
1701
|
+
* @type {string || null}
|
|
1702
|
+
*/
|
|
1703
|
+
this.ShieldSpaceId = null;
|
|
1704
|
+
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* @private
|
|
1709
|
+
*/
|
|
1710
|
+
deserialize(params) {
|
|
1711
|
+
if (!params) {
|
|
1712
|
+
return;
|
|
1713
|
+
}
|
|
1714
|
+
this.ShieldSpaceId = 'ShieldSpaceId' in params ? params.ShieldSpaceId : null;
|
|
1715
|
+
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1684
1719
|
/**
|
|
1685
1720
|
* Region policy configuration.
|
|
1686
1721
|
* @class
|
|
@@ -2735,56 +2770,37 @@ class CreateRealtimeLogDeliveryTaskRequest extends AbstractModel {
|
|
|
2735
2770
|
this.ZoneId = null;
|
|
2736
2771
|
|
|
2737
2772
|
/**
|
|
2738
|
-
*
|
|
2773
|
+
* Data shipping area. Available values:<ul><li>mainland: within the Chinese mainland;</li><li>overseas: global (excluding the Chinese mainland).</li></ul>
|
|
2739
2774
|
* @type {string || null}
|
|
2740
2775
|
*/
|
|
2741
|
-
this.
|
|
2776
|
+
this.Area = null;
|
|
2742
2777
|
|
|
2743
2778
|
/**
|
|
2744
|
-
*
|
|
2745
|
-
<li>cls: push to tencent cloud cls.</li>.
|
|
2746
|
-
<li>custom_endpoint: push to a custom HTTP(S) address.</li>.
|
|
2747
|
-
<li>s3: push to an AWS s3-compatible bucket address.</li>.
|
|
2748
|
-
<li>log_analysis: pushes to EdgeOne log analytics. this task type only supports the "site acceleration log" data delivery type.</li>.
|
|
2779
|
+
* Data delivery type. Available values: <ul><li>domain: site acceleration log;</li><li>application: four-layer proxy logs;</li><li>function: edge function logs;</li><li>web-rateLiming: rate limit and CC attack defense log;</li><li>web-attack: managed rule log;</li><li>web-rule: custom rule logs;</li><li>web-bot: bot management log.</li></ul>
|
|
2749
2780
|
* @type {string || null}
|
|
2750
2781
|
*/
|
|
2751
|
-
this.
|
|
2782
|
+
this.LogType = null;
|
|
2752
2783
|
|
|
2753
2784
|
/**
|
|
2754
|
-
*
|
|
2755
|
-
|
|
2756
|
-
<Li>Specifies the l4 proxy instance: sid-2s69eb5wcms7.</li>.
|
|
2757
|
-
<Li>Edge function instance: test-zone-2mxigizoh9l9-1257626257.</li>.
|
|
2758
|
-
* @type {Array.<string> || null}
|
|
2785
|
+
* Name of a real-time log delivery task, which can contain up to 200 characters, including digits, English letters, hyphens (-) and underscores (_).
|
|
2786
|
+
* @type {string || null}
|
|
2759
2787
|
*/
|
|
2760
|
-
this.
|
|
2788
|
+
this.TaskName = null;
|
|
2761
2789
|
|
|
2762
2790
|
/**
|
|
2763
|
-
*
|
|
2764
|
-
<li>domain: specifies the site acceleration logs.</li>.
|
|
2765
|
-
<li>application: four-layer proxy logs.</li>.
|
|
2766
|
-
<Li>Function: specifies the edge function logs.</li>.
|
|
2767
|
-
<li>web-rateLiming: specifies the rate limit and CC attack defense logs.</li>.
|
|
2768
|
-
<li>web-attack: managed rule logs;</li>.
|
|
2769
|
-
<li>web-rule: custom rule logs;</li>.
|
|
2770
|
-
<li>web-bot: Bot management logs.</li>
|
|
2791
|
+
* Type of a real-time log shipping task. Valid values:<ul><li>cls: push to Tencent Cloud CLS;</li><li>custom_endpoint: push to a custom HTTP(S) address;</li><li>s3: push to an AWS S3-compatible bucket address;</li><li>log_analysis: push to EdgeOne log analytics. Only supported when LogType = domain or web-attack.</li></ul>
|
|
2771
2792
|
* @type {string || null}
|
|
2772
2793
|
*/
|
|
2773
|
-
this.
|
|
2794
|
+
this.TaskType = null;
|
|
2774
2795
|
|
|
2775
2796
|
/**
|
|
2776
|
-
*
|
|
2777
|
-
|
|
2778
|
-
<li>overseas: global (excluding the Chinese mainland).</li>
|
|
2779
|
-
* @type {string || null}
|
|
2797
|
+
* List of entities corresponding to the real-time log delivery task. Example values are as follows: <ul><li>Layer 7 domain: domain.example.com</li><li>L4 proxy instance: sid-2s69eb5wcms7</li><li>Cloud function instance: test-zone-2mxigizoh9l9-1257626257</li></ul>
|
|
2798
|
+
* @type {Array.<string> || null}
|
|
2780
2799
|
*/
|
|
2781
|
-
this.
|
|
2800
|
+
this.EntityList = null;
|
|
2782
2801
|
|
|
2783
2802
|
/**
|
|
2784
|
-
* Predefined fields for delivery.
|
|
2785
|
-
<Li>[Site acceleration log (l7 access log)](https://www.tencentcloud.com/document/product/1552/105791?from_cn_redirect=1)</li>.
|
|
2786
|
-
<Li><A href="https://www.tencentcloud.com/document/product/1552/105792?from_cn_redirect=1">four-layer proxy logs</a></li>.
|
|
2787
|
-
<Li>Specifies the edge function logs (https://www.tencentcloud.com/document/product/1552/115585?from_cn_redirect=1).</li>.
|
|
2803
|
+
* Predefined fields for delivery. Value reference: <ul><li>[Site acceleration log (Layer 7 Access Logs)](https://www.tencentcloud.com/document/product/1552/105791?from_cn_redirect=1)</li><li>[Four-layer proxy logs](https://www.tencentcloud.com/document/product/1552/105792?from_cn_redirect=1)</li><li>[Edge Function logs](https://www.tencentcloud.com/document/product/1552/115585?from_cn_redirect=1)</li></ul>
|
|
2788
2804
|
* @type {Array.<string> || null}
|
|
2789
2805
|
*/
|
|
2790
2806
|
this.Fields = null;
|
|
@@ -2808,9 +2824,7 @@ class CreateRealtimeLogDeliveryTaskRequest extends AbstractModel {
|
|
|
2808
2824
|
this.Sample = null;
|
|
2809
2825
|
|
|
2810
2826
|
/**
|
|
2811
|
-
* Output format for log delivery.
|
|
2812
|
-
<li>When TaskType is 'custom_endpoint', the default format is an array of JSON objects, with each JSON object representing a log entry;</li>.
|
|
2813
|
-
<li>When TaskType is 's3', the default format is JSON Lines;</li>specifically, when TaskType is 'cls' or 'log_analysis', the only allowed value for LogFormat.FormatType is 'JSON', and other parameters in LogFormat will be ignored. it is recommended not to transfer LogFormat.
|
|
2827
|
+
* Output format for log delivery. If left empty, the default format is used. The default format logic is as follows:<ul><li>When TaskType is 'custom_endpoint', the default format is an array of JSON objects, each JSON object represents a log entry;</li><li>When TaskType is 's3', the default format is JSON Lines;</li></ul>Particularly, when TaskType is 'cls' or 'log_analysis', the only allowed value for LogFormat.FormatType is 'json', and other parameters in LogFormat will be ignored. It is recommended not to transfer LogFormat.
|
|
2814
2828
|
* @type {LogFormat || null}
|
|
2815
2829
|
*/
|
|
2816
2830
|
this.LogFormat = null;
|
|
@@ -2843,11 +2857,11 @@ class CreateRealtimeLogDeliveryTaskRequest extends AbstractModel {
|
|
|
2843
2857
|
return;
|
|
2844
2858
|
}
|
|
2845
2859
|
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
2860
|
+
this.Area = 'Area' in params ? params.Area : null;
|
|
2861
|
+
this.LogType = 'LogType' in params ? params.LogType : null;
|
|
2846
2862
|
this.TaskName = 'TaskName' in params ? params.TaskName : null;
|
|
2847
2863
|
this.TaskType = 'TaskType' in params ? params.TaskType : null;
|
|
2848
2864
|
this.EntityList = 'EntityList' in params ? params.EntityList : null;
|
|
2849
|
-
this.LogType = 'LogType' in params ? params.LogType : null;
|
|
2850
|
-
this.Area = 'Area' in params ? params.Area : null;
|
|
2851
2865
|
this.Fields = 'Fields' in params ? params.Fields : null;
|
|
2852
2866
|
|
|
2853
2867
|
if (params.CustomFields) {
|
|
@@ -3303,7 +3317,7 @@ class EdgeKVGetRequest extends AbstractModel {
|
|
|
3303
3317
|
this.Namespace = null;
|
|
3304
3318
|
|
|
3305
3319
|
/**
|
|
3306
|
-
* Name list. Maximum array length is 20. Each key cannot be empty, with a length of 1-512 characters
|
|
3320
|
+
* Name list. Maximum array length is 20. Each key cannot be empty, with a length of 1-512 characters, and supports valid UTF-8 characters. When querying a single key, input an array with one element.
|
|
3307
3321
|
* @type {Array.<string> || null}
|
|
3308
3322
|
*/
|
|
3309
3323
|
this.Keys = null;
|
|
@@ -4237,7 +4251,7 @@ Note: NoCheck means the health check policy is not enabled.
|
|
|
4237
4251
|
this.Port = null;
|
|
4238
4252
|
|
|
4239
4253
|
/**
|
|
4240
|
-
* Check frequency, in seconds. It indicates how often a health check task is initiated.
|
|
4254
|
+
* Check frequency, in seconds. It indicates how often a health check task is initiated. Configurable range: 10-600 seconds.
|
|
4241
4255
|
* @type {number || null}
|
|
4242
4256
|
*/
|
|
4243
4257
|
this.Interval = null;
|
|
@@ -6152,50 +6166,18 @@ Note: This field may return null, which indicates a failure to obtain a valid va
|
|
|
6152
6166
|
}
|
|
6153
6167
|
|
|
6154
6168
|
/**
|
|
6155
|
-
*
|
|
6169
|
+
* DeleteFunctionReplica response structure.
|
|
6156
6170
|
* @class
|
|
6157
6171
|
*/
|
|
6158
|
-
class
|
|
6172
|
+
class DeleteFunctionReplicaResponse extends AbstractModel {
|
|
6159
6173
|
constructor(){
|
|
6160
6174
|
super();
|
|
6161
6175
|
|
|
6162
6176
|
/**
|
|
6163
|
-
*
|
|
6164
|
-
<li>`on`: Enable</li>
|
|
6165
|
-
<li>`off`: Disable</li>
|
|
6177
|
+
* 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.
|
|
6166
6178
|
* @type {string || null}
|
|
6167
6179
|
*/
|
|
6168
|
-
this.
|
|
6169
|
-
|
|
6170
|
-
/**
|
|
6171
|
-
* The rule ID, which is only used as an output parameter.
|
|
6172
|
-
* @type {number || null}
|
|
6173
|
-
*/
|
|
6174
|
-
this.RuleID = null;
|
|
6175
|
-
|
|
6176
|
-
/**
|
|
6177
|
-
* The rule ID of JS challenge. default all rules without configuring JS challenge.
|
|
6178
|
-
* @type {Array.<number> || null}
|
|
6179
|
-
*/
|
|
6180
|
-
this.AlgManagedIds = null;
|
|
6181
|
-
|
|
6182
|
-
/**
|
|
6183
|
-
* Rule ID for digit captcha-intl. default is all rules without configuring digit captcha-intl.
|
|
6184
|
-
* @type {Array.<number> || null}
|
|
6185
|
-
*/
|
|
6186
|
-
this.CapManagedIds = null;
|
|
6187
|
-
|
|
6188
|
-
/**
|
|
6189
|
-
* Rule ID for observation. by default, observation is not configured for all rules.
|
|
6190
|
-
* @type {Array.<number> || null}
|
|
6191
|
-
*/
|
|
6192
|
-
this.MonManagedIds = null;
|
|
6193
|
-
|
|
6194
|
-
/**
|
|
6195
|
-
* Rule ID for interception. default to all rules with no configuration interception.
|
|
6196
|
-
* @type {Array.<number> || null}
|
|
6197
|
-
*/
|
|
6198
|
-
this.DropManagedIds = null;
|
|
6180
|
+
this.RequestId = null;
|
|
6199
6181
|
|
|
6200
6182
|
}
|
|
6201
6183
|
|
|
@@ -6206,12 +6188,7 @@ class BotPortraitRule extends AbstractModel {
|
|
|
6206
6188
|
if (!params) {
|
|
6207
6189
|
return;
|
|
6208
6190
|
}
|
|
6209
|
-
this.
|
|
6210
|
-
this.RuleID = 'RuleID' in params ? params.RuleID : null;
|
|
6211
|
-
this.AlgManagedIds = 'AlgManagedIds' in params ? params.AlgManagedIds : null;
|
|
6212
|
-
this.CapManagedIds = 'CapManagedIds' in params ? params.CapManagedIds : null;
|
|
6213
|
-
this.MonManagedIds = 'MonManagedIds' in params ? params.MonManagedIds : null;
|
|
6214
|
-
this.DropManagedIds = 'DropManagedIds' in params ? params.DropManagedIds : null;
|
|
6191
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6215
6192
|
|
|
6216
6193
|
}
|
|
6217
6194
|
}
|
|
@@ -7261,6 +7238,165 @@ class DownloadL4LogsRequest extends AbstractModel {
|
|
|
7261
7238
|
}
|
|
7262
7239
|
}
|
|
7263
7240
|
|
|
7241
|
+
/**
|
|
7242
|
+
* Origin server failover configuration parameter internal structure.
|
|
7243
|
+
* @class
|
|
7244
|
+
*/
|
|
7245
|
+
class SiteFailover extends AbstractModel {
|
|
7246
|
+
constructor(){
|
|
7247
|
+
super();
|
|
7248
|
+
|
|
7249
|
+
/**
|
|
7250
|
+
* Origin server failover type. Valid values:
|
|
7251
|
+
<li>FailoverToHost: Fail back to the specified IP/domain.</li>
|
|
7252
|
+
<li>FailoverToCOS: Fail back to Tencent Cloud COS;</li>
|
|
7253
|
+
<li>FailoverToS3CompatibleObjectStorage: Fail over to S3-compatible object storage;</li>
|
|
7254
|
+
<li> FailoverRedirectToURL: Redirect to the specified URL.</li>
|
|
7255
|
+
<li>FailoverCustomResponsePage: Use a custom response page.</li>
|
|
7256
|
+
* @type {string || null}
|
|
7257
|
+
*/
|
|
7258
|
+
this.Mode = null;
|
|
7259
|
+
|
|
7260
|
+
/**
|
|
7261
|
+
* Origin server address, divided into following scenarios based on the Mode value:
|
|
7262
|
+
<li>When Mode = FailoverToHost, specify an IPV4 address, an IPV6 address, or a domain name;</li>
|
|
7263
|
+
<li>When Mode = FailoverToCOS, specify the access domain name of the COS bucket;</li>
|
|
7264
|
+
<li>When Mode = FailoverToS3CompatibleObjectStorage, specify the access domain of the S3 bucket.</li>
|
|
7265
|
+
* @type {string || null}
|
|
7266
|
+
*/
|
|
7267
|
+
this.Origin = null;
|
|
7268
|
+
|
|
7269
|
+
/**
|
|
7270
|
+
* Protocol configuration. This parameter is required when Mode value is FailoverToHost. Valid values:
|
|
7271
|
+
<li>http: use HTTP protocol;</li>
|
|
7272
|
+
<li>https: Using HTTPS protocol;</li>
|
|
7273
|
+
<li>follow: protocol following.</li>
|
|
7274
|
+
* @type {string || null}
|
|
7275
|
+
*/
|
|
7276
|
+
this.OriginProtocol = null;
|
|
7277
|
+
|
|
7278
|
+
/**
|
|
7279
|
+
* HTTP origin port, value ranges from 1 to 65535. This parameter is required when the origin-pull protocol OriginProtocol is http or follow.
|
|
7280
|
+
* @type {number || null}
|
|
7281
|
+
*/
|
|
7282
|
+
this.HTTPOriginPort = null;
|
|
7283
|
+
|
|
7284
|
+
/**
|
|
7285
|
+
* HTTPS origin port, value ranges from 1–65535. This parameter is required when the origin-pull protocol OriginProtocol is https or follow.
|
|
7286
|
+
* @type {number || null}
|
|
7287
|
+
*/
|
|
7288
|
+
this.HTTPSOriginPort = null;
|
|
7289
|
+
|
|
7290
|
+
/**
|
|
7291
|
+
* Host Header rewrite configuration for origin-pull
|
|
7292
|
+
* @type {HostHeaderParameters || null}
|
|
7293
|
+
*/
|
|
7294
|
+
this.UpstreamHostHeader = null;
|
|
7295
|
+
|
|
7296
|
+
/**
|
|
7297
|
+
* Origin-pull URL rewrite configuration.
|
|
7298
|
+
* @type {UpstreamURLRewriteParameters || null}
|
|
7299
|
+
*/
|
|
7300
|
+
this.UpstreamURLRewrite = null;
|
|
7301
|
+
|
|
7302
|
+
/**
|
|
7303
|
+
* Origin Requests parameter configuration.
|
|
7304
|
+
* @type {UpstreamRequestParameters || null}
|
|
7305
|
+
*/
|
|
7306
|
+
this.UpstreamRequestParameters = null;
|
|
7307
|
+
|
|
7308
|
+
/**
|
|
7309
|
+
* HTTP2 origin-pull configuration parameters.
|
|
7310
|
+
* @type {UpstreamHTTP2Parameters || null}
|
|
7311
|
+
*/
|
|
7312
|
+
this.UpstreamHTTP2Parameters = null;
|
|
7313
|
+
|
|
7314
|
+
/**
|
|
7315
|
+
* Specify whether access to the private object storage origin server is allowed. This parameter is required when the origin server type is FailoverToCOS or FailoverToS3CompatibleObjectStorage. Valid values:
|
|
7316
|
+
<li>on: Enable private authentication;</li>
|
|
7317
|
+
<li>off: Disable private authentication.</li>
|
|
7318
|
+
* @type {string || null}
|
|
7319
|
+
*/
|
|
7320
|
+
this.PrivateAccess = null;
|
|
7321
|
+
|
|
7322
|
+
/**
|
|
7323
|
+
* Private authentication parameter. This parameter is valid only when Mode = FailoverToS3CompatibleObjectStorage and PrivateAccess = on.
|
|
7324
|
+
* @type {OriginPrivateParameters || null}
|
|
7325
|
+
*/
|
|
7326
|
+
this.PrivateParameters = null;
|
|
7327
|
+
|
|
7328
|
+
/**
|
|
7329
|
+
* Redirect target URL. This parameter is required when Mode has a value of FailoverRedirectToURL.
|
|
7330
|
+
* @type {string || null}
|
|
7331
|
+
*/
|
|
7332
|
+
this.RedirectURL = null;
|
|
7333
|
+
|
|
7334
|
+
/**
|
|
7335
|
+
* Response page ID. This parameter is required when Mode value is FailoverCustomResponsePage.
|
|
7336
|
+
* @type {string || null}
|
|
7337
|
+
*/
|
|
7338
|
+
this.ResponsePageId = null;
|
|
7339
|
+
|
|
7340
|
+
/**
|
|
7341
|
+
* Response status code. This parameter is required when Mode is a value of FailoverRedirectToURL or FailoverCustomResponsePage. Valid values:
|
|
7342
|
+
<li>When Mode = FailoverRedirectToURL, the parameter value is one of 301, 302, 303, 307, 308.</li>
|
|
7343
|
+
<li>When Mode = FailoverCustomResponsePage, the parameter value is one of 400, 403, 404, 405, 414, 416, 451, 500, 501, 502, 503, 504.</li>
|
|
7344
|
+
* @type {number || null}
|
|
7345
|
+
*/
|
|
7346
|
+
this.StatusCode = null;
|
|
7347
|
+
|
|
7348
|
+
}
|
|
7349
|
+
|
|
7350
|
+
/**
|
|
7351
|
+
* @private
|
|
7352
|
+
*/
|
|
7353
|
+
deserialize(params) {
|
|
7354
|
+
if (!params) {
|
|
7355
|
+
return;
|
|
7356
|
+
}
|
|
7357
|
+
this.Mode = 'Mode' in params ? params.Mode : null;
|
|
7358
|
+
this.Origin = 'Origin' in params ? params.Origin : null;
|
|
7359
|
+
this.OriginProtocol = 'OriginProtocol' in params ? params.OriginProtocol : null;
|
|
7360
|
+
this.HTTPOriginPort = 'HTTPOriginPort' in params ? params.HTTPOriginPort : null;
|
|
7361
|
+
this.HTTPSOriginPort = 'HTTPSOriginPort' in params ? params.HTTPSOriginPort : null;
|
|
7362
|
+
|
|
7363
|
+
if (params.UpstreamHostHeader) {
|
|
7364
|
+
let obj = new HostHeaderParameters();
|
|
7365
|
+
obj.deserialize(params.UpstreamHostHeader)
|
|
7366
|
+
this.UpstreamHostHeader = obj;
|
|
7367
|
+
}
|
|
7368
|
+
|
|
7369
|
+
if (params.UpstreamURLRewrite) {
|
|
7370
|
+
let obj = new UpstreamURLRewriteParameters();
|
|
7371
|
+
obj.deserialize(params.UpstreamURLRewrite)
|
|
7372
|
+
this.UpstreamURLRewrite = obj;
|
|
7373
|
+
}
|
|
7374
|
+
|
|
7375
|
+
if (params.UpstreamRequestParameters) {
|
|
7376
|
+
let obj = new UpstreamRequestParameters();
|
|
7377
|
+
obj.deserialize(params.UpstreamRequestParameters)
|
|
7378
|
+
this.UpstreamRequestParameters = obj;
|
|
7379
|
+
}
|
|
7380
|
+
|
|
7381
|
+
if (params.UpstreamHTTP2Parameters) {
|
|
7382
|
+
let obj = new UpstreamHTTP2Parameters();
|
|
7383
|
+
obj.deserialize(params.UpstreamHTTP2Parameters)
|
|
7384
|
+
this.UpstreamHTTP2Parameters = obj;
|
|
7385
|
+
}
|
|
7386
|
+
this.PrivateAccess = 'PrivateAccess' in params ? params.PrivateAccess : null;
|
|
7387
|
+
|
|
7388
|
+
if (params.PrivateParameters) {
|
|
7389
|
+
let obj = new OriginPrivateParameters();
|
|
7390
|
+
obj.deserialize(params.PrivateParameters)
|
|
7391
|
+
this.PrivateParameters = obj;
|
|
7392
|
+
}
|
|
7393
|
+
this.RedirectURL = 'RedirectURL' in params ? params.RedirectURL : null;
|
|
7394
|
+
this.ResponsePageId = 'ResponsePageId' in params ? params.ResponsePageId : null;
|
|
7395
|
+
this.StatusCode = 'StatusCode' in params ? params.StatusCode : null;
|
|
7396
|
+
|
|
7397
|
+
}
|
|
7398
|
+
}
|
|
7399
|
+
|
|
7264
7400
|
/**
|
|
7265
7401
|
* Describes the returned site information.
|
|
7266
7402
|
* @class
|
|
@@ -10903,6 +11039,56 @@ class EdgeKVDeleteResponse extends AbstractModel {
|
|
|
10903
11039
|
}
|
|
10904
11040
|
}
|
|
10905
11041
|
|
|
11042
|
+
/**
|
|
11043
|
+
* DescribeFunctionReplicas response structure.
|
|
11044
|
+
* @class
|
|
11045
|
+
*/
|
|
11046
|
+
class DescribeFunctionReplicasResponse extends AbstractModel {
|
|
11047
|
+
constructor(){
|
|
11048
|
+
super();
|
|
11049
|
+
|
|
11050
|
+
/**
|
|
11051
|
+
* Total number of edge function replicas.
|
|
11052
|
+
* @type {number || null}
|
|
11053
|
+
*/
|
|
11054
|
+
this.TotalCount = null;
|
|
11055
|
+
|
|
11056
|
+
/**
|
|
11057
|
+
* Edge function replica list.
|
|
11058
|
+
* @type {Array.<FunctionReplica> || null}
|
|
11059
|
+
*/
|
|
11060
|
+
this.FunctionReplicas = null;
|
|
11061
|
+
|
|
11062
|
+
/**
|
|
11063
|
+
* 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.
|
|
11064
|
+
* @type {string || null}
|
|
11065
|
+
*/
|
|
11066
|
+
this.RequestId = null;
|
|
11067
|
+
|
|
11068
|
+
}
|
|
11069
|
+
|
|
11070
|
+
/**
|
|
11071
|
+
* @private
|
|
11072
|
+
*/
|
|
11073
|
+
deserialize(params) {
|
|
11074
|
+
if (!params) {
|
|
11075
|
+
return;
|
|
11076
|
+
}
|
|
11077
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
11078
|
+
|
|
11079
|
+
if (params.FunctionReplicas) {
|
|
11080
|
+
this.FunctionReplicas = new Array();
|
|
11081
|
+
for (let z in params.FunctionReplicas) {
|
|
11082
|
+
let obj = new FunctionReplica();
|
|
11083
|
+
obj.deserialize(params.FunctionReplicas[z]);
|
|
11084
|
+
this.FunctionReplicas.push(obj);
|
|
11085
|
+
}
|
|
11086
|
+
}
|
|
11087
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11088
|
+
|
|
11089
|
+
}
|
|
11090
|
+
}
|
|
11091
|
+
|
|
10906
11092
|
/**
|
|
10907
11093
|
* CreateSecurityAPIService response structure.
|
|
10908
11094
|
* @class
|
|
@@ -12138,6 +12324,62 @@ class ModifySecurityPolicyRequest extends AbstractModel {
|
|
|
12138
12324
|
}
|
|
12139
12325
|
}
|
|
12140
12326
|
|
|
12327
|
+
/**
|
|
12328
|
+
* CreateFunctionReplica request structure.
|
|
12329
|
+
* @class
|
|
12330
|
+
*/
|
|
12331
|
+
class CreateFunctionReplicaRequest extends AbstractModel {
|
|
12332
|
+
constructor(){
|
|
12333
|
+
super();
|
|
12334
|
+
|
|
12335
|
+
/**
|
|
12336
|
+
* Zone ID.
|
|
12337
|
+
* @type {string || null}
|
|
12338
|
+
*/
|
|
12339
|
+
this.ZoneId = null;
|
|
12340
|
+
|
|
12341
|
+
/**
|
|
12342
|
+
* Function ID.
|
|
12343
|
+
* @type {string || null}
|
|
12344
|
+
*/
|
|
12345
|
+
this.FunctionId = null;
|
|
12346
|
+
|
|
12347
|
+
/**
|
|
12348
|
+
* Edge function copy name. Limit to enter 1-50 characters. Allowed characters are a-z, 0-9, and -. The - cannot be registered alone or used continuously, and cannot be placed at the beginning or the end. Copy names under the same FunctionId must be unique.
|
|
12349
|
+
* @type {string || null}
|
|
12350
|
+
*/
|
|
12351
|
+
this.ReplicaName = null;
|
|
12352
|
+
|
|
12353
|
+
/**
|
|
12354
|
+
* Edge function replica content. Currently only supports JavaScript code. Supports a maximum of 5 MB.
|
|
12355
|
+
* @type {string || null}
|
|
12356
|
+
*/
|
|
12357
|
+
this.Content = null;
|
|
12358
|
+
|
|
12359
|
+
/**
|
|
12360
|
+
* Edge function replica description. Supports up to 50 characters.
|
|
12361
|
+
* @type {string || null}
|
|
12362
|
+
*/
|
|
12363
|
+
this.Remark = null;
|
|
12364
|
+
|
|
12365
|
+
}
|
|
12366
|
+
|
|
12367
|
+
/**
|
|
12368
|
+
* @private
|
|
12369
|
+
*/
|
|
12370
|
+
deserialize(params) {
|
|
12371
|
+
if (!params) {
|
|
12372
|
+
return;
|
|
12373
|
+
}
|
|
12374
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
12375
|
+
this.FunctionId = 'FunctionId' in params ? params.FunctionId : null;
|
|
12376
|
+
this.ReplicaName = 'ReplicaName' in params ? params.ReplicaName : null;
|
|
12377
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
12378
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
12379
|
+
|
|
12380
|
+
}
|
|
12381
|
+
}
|
|
12382
|
+
|
|
12141
12383
|
/**
|
|
12142
12384
|
* ModifySharedCNAME response structure.
|
|
12143
12385
|
* @class
|
|
@@ -14009,9 +14251,9 @@ Note: Up to 20 ports can be input for each rule.
|
|
|
14009
14251
|
this.OriginType = null;
|
|
14010
14252
|
|
|
14011
14253
|
/**
|
|
14012
|
-
*
|
|
14254
|
+
* Details of the origin server:
|
|
14013
14255
|
<li>When OriginType is custom, it indicates one or more origin servers, such as `["8.8.8.8","9.9.9.9"]` or `OriginValue=["test.com"]`;</li>
|
|
14014
|
-
<li>When OriginType is loadbalancer, it indicates a
|
|
14256
|
+
<li>When OriginType is loadbalancer, it indicates a load balancer, such as ["lb-3pbiw4d9iqz0"];</li>
|
|
14015
14257
|
<li>When OriginType is origins, it requires one and only one element, indicating the origin server group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li>
|
|
14016
14258
|
* @type {Array.<string> || null}
|
|
14017
14259
|
*/
|
|
@@ -14053,7 +14295,7 @@ Note: Up to 20 ports can be input for each rule.
|
|
|
14053
14295
|
this.SessionPersist = null;
|
|
14054
14296
|
|
|
14055
14297
|
/**
|
|
14056
|
-
* Duration for session persistence.
|
|
14298
|
+
* Duration for session persistence, in seconds. The value takes effect only when SessionPersist is true.
|
|
14057
14299
|
* @type {number || null}
|
|
14058
14300
|
*/
|
|
14059
14301
|
this.SessionPersistTime = null;
|
|
@@ -14700,13 +14942,13 @@ class DDoSAttackEvent extends AbstractModel {
|
|
|
14700
14942
|
this.AttackStatus = null;
|
|
14701
14943
|
|
|
14702
14944
|
/**
|
|
14703
|
-
*
|
|
14945
|
+
* Maximum bandwidth of the attack in bps.
|
|
14704
14946
|
* @type {number || null}
|
|
14705
14947
|
*/
|
|
14706
14948
|
this.AttackMaxBandWidth = null;
|
|
14707
14949
|
|
|
14708
14950
|
/**
|
|
14709
|
-
*
|
|
14951
|
+
* Peak attack packet rate, unit: pps.
|
|
14710
14952
|
* @type {number || null}
|
|
14711
14953
|
*/
|
|
14712
14954
|
this.AttackPacketMaxRate = null;
|
|
@@ -15078,6 +15320,12 @@ class BandwidthAbuseDefense extends AbstractModel {
|
|
|
15078
15320
|
*/
|
|
15079
15321
|
this.Enabled = null;
|
|
15080
15322
|
|
|
15323
|
+
/**
|
|
15324
|
+
* Rule ID of traffic anti-fraud, returned as an output parameter.
|
|
15325
|
+
* @type {string || null}
|
|
15326
|
+
*/
|
|
15327
|
+
this.Id = null;
|
|
15328
|
+
|
|
15081
15329
|
/**
|
|
15082
15330
|
* Bandwidth abuse protection (applicable to chinese mainland) handling method. required when Enabled is on. valid values for SecurityAction Name: <li>Monitor: observe;</li> <li>Deny: block;</li> <li>Challenge: Challenge, where ChallengeActionParameters.Name only supports JSChallenge.</li>.
|
|
15083
15331
|
* @type {SecurityAction || null}
|
|
@@ -15094,6 +15342,7 @@ class BandwidthAbuseDefense extends AbstractModel {
|
|
|
15094
15342
|
return;
|
|
15095
15343
|
}
|
|
15096
15344
|
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
15345
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
15097
15346
|
|
|
15098
15347
|
if (params.Action) {
|
|
15099
15348
|
let obj = new SecurityAction();
|
|
@@ -16258,6 +16507,48 @@ class ModifyApplicationProxyRuleResponse extends AbstractModel {
|
|
|
16258
16507
|
}
|
|
16259
16508
|
}
|
|
16260
16509
|
|
|
16510
|
+
/**
|
|
16511
|
+
* DeleteFunctionReplica request structure.
|
|
16512
|
+
* @class
|
|
16513
|
+
*/
|
|
16514
|
+
class DeleteFunctionReplicaRequest extends AbstractModel {
|
|
16515
|
+
constructor(){
|
|
16516
|
+
super();
|
|
16517
|
+
|
|
16518
|
+
/**
|
|
16519
|
+
* Zone ID.
|
|
16520
|
+
* @type {string || null}
|
|
16521
|
+
*/
|
|
16522
|
+
this.ZoneId = null;
|
|
16523
|
+
|
|
16524
|
+
/**
|
|
16525
|
+
* Function ID.
|
|
16526
|
+
* @type {string || null}
|
|
16527
|
+
*/
|
|
16528
|
+
this.FunctionId = null;
|
|
16529
|
+
|
|
16530
|
+
/**
|
|
16531
|
+
* Copy name of the deleted function. Input in the form of a list is supported.
|
|
16532
|
+
* @type {Array.<string> || null}
|
|
16533
|
+
*/
|
|
16534
|
+
this.ReplicaNames = null;
|
|
16535
|
+
|
|
16536
|
+
}
|
|
16537
|
+
|
|
16538
|
+
/**
|
|
16539
|
+
* @private
|
|
16540
|
+
*/
|
|
16541
|
+
deserialize(params) {
|
|
16542
|
+
if (!params) {
|
|
16543
|
+
return;
|
|
16544
|
+
}
|
|
16545
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
16546
|
+
this.FunctionId = 'FunctionId' in params ? params.FunctionId : null;
|
|
16547
|
+
this.ReplicaNames = 'ReplicaNames' in params ? params.ReplicaNames : null;
|
|
16548
|
+
|
|
16549
|
+
}
|
|
16550
|
+
}
|
|
16551
|
+
|
|
16261
16552
|
/**
|
|
16262
16553
|
* DDoS mitigation configuration
|
|
16263
16554
|
* @class
|
|
@@ -17880,6 +18171,34 @@ Default: `source_to_eo`.
|
|
|
17880
18171
|
}
|
|
17881
18172
|
}
|
|
17882
18173
|
|
|
18174
|
+
/**
|
|
18175
|
+
* ModifyFunctionReplica response structure.
|
|
18176
|
+
* @class
|
|
18177
|
+
*/
|
|
18178
|
+
class ModifyFunctionReplicaResponse extends AbstractModel {
|
|
18179
|
+
constructor(){
|
|
18180
|
+
super();
|
|
18181
|
+
|
|
18182
|
+
/**
|
|
18183
|
+
* 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.
|
|
18184
|
+
* @type {string || null}
|
|
18185
|
+
*/
|
|
18186
|
+
this.RequestId = null;
|
|
18187
|
+
|
|
18188
|
+
}
|
|
18189
|
+
|
|
18190
|
+
/**
|
|
18191
|
+
* @private
|
|
18192
|
+
*/
|
|
18193
|
+
deserialize(params) {
|
|
18194
|
+
if (!params) {
|
|
18195
|
+
return;
|
|
18196
|
+
}
|
|
18197
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
18198
|
+
|
|
18199
|
+
}
|
|
18200
|
+
}
|
|
18201
|
+
|
|
17883
18202
|
/**
|
|
17884
18203
|
* Version release record details for the configuration group.
|
|
17885
18204
|
* @class
|
|
@@ -18181,6 +18500,69 @@ class CreateJustInTimeTranscodeTemplateRequest extends AbstractModel {
|
|
|
18181
18500
|
}
|
|
18182
18501
|
}
|
|
18183
18502
|
|
|
18503
|
+
/**
|
|
18504
|
+
* Edge function replica.
|
|
18505
|
+
* @class
|
|
18506
|
+
*/
|
|
18507
|
+
class FunctionReplica extends AbstractModel {
|
|
18508
|
+
constructor(){
|
|
18509
|
+
super();
|
|
18510
|
+
|
|
18511
|
+
/**
|
|
18512
|
+
* Function ID.
|
|
18513
|
+
* @type {string || null}
|
|
18514
|
+
*/
|
|
18515
|
+
this.FunctionId = null;
|
|
18516
|
+
|
|
18517
|
+
/**
|
|
18518
|
+
* Edge function copy name.
|
|
18519
|
+
* @type {string || null}
|
|
18520
|
+
*/
|
|
18521
|
+
this.ReplicaName = null;
|
|
18522
|
+
|
|
18523
|
+
/**
|
|
18524
|
+
* Edge function replica content. Format is JavaScript code.
|
|
18525
|
+
* @type {string || null}
|
|
18526
|
+
*/
|
|
18527
|
+
this.Content = null;
|
|
18528
|
+
|
|
18529
|
+
/**
|
|
18530
|
+
* Edge function replica description.
|
|
18531
|
+
* @type {string || null}
|
|
18532
|
+
*/
|
|
18533
|
+
this.Remark = null;
|
|
18534
|
+
|
|
18535
|
+
/**
|
|
18536
|
+
* Edge function replica creation time.
|
|
18537
|
+
* @type {string || null}
|
|
18538
|
+
*/
|
|
18539
|
+
this.CreatedOn = null;
|
|
18540
|
+
|
|
18541
|
+
/**
|
|
18542
|
+
* Edge function replica last update time.
|
|
18543
|
+
* @type {string || null}
|
|
18544
|
+
*/
|
|
18545
|
+
this.ModifiedOn = null;
|
|
18546
|
+
|
|
18547
|
+
}
|
|
18548
|
+
|
|
18549
|
+
/**
|
|
18550
|
+
* @private
|
|
18551
|
+
*/
|
|
18552
|
+
deserialize(params) {
|
|
18553
|
+
if (!params) {
|
|
18554
|
+
return;
|
|
18555
|
+
}
|
|
18556
|
+
this.FunctionId = 'FunctionId' in params ? params.FunctionId : null;
|
|
18557
|
+
this.ReplicaName = 'ReplicaName' in params ? params.ReplicaName : null;
|
|
18558
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
18559
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
18560
|
+
this.CreatedOn = 'CreatedOn' in params ? params.CreatedOn : null;
|
|
18561
|
+
this.ModifiedOn = 'ModifiedOn' in params ? params.ModifiedOn : null;
|
|
18562
|
+
|
|
18563
|
+
}
|
|
18564
|
+
}
|
|
18565
|
+
|
|
18184
18566
|
/**
|
|
18185
18567
|
* Data items of the statistical curve
|
|
18186
18568
|
* @class
|
|
@@ -18729,23 +19111,23 @@ class ModifyOriginParameters extends AbstractModel {
|
|
|
18729
19111
|
super();
|
|
18730
19112
|
|
|
18731
19113
|
/**
|
|
18732
|
-
*
|
|
18733
|
-
<
|
|
18734
|
-
<
|
|
18735
|
-
<
|
|
18736
|
-
<
|
|
18737
|
-
<
|
|
19114
|
+
* Origin server type. Valid values:
|
|
19115
|
+
<li>IPDomain: IPV4, IPV6, or domain type origin server;</li>
|
|
19116
|
+
<li>OriginGroup: origin server group type origin server;</li>
|
|
19117
|
+
<li>LoadBalance: load balancing. This feature is in beta test. If needed, submit a ticket;</li>
|
|
19118
|
+
<li>COS: Tencent Cloud COS origin server;</li>
|
|
19119
|
+
<li>AWSS3: supports ALL AWS S3-compatible COS origin servers.</li>
|
|
18738
19120
|
* @type {string || null}
|
|
18739
19121
|
*/
|
|
18740
19122
|
this.OriginType = null;
|
|
18741
19123
|
|
|
18742
19124
|
/**
|
|
18743
|
-
* Origin server address, which varies according to the value of
|
|
18744
|
-
<
|
|
18745
|
-
<
|
|
18746
|
-
<
|
|
18747
|
-
<
|
|
18748
|
-
<
|
|
19125
|
+
* Origin server address, which varies according to the value of OriginType:
|
|
19126
|
+
<li>When OriginType = IPDomain, specify this parameter with an IPV4 address, an IPV6 address, or a domain name;</li>
|
|
19127
|
+
<li>When OriginType = COS, specify the cos bucket access domain.</li>
|
|
19128
|
+
<li>When OriginType = AWSS3, specify this parameter as the access domain of the S3 bucket;</li>
|
|
19129
|
+
<li>When OriginType = OriginGroup, fill in the origin server group ID; when it is an output parameter, if the origin server group of other sites is referenced, the format is {origin server group ID}@{ZoneID}. For example: og-testorigin@zone-38moq1z10wwwy;</li>
|
|
19130
|
+
<li>When OriginType = LoadBalance, specify this parameter as the Cloud Load Balancer instance ID. This feature is currently only available to the allowlist. When it is an output parameter, if the load balancing of other sites is referenced, the format is {LoadBalancer ID}@{ZoneID}, such as lb-2rxpamcyqfzg@zone-38moq1z10wwwy.</li>
|
|
18749
19131
|
* @type {string || null}
|
|
18750
19132
|
*/
|
|
18751
19133
|
this.Origin = null;
|
|
@@ -20720,7 +21102,7 @@ class CreateL4ProxyResponse extends AbstractModel {
|
|
|
20720
21102
|
}
|
|
20721
21103
|
|
|
20722
21104
|
/**
|
|
20723
|
-
* Custom Cache Key
|
|
21105
|
+
* Custom Cache Key config.
|
|
20724
21106
|
* @class
|
|
20725
21107
|
*/
|
|
20726
21108
|
class CacheKeyParameters extends AbstractModel {
|
|
@@ -21333,6 +21715,34 @@ class ModifyL4ProxyRulesStatusResponse extends AbstractModel {
|
|
|
21333
21715
|
}
|
|
21334
21716
|
}
|
|
21335
21717
|
|
|
21718
|
+
/**
|
|
21719
|
+
* CreateFunctionReplica response structure.
|
|
21720
|
+
* @class
|
|
21721
|
+
*/
|
|
21722
|
+
class CreateFunctionReplicaResponse extends AbstractModel {
|
|
21723
|
+
constructor(){
|
|
21724
|
+
super();
|
|
21725
|
+
|
|
21726
|
+
/**
|
|
21727
|
+
* 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.
|
|
21728
|
+
* @type {string || null}
|
|
21729
|
+
*/
|
|
21730
|
+
this.RequestId = null;
|
|
21731
|
+
|
|
21732
|
+
}
|
|
21733
|
+
|
|
21734
|
+
/**
|
|
21735
|
+
* @private
|
|
21736
|
+
*/
|
|
21737
|
+
deserialize(params) {
|
|
21738
|
+
if (!params) {
|
|
21739
|
+
return;
|
|
21740
|
+
}
|
|
21741
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
21742
|
+
|
|
21743
|
+
}
|
|
21744
|
+
}
|
|
21745
|
+
|
|
21336
21746
|
/**
|
|
21337
21747
|
* CheckCnameStatus response structure.
|
|
21338
21748
|
* @class
|
|
@@ -24254,7 +24664,7 @@ The original configuration will apply if this field is not specified.
|
|
|
24254
24664
|
this.SessionPersist = null;
|
|
24255
24665
|
|
|
24256
24666
|
/**
|
|
24257
|
-
* Duration for
|
|
24667
|
+
* Duration for session persistence, in seconds. The value takes effect only when SessionPersist is true.
|
|
24258
24668
|
* @type {number || null}
|
|
24259
24669
|
*/
|
|
24260
24670
|
this.SessionPersistTime = null;
|
|
@@ -26059,7 +26469,7 @@ class CreateApplicationProxyRuleRequest extends AbstractModel {
|
|
|
26059
26469
|
this.SessionPersist = null;
|
|
26060
26470
|
|
|
26061
26471
|
/**
|
|
26062
|
-
* Duration for
|
|
26472
|
+
* Duration for session persistence, in seconds. The value takes effect only when SessionPersist is true.
|
|
26063
26473
|
* @type {number || null}
|
|
26064
26474
|
*/
|
|
26065
26475
|
this.SessionPersistTime = null;
|
|
@@ -27255,6 +27665,12 @@ class RateLimitingRule extends AbstractModel {
|
|
|
27255
27665
|
*/
|
|
27256
27666
|
this.Condition = null;
|
|
27257
27667
|
|
|
27668
|
+
/**
|
|
27669
|
+
* Speed limit mode. Within the statistical time window CountingPeriod, the following speed limit modes can be configured for requests that meet the feature CountBy:<li>Block: Block access source. When the count exceeds the threshold MaxRequestThreshold, execute Action disposal for ALL subsequent requests that meet the feature within the ActionDuration. </li><li>Throttle: Only dispose excess requests. When the count exceeds the threshold MaxRequestThreshold, only execute Action disposal for requests that exceed the threshold, and stop disposal when the window ends. At this point, the ActionDuration parameter will be ignored.</li><br />Default value is Block.
|
|
27670
|
+
* @type {string || null}
|
|
27671
|
+
*/
|
|
27672
|
+
this.Mode = null;
|
|
27673
|
+
|
|
27258
27674
|
/**
|
|
27259
27675
|
* The match mode of the rate threshold request feature. this field is required when Enabled is on.<br /><br />when there are multiple conditions, composite conditions are used to collect statistics. the maximum number of conditions cannot exceed 5. valid values:<br/><li><b>http.request.ip</b>: client ip;</li><li><b>http.request.xff_header_ip</b>: client ip (priority match xff header);</li><li><b>http.request.uri.path</b>: access path of the request;</li><li><b>http.request.cookies['session']</b>: Cookie named session, where session can be replaced with your own parameter;</li><li><b>http.request.headers['user-agent']</b>: http header named user-agent, where user-agent can be replaced with your own parameter;</li><li><b>http.request.ja3</b>: ja3 fingerprint of the request;</li><li><b>http.request.ja4</b>: ja4 fingerprint of the request;</li><li><b>http.request.uri.query['test']</b>: URL query parameter named test, where test can be replaced with your own parameter.</li>.
|
|
27260
27676
|
* @type {Array.<string> || null}
|
|
@@ -27274,7 +27690,7 @@ class RateLimitingRule extends AbstractModel {
|
|
|
27274
27690
|
this.CountingPeriod = null;
|
|
27275
27691
|
|
|
27276
27692
|
/**
|
|
27277
|
-
*
|
|
27693
|
+
* Duration of the Action. Only the following units are supported: <li>s: second, value range 1-120;</li><li>m: minute, value range 1-120;</li><li>h: hour, value range 1-48;</li><li>d: day, value range 1-30.</li><br />This parameter will be ignored and will not take effect when Mode is Throttle.
|
|
27278
27694
|
* @type {string || null}
|
|
27279
27695
|
*/
|
|
27280
27696
|
this.ActionDuration = null;
|
|
@@ -27309,6 +27725,7 @@ class RateLimitingRule extends AbstractModel {
|
|
|
27309
27725
|
this.Id = 'Id' in params ? params.Id : null;
|
|
27310
27726
|
this.Name = 'Name' in params ? params.Name : null;
|
|
27311
27727
|
this.Condition = 'Condition' in params ? params.Condition : null;
|
|
27728
|
+
this.Mode = 'Mode' in params ? params.Mode : null;
|
|
27312
27729
|
this.CountBy = 'CountBy' in params ? params.CountBy : null;
|
|
27313
27730
|
this.MaxRequestThreshold = 'MaxRequestThreshold' in params ? params.MaxRequestThreshold : null;
|
|
27314
27731
|
this.CountingPeriod = 'CountingPeriod' in params ? params.CountingPeriod : null;
|
|
@@ -28154,7 +28571,7 @@ Default value: overseas.
|
|
|
28154
28571
|
this.AccelerateType = null;
|
|
28155
28572
|
|
|
28156
28573
|
/**
|
|
28157
|
-
*
|
|
28574
|
+
* Session hold time, unit: seconds.
|
|
28158
28575
|
* @type {number || null}
|
|
28159
28576
|
*/
|
|
28160
28577
|
this.SessionPersistTime = null;
|
|
@@ -29144,6 +29561,49 @@ class DeliveryCondition extends AbstractModel {
|
|
|
29144
29561
|
}
|
|
29145
29562
|
}
|
|
29146
29563
|
|
|
29564
|
+
/**
|
|
29565
|
+
* Origin server failure failover config.
|
|
29566
|
+
* @class
|
|
29567
|
+
*/
|
|
29568
|
+
class SiteFailoverParameters extends AbstractModel {
|
|
29569
|
+
constructor(){
|
|
29570
|
+
super();
|
|
29571
|
+
|
|
29572
|
+
/**
|
|
29573
|
+
* Origin server fault migration condition status code. The origin server response status code must hit the field return to execute origin server migration as SiteFailoverParams. The parameter value is one of 4xx, 5xx.
|
|
29574
|
+
* @type {Array.<number> || null}
|
|
29575
|
+
*/
|
|
29576
|
+
this.SiteFailoverStatusCodes = null;
|
|
29577
|
+
|
|
29578
|
+
/**
|
|
29579
|
+
* Origin server failure failover configuration parameter list. Minimum length is 1, maximum length is 2.
|
|
29580
|
+
* @type {Array.<SiteFailover> || null}
|
|
29581
|
+
*/
|
|
29582
|
+
this.SiteFailoverParams = null;
|
|
29583
|
+
|
|
29584
|
+
}
|
|
29585
|
+
|
|
29586
|
+
/**
|
|
29587
|
+
* @private
|
|
29588
|
+
*/
|
|
29589
|
+
deserialize(params) {
|
|
29590
|
+
if (!params) {
|
|
29591
|
+
return;
|
|
29592
|
+
}
|
|
29593
|
+
this.SiteFailoverStatusCodes = 'SiteFailoverStatusCodes' in params ? params.SiteFailoverStatusCodes : null;
|
|
29594
|
+
|
|
29595
|
+
if (params.SiteFailoverParams) {
|
|
29596
|
+
this.SiteFailoverParams = new Array();
|
|
29597
|
+
for (let z in params.SiteFailoverParams) {
|
|
29598
|
+
let obj = new SiteFailover();
|
|
29599
|
+
obj.deserialize(params.SiteFailoverParams[z]);
|
|
29600
|
+
this.SiteFailoverParams.push(obj);
|
|
29601
|
+
}
|
|
29602
|
+
}
|
|
29603
|
+
|
|
29604
|
+
}
|
|
29605
|
+
}
|
|
29606
|
+
|
|
29147
29607
|
/**
|
|
29148
29608
|
* Web security exception rule.
|
|
29149
29609
|
* @class
|
|
@@ -29319,7 +29779,7 @@ class EdgeKVDeleteRequest extends AbstractModel {
|
|
|
29319
29779
|
this.Namespace = null;
|
|
29320
29780
|
|
|
29321
29781
|
/**
|
|
29322
|
-
* Name list. Maximum array length is 20. Each key cannot be empty, with a length of 1-512 characters
|
|
29782
|
+
* Name list. Maximum array length is 20. Each key cannot be empty, with a length of 1-512 characters, supporting valid UTF-8 characters. To delete one key, input an array containing one element.
|
|
29323
29783
|
* @type {Array.<string> || null}
|
|
29324
29784
|
*/
|
|
29325
29785
|
this.Keys = null;
|
|
@@ -30737,6 +31197,84 @@ class ModifySecurityIPGroupRequest extends AbstractModel {
|
|
|
30737
31197
|
}
|
|
30738
31198
|
}
|
|
30739
31199
|
|
|
31200
|
+
/**
|
|
31201
|
+
* DescribeFunctionReplicas request structure.
|
|
31202
|
+
* @class
|
|
31203
|
+
*/
|
|
31204
|
+
class DescribeFunctionReplicasRequest extends AbstractModel {
|
|
31205
|
+
constructor(){
|
|
31206
|
+
super();
|
|
31207
|
+
|
|
31208
|
+
/**
|
|
31209
|
+
* Zone ID.
|
|
31210
|
+
* @type {string || null}
|
|
31211
|
+
*/
|
|
31212
|
+
this.ZoneId = null;
|
|
31213
|
+
|
|
31214
|
+
/**
|
|
31215
|
+
* Function ID.
|
|
31216
|
+
* @type {string || null}
|
|
31217
|
+
*/
|
|
31218
|
+
this.FunctionId = null;
|
|
31219
|
+
|
|
31220
|
+
/**
|
|
31221
|
+
* The offset of paginated query. Default value: 0.
|
|
31222
|
+
* @type {number || null}
|
|
31223
|
+
*/
|
|
31224
|
+
this.Offset = null;
|
|
31225
|
+
|
|
31226
|
+
/**
|
|
31227
|
+
* Number limit of paginated query. Default value: 20. Maximum value: 200.
|
|
31228
|
+
* @type {number || null}
|
|
31229
|
+
*/
|
|
31230
|
+
this.Limit = null;
|
|
31231
|
+
|
|
31232
|
+
/**
|
|
31233
|
+
* Sorting basis. Valid values: <li>created-on: Creation time.</li> Default sorting is based on the created-on attribute.
|
|
31234
|
+
* @type {string || null}
|
|
31235
|
+
*/
|
|
31236
|
+
this.SortBy = null;
|
|
31237
|
+
|
|
31238
|
+
/**
|
|
31239
|
+
* List sort method. Valid values: <li>asc: ascending order;</li> <li>desc: sort in descending order.</li> Default value: asc.
|
|
31240
|
+
* @type {string || null}
|
|
31241
|
+
*/
|
|
31242
|
+
this.SortOrder = null;
|
|
31243
|
+
|
|
31244
|
+
/**
|
|
31245
|
+
* Filtering Conditions. The maximum of Filters.Values is 20. If this parameter is left empty, it returns all function replicas under the function ID. Detailed filter criteria: <li>replica-name: Filter by function replica name. Fuzzy query is supported.</li>
|
|
31246
|
+
* @type {Array.<AdvancedFilter> || null}
|
|
31247
|
+
*/
|
|
31248
|
+
this.Filters = null;
|
|
31249
|
+
|
|
31250
|
+
}
|
|
31251
|
+
|
|
31252
|
+
/**
|
|
31253
|
+
* @private
|
|
31254
|
+
*/
|
|
31255
|
+
deserialize(params) {
|
|
31256
|
+
if (!params) {
|
|
31257
|
+
return;
|
|
31258
|
+
}
|
|
31259
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
31260
|
+
this.FunctionId = 'FunctionId' in params ? params.FunctionId : null;
|
|
31261
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
31262
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
31263
|
+
this.SortBy = 'SortBy' in params ? params.SortBy : null;
|
|
31264
|
+
this.SortOrder = 'SortOrder' in params ? params.SortOrder : null;
|
|
31265
|
+
|
|
31266
|
+
if (params.Filters) {
|
|
31267
|
+
this.Filters = new Array();
|
|
31268
|
+
for (let z in params.Filters) {
|
|
31269
|
+
let obj = new AdvancedFilter();
|
|
31270
|
+
obj.deserialize(params.Filters[z]);
|
|
31271
|
+
this.Filters.push(obj);
|
|
31272
|
+
}
|
|
31273
|
+
}
|
|
31274
|
+
|
|
31275
|
+
}
|
|
31276
|
+
}
|
|
31277
|
+
|
|
30740
31278
|
/**
|
|
30741
31279
|
* [Vary feature](https://intl.cloud.tencent.com/document/product/1552/89301?from_cn_redirect=1) configuration parameter.
|
|
30742
31280
|
* @class
|
|
@@ -31484,6 +32022,12 @@ class ClientFiltering extends AbstractModel {
|
|
|
31484
32022
|
*/
|
|
31485
32023
|
this.Enabled = null;
|
|
31486
32024
|
|
|
32025
|
+
/**
|
|
32026
|
+
* Rule ID of intelligent client filtering, returned as an output parameter.
|
|
32027
|
+
* @type {string || null}
|
|
32028
|
+
*/
|
|
32029
|
+
this.Id = null;
|
|
32030
|
+
|
|
31487
32031
|
/**
|
|
31488
32032
|
* The handling method of intelligent client filtering. when Enabled is on, this field is required. the Name parameter of SecurityAction supports: <li>Monitor: observation;</li> <li>Deny: block;</li> <li>Challenge: Challenge, where ChallengeActionParameters.Name only supports JSChallenge.</li>.
|
|
31489
32033
|
* @type {SecurityAction || null}
|
|
@@ -31500,6 +32044,7 @@ class ClientFiltering extends AbstractModel {
|
|
|
31500
32044
|
return;
|
|
31501
32045
|
}
|
|
31502
32046
|
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
32047
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
31503
32048
|
|
|
31504
32049
|
if (params.Action) {
|
|
31505
32050
|
let obj = new SecurityAction();
|
|
@@ -34184,7 +34729,7 @@ class KeyValuePair extends AbstractModel {
|
|
|
34184
34729
|
super();
|
|
34185
34730
|
|
|
34186
34731
|
/**
|
|
34187
|
-
* Key name. Each key name cannot be empty, with a length of 1-512 characters
|
|
34732
|
+
* Key name. Each key name cannot be empty, with a length of 1-512 characters, and supports valid UTF-8 characters.
|
|
34188
34733
|
* @type {string || null}
|
|
34189
34734
|
*/
|
|
34190
34735
|
this.Key = null;
|
|
@@ -34447,6 +34992,12 @@ class SlowAttackDefense extends AbstractModel {
|
|
|
34447
34992
|
*/
|
|
34448
34993
|
this.Enabled = null;
|
|
34449
34994
|
|
|
34995
|
+
/**
|
|
34996
|
+
* Rule ID of slow attack protection, returned as an output parameter.
|
|
34997
|
+
* @type {string || null}
|
|
34998
|
+
*/
|
|
34999
|
+
this.Id = null;
|
|
35000
|
+
|
|
34450
35001
|
/**
|
|
34451
35002
|
* Slow attack protection handling method. required when Enabled is on. valid values for SecurityAction Name: <li>Monitor: observation;</li> <li>Deny: block;</li>.
|
|
34452
35003
|
* @type {SecurityAction || null}
|
|
@@ -34475,6 +35026,7 @@ class SlowAttackDefense extends AbstractModel {
|
|
|
34475
35026
|
return;
|
|
34476
35027
|
}
|
|
34477
35028
|
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
35029
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
34478
35030
|
|
|
34479
35031
|
if (params.Action) {
|
|
34480
35032
|
let obj = new SecurityAction();
|
|
@@ -35755,6 +36307,62 @@ class IPSSLSetting extends AbstractModel {
|
|
|
35755
36307
|
}
|
|
35756
36308
|
}
|
|
35757
36309
|
|
|
36310
|
+
/**
|
|
36311
|
+
* ModifyFunctionReplica request structure.
|
|
36312
|
+
* @class
|
|
36313
|
+
*/
|
|
36314
|
+
class ModifyFunctionReplicaRequest extends AbstractModel {
|
|
36315
|
+
constructor(){
|
|
36316
|
+
super();
|
|
36317
|
+
|
|
36318
|
+
/**
|
|
36319
|
+
* Zone ID.
|
|
36320
|
+
* @type {string || null}
|
|
36321
|
+
*/
|
|
36322
|
+
this.ZoneId = null;
|
|
36323
|
+
|
|
36324
|
+
/**
|
|
36325
|
+
* Function ID.
|
|
36326
|
+
* @type {string || null}
|
|
36327
|
+
*/
|
|
36328
|
+
this.FunctionId = null;
|
|
36329
|
+
|
|
36330
|
+
/**
|
|
36331
|
+
* Edge function copy name that needs to be modified.
|
|
36332
|
+
* @type {string || null}
|
|
36333
|
+
*/
|
|
36334
|
+
this.ReplicaName = null;
|
|
36335
|
+
|
|
36336
|
+
/**
|
|
36337
|
+
* Edge function replica content. Currently only supports JavaScript code. Supports a maximum of 5 MB.
|
|
36338
|
+
* @type {string || null}
|
|
36339
|
+
*/
|
|
36340
|
+
this.Content = null;
|
|
36341
|
+
|
|
36342
|
+
/**
|
|
36343
|
+
* Edge function replica description. Supports up to 50 characters.
|
|
36344
|
+
* @type {string || null}
|
|
36345
|
+
*/
|
|
36346
|
+
this.Remark = null;
|
|
36347
|
+
|
|
36348
|
+
}
|
|
36349
|
+
|
|
36350
|
+
/**
|
|
36351
|
+
* @private
|
|
36352
|
+
*/
|
|
36353
|
+
deserialize(params) {
|
|
36354
|
+
if (!params) {
|
|
36355
|
+
return;
|
|
36356
|
+
}
|
|
36357
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
36358
|
+
this.FunctionId = 'FunctionId' in params ? params.FunctionId : null;
|
|
36359
|
+
this.ReplicaName = 'ReplicaName' in params ? params.ReplicaName : null;
|
|
36360
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
36361
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
36362
|
+
|
|
36363
|
+
}
|
|
36364
|
+
}
|
|
36365
|
+
|
|
35758
36366
|
/**
|
|
35759
36367
|
* DescribeMultiPathGateways request structure.
|
|
35760
36368
|
* @class
|
|
@@ -35814,6 +36422,71 @@ class DescribeMultiPathGatewaysRequest extends AbstractModel {
|
|
|
35814
36422
|
}
|
|
35815
36423
|
}
|
|
35816
36424
|
|
|
36425
|
+
/**
|
|
36426
|
+
* Bot user portrait rules
|
|
36427
|
+
* @class
|
|
36428
|
+
*/
|
|
36429
|
+
class BotPortraitRule extends AbstractModel {
|
|
36430
|
+
constructor(){
|
|
36431
|
+
super();
|
|
36432
|
+
|
|
36433
|
+
/**
|
|
36434
|
+
* Switch. Values:
|
|
36435
|
+
<li>`on`: Enable</li>
|
|
36436
|
+
<li>`off`: Disable</li>
|
|
36437
|
+
* @type {string || null}
|
|
36438
|
+
*/
|
|
36439
|
+
this.Switch = null;
|
|
36440
|
+
|
|
36441
|
+
/**
|
|
36442
|
+
* The rule ID, which is only used as an output parameter.
|
|
36443
|
+
* @type {number || null}
|
|
36444
|
+
*/
|
|
36445
|
+
this.RuleID = null;
|
|
36446
|
+
|
|
36447
|
+
/**
|
|
36448
|
+
* The rule ID of JS challenge. default all rules without configuring JS challenge.
|
|
36449
|
+
* @type {Array.<number> || null}
|
|
36450
|
+
*/
|
|
36451
|
+
this.AlgManagedIds = null;
|
|
36452
|
+
|
|
36453
|
+
/**
|
|
36454
|
+
* Rule ID for digit captcha-intl. default is all rules without configuring digit captcha-intl.
|
|
36455
|
+
* @type {Array.<number> || null}
|
|
36456
|
+
*/
|
|
36457
|
+
this.CapManagedIds = null;
|
|
36458
|
+
|
|
36459
|
+
/**
|
|
36460
|
+
* Rule ID for observation. by default, observation is not configured for all rules.
|
|
36461
|
+
* @type {Array.<number> || null}
|
|
36462
|
+
*/
|
|
36463
|
+
this.MonManagedIds = null;
|
|
36464
|
+
|
|
36465
|
+
/**
|
|
36466
|
+
* Rule ID for interception. default to all rules with no configuration interception.
|
|
36467
|
+
* @type {Array.<number> || null}
|
|
36468
|
+
*/
|
|
36469
|
+
this.DropManagedIds = null;
|
|
36470
|
+
|
|
36471
|
+
}
|
|
36472
|
+
|
|
36473
|
+
/**
|
|
36474
|
+
* @private
|
|
36475
|
+
*/
|
|
36476
|
+
deserialize(params) {
|
|
36477
|
+
if (!params) {
|
|
36478
|
+
return;
|
|
36479
|
+
}
|
|
36480
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
36481
|
+
this.RuleID = 'RuleID' in params ? params.RuleID : null;
|
|
36482
|
+
this.AlgManagedIds = 'AlgManagedIds' in params ? params.AlgManagedIds : null;
|
|
36483
|
+
this.CapManagedIds = 'CapManagedIds' in params ? params.CapManagedIds : null;
|
|
36484
|
+
this.MonManagedIds = 'MonManagedIds' in params ? params.MonManagedIds : null;
|
|
36485
|
+
this.DropManagedIds = 'DropManagedIds' in params ? params.DropManagedIds : null;
|
|
36486
|
+
|
|
36487
|
+
}
|
|
36488
|
+
}
|
|
36489
|
+
|
|
35817
36490
|
/**
|
|
35818
36491
|
* DeleteL4ProxyRules response structure.
|
|
35819
36492
|
* @class
|
|
@@ -37805,7 +38478,7 @@ class EdgeKVPutRequest extends AbstractModel {
|
|
|
37805
38478
|
this.Namespace = null;
|
|
37806
38479
|
|
|
37807
38480
|
/**
|
|
37808
|
-
* Key name
|
|
38481
|
+
* Key name, with a length of 1-512 characters, supports valid UTF-8 characters.
|
|
37809
38482
|
* @type {string || null}
|
|
37810
38483
|
*/
|
|
37811
38484
|
this.Key = null;
|
|
@@ -37817,13 +38490,13 @@ class EdgeKVPutRequest extends AbstractModel {
|
|
|
37817
38490
|
this.Value = null;
|
|
37818
38491
|
|
|
37819
38492
|
/**
|
|
37820
|
-
*
|
|
38493
|
+
* Expiry date of the key-value pair, absolute time in seconds, represents the seconds elapsed since 00:00:00 on January 1, 1970 (UTC) (Unix timestamp). The value must be greater than or equal to current time + 60, meaning the expiry date is at least 60 seconds from now. When both Expiration and ExpirationTTL are filled, ExpirationTTL takes precedence. If left empty, the key-value pair will never expire.
|
|
37821
38494
|
* @type {number || null}
|
|
37822
38495
|
*/
|
|
37823
38496
|
this.Expiration = null;
|
|
37824
38497
|
|
|
37825
38498
|
/**
|
|
37826
|
-
*
|
|
38499
|
+
* The survival time of the key-value pair is a relative time in seconds, indicating that the data will expire after transit of specified seconds. Value ranges from 60. When both Expiration and ExpirationTTL are filled, ExpirationTTL takes precedence; if left empty, the key-value pair will never expire.
|
|
37827
38500
|
* @type {number || null}
|
|
37828
38501
|
*/
|
|
37829
38502
|
this.ExpirationTTL = null;
|
|
@@ -39393,7 +40066,7 @@ Note that if it’s enabled, the purging is based on the converted URLs.
|
|
|
39393
40066
|
this.EncodeUrl = null;
|
|
39394
40067
|
|
|
39395
40068
|
/**
|
|
39396
|
-
* The
|
|
40069
|
+
* The parameter is required when the node cache clearing type is set to purge_cache_tag, and the input value is the domain name.
|
|
39397
40070
|
* @type {CacheTag || null}
|
|
39398
40071
|
*/
|
|
39399
40072
|
this.CacheTag = null;
|
|
@@ -39530,12 +40203,6 @@ class BotIntelligence extends AbstractModel {
|
|
|
39530
40203
|
constructor(){
|
|
39531
40204
|
super();
|
|
39532
40205
|
|
|
39533
|
-
/**
|
|
39534
|
-
* Based on client and request features, divides request sources into human requests, legitimate Bot requests, suspected Bot requests, and high-risk Bot requests, and provides request handling options.
|
|
39535
|
-
* @type {BotRatings || null}
|
|
39536
|
-
*/
|
|
39537
|
-
this.BotRatings = null;
|
|
39538
|
-
|
|
39539
40206
|
/**
|
|
39540
40207
|
* Specifies the switch for Bot intelligent analysis configuration. valid values:.
|
|
39541
40208
|
|
|
@@ -39545,6 +40212,18 @@ off: disabled.
|
|
|
39545
40212
|
*/
|
|
39546
40213
|
this.Enabled = null;
|
|
39547
40214
|
|
|
40215
|
+
/**
|
|
40216
|
+
* Rule ID of Bot intelligent analysis, returned as an output parameter.
|
|
40217
|
+
* @type {string || null}
|
|
40218
|
+
*/
|
|
40219
|
+
this.Id = null;
|
|
40220
|
+
|
|
40221
|
+
/**
|
|
40222
|
+
* Based on client and request features, divides request sources into human requests, legitimate Bot requests, suspected Bot requests, and high-risk Bot requests, and provides request handling options.
|
|
40223
|
+
* @type {BotRatings || null}
|
|
40224
|
+
*/
|
|
40225
|
+
this.BotRatings = null;
|
|
40226
|
+
|
|
39548
40227
|
}
|
|
39549
40228
|
|
|
39550
40229
|
/**
|
|
@@ -39554,13 +40233,14 @@ off: disabled.
|
|
|
39554
40233
|
if (!params) {
|
|
39555
40234
|
return;
|
|
39556
40235
|
}
|
|
40236
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
40237
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
39557
40238
|
|
|
39558
40239
|
if (params.BotRatings) {
|
|
39559
40240
|
let obj = new BotRatings();
|
|
39560
40241
|
obj.deserialize(params.BotRatings)
|
|
39561
40242
|
this.BotRatings = obj;
|
|
39562
40243
|
}
|
|
39563
|
-
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
39564
40244
|
|
|
39565
40245
|
}
|
|
39566
40246
|
}
|
|
@@ -39844,6 +40524,12 @@ class FrequentScanningProtection extends AbstractModel {
|
|
|
39844
40524
|
*/
|
|
39845
40525
|
this.Enabled = null;
|
|
39846
40526
|
|
|
40527
|
+
/**
|
|
40528
|
+
* Rule ID of high frequency scan protection, returned as an output parameter.
|
|
40529
|
+
* @type {string || null}
|
|
40530
|
+
*/
|
|
40531
|
+
this.Id = null;
|
|
40532
|
+
|
|
39847
40533
|
/**
|
|
39848
40534
|
* The handling action for high-frequency scan protection. required when Enabled is on. valid values for SecurityAction Name: <li>Deny: block and respond with an interception page;</li> <li>Monitor: observe without processing requests, log security events in logs;</li> <li>JSChallenge: respond with a JavaScript challenge page.</li>.
|
|
39849
40535
|
* @type {SecurityAction || null}
|
|
@@ -39884,6 +40570,7 @@ class FrequentScanningProtection extends AbstractModel {
|
|
|
39884
40570
|
return;
|
|
39885
40571
|
}
|
|
39886
40572
|
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
40573
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
39887
40574
|
|
|
39888
40575
|
if (params.Action) {
|
|
39889
40576
|
let obj = new SecurityAction();
|
|
@@ -40630,45 +41317,47 @@ class RuleEngineAction extends AbstractModel {
|
|
|
40630
41317
|
super();
|
|
40631
41318
|
|
|
40632
41319
|
/**
|
|
40633
|
-
* Operation
|
|
40634
|
-
<li>Cache:
|
|
40635
|
-
<
|
|
40636
|
-
<
|
|
40637
|
-
<
|
|
40638
|
-
<
|
|
41320
|
+
* Operation name. The name must correspond to the parameter structure. For example, if Name=Cache, CacheParameters is required.
|
|
41321
|
+
<li>Cache: Node caching TTL;</li>
|
|
41322
|
+
<li>CacheKey: custom Cache Key;</li>
|
|
41323
|
+
<li>CachePrefresh: cache pre-refresh;</li>
|
|
41324
|
+
<li>AccessURLRedirect: URL redirection;</li>
|
|
41325
|
+
<li>UpstreamURLRewrite: origin-pull URL rewrite;</li>
|
|
40639
41326
|
<li>QUIC:QUIC;</li>
|
|
40640
41327
|
<li>WebSocket:WebSocket;</li>
|
|
40641
|
-
<li>Authentication: Token
|
|
40642
|
-
<li>MaxAge:
|
|
40643
|
-
<li>StatusCodeCache:
|
|
40644
|
-
<
|
|
40645
|
-
<
|
|
40646
|
-
<
|
|
40647
|
-
<
|
|
40648
|
-
<
|
|
40649
|
-
<
|
|
40650
|
-
<li>
|
|
40651
|
-
<
|
|
41328
|
+
<li>Authentication: Token authentication;</li>
|
|
41329
|
+
<li>MaxAge: Browser cache TTL;</li>
|
|
41330
|
+
<li>StatusCodeCache: Status code cache TTL;</li>
|
|
41331
|
+
<li>OfflineCache: Offline cache;</li>
|
|
41332
|
+
<li>SmartRouting: Smart acceleration;</li>
|
|
41333
|
+
<li>RangeOriginPull: Range-based origin pull;</li>
|
|
41334
|
+
<li>UpstreamHTTP2: HTTP/2 origin pull;</li>
|
|
41335
|
+
<li>HostHeader: Host header rewrite;</li>
|
|
41336
|
+
<li>ForceRedirectHTTPS: Forced HTTPS redirect configuration for access protocol.</li>
|
|
41337
|
+
<li>HTTPS origin pull (OriginPullProtocol);</li>
|
|
41338
|
+
<li>Compression: Intelligent compression configuration;</li>
|
|
40652
41339
|
<li>HSTS:HSTS;</li>
|
|
40653
|
-
<
|
|
40654
|
-
<
|
|
40655
|
-
<
|
|
40656
|
-
<li>PostMaxSize:
|
|
40657
|
-
<
|
|
40658
|
-
<
|
|
40659
|
-
<
|
|
40660
|
-
<li>
|
|
40661
|
-
<
|
|
40662
|
-
<
|
|
40663
|
-
<li>
|
|
40664
|
-
<
|
|
40665
|
-
<li>
|
|
40666
|
-
<li>
|
|
40667
|
-
<
|
|
40668
|
-
<
|
|
40669
|
-
<
|
|
40670
|
-
<
|
|
40671
|
-
<
|
|
41340
|
+
<li>ClientIPHeader: Header information configuration that stores the client request IP.</li>
|
|
41341
|
+
<li>OCSPStapling: OCSP stapling;</li>
|
|
41342
|
+
<li>HTTP2: HTTP/2 integration;</li>
|
|
41343
|
+
<li>PostMaxSize: Maximum limit for file streaming transmission in POST requests.</li>
|
|
41344
|
+
<li>ClientIPCountry: Carry regional information of the client IP during origin pull.</li>
|
|
41345
|
+
<li>UpstreamFollowRedirect: Parameter configuration for redirection during origin pull;</li>
|
|
41346
|
+
<li>UpstreamRequest: Origin-pull request parameter;</li>
|
|
41347
|
+
<li>Shield: Origin server uninstallation.</li>
|
|
41348
|
+
<li>TLSConfig: SSL/TLS security;</li>
|
|
41349
|
+
<li>ModifyOrigin: Modify origin server;</li>
|
|
41350
|
+
<li>SiteFailover: origin server failure failover;</li>
|
|
41351
|
+
<li>HTTPUpstreamTimeout: Layer-7 origin-pull timeout configuration.</li>
|
|
41352
|
+
<li>HTTP response: HTTP response;</li>
|
|
41353
|
+
<li>ErrorPage: Custom error page;</li>
|
|
41354
|
+
<li>ModifyResponseHeader: Modify the HTTP node response header;</li>
|
|
41355
|
+
<li>ModifyRequestHeader: Modify the request header of an HTTP node;</li>
|
|
41356
|
+
<li>ResponseSpeedLimit: Download speed limit for a single connection;</li>
|
|
41357
|
+
<li>SetContentIdentifier: Set the content identifier.</li>
|
|
41358
|
+
<li>Vary: Vary feature configuration;</li>
|
|
41359
|
+
<li>ContentCompression: Content compression configuration;</li>
|
|
41360
|
+
<li>OriginAuthentication: Origin authentication configuration.</li>
|
|
40672
41361
|
* @type {string || null}
|
|
40673
41362
|
*/
|
|
40674
41363
|
this.Name = null;
|
|
@@ -40855,6 +41544,13 @@ Note: this field may return null, which indicates a failure to obtain a valid va
|
|
|
40855
41544
|
*/
|
|
40856
41545
|
this.UpstreamRequestParameters = null;
|
|
40857
41546
|
|
|
41547
|
+
/**
|
|
41548
|
+
* Origin server uninstallation config. When the Name value is Shield, this parameter is required.
|
|
41549
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
41550
|
+
* @type {ShieldParameters || null}
|
|
41551
|
+
*/
|
|
41552
|
+
this.ShieldParameters = null;
|
|
41553
|
+
|
|
40858
41554
|
/**
|
|
40859
41555
|
* SSL/TLS security configuration parameter. this parameter is required when the name is set to tlsconfig.
|
|
40860
41556
|
Note: this field may return null, which indicates a failure to obtain a valid value.
|
|
@@ -40869,6 +41565,13 @@ Note: this field may return null, which indicates a failure to obtain a valid va
|
|
|
40869
41565
|
*/
|
|
40870
41566
|
this.ModifyOriginParameters = null;
|
|
40871
41567
|
|
|
41568
|
+
/**
|
|
41569
|
+
* Origin server failure failover configuration parameter. This parameter is required when the Name value is SiteFailover.
|
|
41570
|
+
Note: This field may return null, which indicates a failure to obtain a valid value.
|
|
41571
|
+
* @type {SiteFailoverParameters || null}
|
|
41572
|
+
*/
|
|
41573
|
+
this.SiteFailoverParameters = null;
|
|
41574
|
+
|
|
40872
41575
|
/**
|
|
40873
41576
|
* Configuration of layer 7 origin timeout. this parameter is required when name is httpupstreamtimeout.
|
|
40874
41577
|
Note: this field may return null, which indicates a failure to obtain a valid value.
|
|
@@ -41104,6 +41807,12 @@ Note: This field may return null, which indicates a failure to obtain a valid va
|
|
|
41104
41807
|
this.UpstreamRequestParameters = obj;
|
|
41105
41808
|
}
|
|
41106
41809
|
|
|
41810
|
+
if (params.ShieldParameters) {
|
|
41811
|
+
let obj = new ShieldParameters();
|
|
41812
|
+
obj.deserialize(params.ShieldParameters)
|
|
41813
|
+
this.ShieldParameters = obj;
|
|
41814
|
+
}
|
|
41815
|
+
|
|
41107
41816
|
if (params.TLSConfigParameters) {
|
|
41108
41817
|
let obj = new TLSConfigParameters();
|
|
41109
41818
|
obj.deserialize(params.TLSConfigParameters)
|
|
@@ -41116,6 +41825,12 @@ Note: This field may return null, which indicates a failure to obtain a valid va
|
|
|
41116
41825
|
this.ModifyOriginParameters = obj;
|
|
41117
41826
|
}
|
|
41118
41827
|
|
|
41828
|
+
if (params.SiteFailoverParameters) {
|
|
41829
|
+
let obj = new SiteFailoverParameters();
|
|
41830
|
+
obj.deserialize(params.SiteFailoverParameters)
|
|
41831
|
+
this.SiteFailoverParameters = obj;
|
|
41832
|
+
}
|
|
41833
|
+
|
|
41119
41834
|
if (params.HTTPUpstreamTimeoutParameters) {
|
|
41120
41835
|
let obj = new HTTPUpstreamTimeoutParameters();
|
|
41121
41836
|
obj.deserialize(params.HTTPUpstreamTimeoutParameters)
|
|
@@ -41250,6 +41965,7 @@ module.exports = {
|
|
|
41250
41965
|
ModifyFunctionRulePriorityRequest: ModifyFunctionRulePriorityRequest,
|
|
41251
41966
|
ModifyAccelerationDomainResponse: ModifyAccelerationDomainResponse,
|
|
41252
41967
|
DeleteSecurityAPIResourceRequest: DeleteSecurityAPIResourceRequest,
|
|
41968
|
+
ShieldParameters: ShieldParameters,
|
|
41253
41969
|
FunctionRegionSelection: FunctionRegionSelection,
|
|
41254
41970
|
ModifyMultiPathGatewayLineRequest: ModifyMultiPathGatewayLineRequest,
|
|
41255
41971
|
DescribeHostsSettingResponse: DescribeHostsSettingResponse,
|
|
@@ -41331,7 +42047,7 @@ module.exports = {
|
|
|
41331
42047
|
ImageOptimize: ImageOptimize,
|
|
41332
42048
|
CreateL7AccRulesRequest: CreateL7AccRulesRequest,
|
|
41333
42049
|
RealtimeLogDeliveryTask: RealtimeLogDeliveryTask,
|
|
41334
|
-
|
|
42050
|
+
DeleteFunctionReplicaResponse: DeleteFunctionReplicaResponse,
|
|
41335
42051
|
RulesProperties: RulesProperties,
|
|
41336
42052
|
DescribeSecurityJSInjectionRuleResponse: DescribeSecurityJSInjectionRuleResponse,
|
|
41337
42053
|
OriginACLInfo: OriginACLInfo,
|
|
@@ -41350,6 +42066,7 @@ module.exports = {
|
|
|
41350
42066
|
Sv: Sv,
|
|
41351
42067
|
Rule: Rule,
|
|
41352
42068
|
DownloadL4LogsRequest: DownloadL4LogsRequest,
|
|
42069
|
+
SiteFailover: SiteFailover,
|
|
41353
42070
|
ZoneInfo: ZoneInfo,
|
|
41354
42071
|
EdgeKVGetResponse: EdgeKVGetResponse,
|
|
41355
42072
|
CAPTCHAPageChallenge: CAPTCHAPageChallenge,
|
|
@@ -41422,6 +42139,7 @@ module.exports = {
|
|
|
41422
42139
|
ModifyMultiPathGatewayRequest: ModifyMultiPathGatewayRequest,
|
|
41423
42140
|
LoadBalancer: LoadBalancer,
|
|
41424
42141
|
EdgeKVDeleteResponse: EdgeKVDeleteResponse,
|
|
42142
|
+
DescribeFunctionReplicasResponse: DescribeFunctionReplicasResponse,
|
|
41425
42143
|
CreateSecurityAPIServiceResponse: CreateSecurityAPIServiceResponse,
|
|
41426
42144
|
HostName: HostName,
|
|
41427
42145
|
DeleteRulesRequest: DeleteRulesRequest,
|
|
@@ -41448,6 +42166,7 @@ module.exports = {
|
|
|
41448
42166
|
FileVerification: FileVerification,
|
|
41449
42167
|
ModifyWebSecurityTemplateResponse: ModifyWebSecurityTemplateResponse,
|
|
41450
42168
|
ModifySecurityPolicyRequest: ModifySecurityPolicyRequest,
|
|
42169
|
+
CreateFunctionReplicaRequest: CreateFunctionReplicaRequest,
|
|
41451
42170
|
ModifySharedCNAMEResponse: ModifySharedCNAMEResponse,
|
|
41452
42171
|
DeleteL7AccRulesRequest: DeleteL7AccRulesRequest,
|
|
41453
42172
|
SmartRouting: SmartRouting,
|
|
@@ -41519,6 +42238,7 @@ module.exports = {
|
|
|
41519
42238
|
DescribeMultiPathGatewaysResponse: DescribeMultiPathGatewaysResponse,
|
|
41520
42239
|
MaxAgeParameters: MaxAgeParameters,
|
|
41521
42240
|
ModifyApplicationProxyRuleResponse: ModifyApplicationProxyRuleResponse,
|
|
42241
|
+
DeleteFunctionReplicaRequest: DeleteFunctionReplicaRequest,
|
|
41522
42242
|
DDoS: DDoS,
|
|
41523
42243
|
ModifyL7AccRulePriorityResponse: ModifyL7AccRulePriorityResponse,
|
|
41524
42244
|
APIService: APIService,
|
|
@@ -41548,11 +42268,13 @@ module.exports = {
|
|
|
41548
42268
|
OriginAuthenticationRequestProperties: OriginAuthenticationRequestProperties,
|
|
41549
42269
|
ModifyRealtimeLogDeliveryTaskResponse: ModifyRealtimeLogDeliveryTaskResponse,
|
|
41550
42270
|
RateLimitUserRule: RateLimitUserRule,
|
|
42271
|
+
ModifyFunctionReplicaResponse: ModifyFunctionReplicaResponse,
|
|
41551
42272
|
DeployRecord: DeployRecord,
|
|
41552
42273
|
CreatePlanForZoneRequest: CreatePlanForZoneRequest,
|
|
41553
42274
|
DeviceProfile: DeviceProfile,
|
|
41554
42275
|
ConfirmMultiPathGatewayOriginACLResponse: ConfirmMultiPathGatewayOriginACLResponse,
|
|
41555
42276
|
CreateJustInTimeTranscodeTemplateRequest: CreateJustInTimeTranscodeTemplateRequest,
|
|
42277
|
+
FunctionReplica: FunctionReplica,
|
|
41556
42278
|
TimingDataItem: TimingDataItem,
|
|
41557
42279
|
ModifyCustomErrorPageRequest: ModifyCustomErrorPageRequest,
|
|
41558
42280
|
ModifyFunctionRuleResponse: ModifyFunctionRuleResponse,
|
|
@@ -41616,6 +42338,7 @@ module.exports = {
|
|
|
41616
42338
|
CreatePlanForZoneResponse: CreatePlanForZoneResponse,
|
|
41617
42339
|
ClientAttester: ClientAttester,
|
|
41618
42340
|
ModifyL4ProxyRulesStatusResponse: ModifyL4ProxyRulesStatusResponse,
|
|
42341
|
+
CreateFunctionReplicaResponse: CreateFunctionReplicaResponse,
|
|
41619
42342
|
CheckCnameStatusResponse: CheckCnameStatusResponse,
|
|
41620
42343
|
ImportZoneConfigResponse: ImportZoneConfigResponse,
|
|
41621
42344
|
ModifyWebSecurityTemplateRequest: ModifyWebSecurityTemplateRequest,
|
|
@@ -41760,6 +42483,7 @@ module.exports = {
|
|
|
41760
42483
|
ModifyApplicationProxyRuleStatusRequest: ModifyApplicationProxyRuleStatusRequest,
|
|
41761
42484
|
AccelerateType: AccelerateType,
|
|
41762
42485
|
DeliveryCondition: DeliveryCondition,
|
|
42486
|
+
SiteFailoverParameters: SiteFailoverParameters,
|
|
41763
42487
|
ExceptionRule: ExceptionRule,
|
|
41764
42488
|
FollowOrigin: FollowOrigin,
|
|
41765
42489
|
EdgeKVDeleteRequest: EdgeKVDeleteRequest,
|
|
@@ -41790,6 +42514,7 @@ module.exports = {
|
|
|
41790
42514
|
DescribeDDoSAttackEventRequest: DescribeDDoSAttackEventRequest,
|
|
41791
42515
|
OriginGroup: OriginGroup,
|
|
41792
42516
|
ModifySecurityIPGroupRequest: ModifySecurityIPGroupRequest,
|
|
42517
|
+
DescribeFunctionReplicasRequest: DescribeFunctionReplicasRequest,
|
|
41793
42518
|
VaryParameters: VaryParameters,
|
|
41794
42519
|
L4Proxy: L4Proxy,
|
|
41795
42520
|
SkipCondition: SkipCondition,
|
|
@@ -41884,7 +42609,9 @@ module.exports = {
|
|
|
41884
42609
|
DescribeMultiPathGatewaySecretKeyRequest: DescribeMultiPathGatewaySecretKeyRequest,
|
|
41885
42610
|
DDoSBlockData: DDoSBlockData,
|
|
41886
42611
|
IPSSLSetting: IPSSLSetting,
|
|
42612
|
+
ModifyFunctionReplicaRequest: ModifyFunctionReplicaRequest,
|
|
41887
42613
|
DescribeMultiPathGatewaysRequest: DescribeMultiPathGatewaysRequest,
|
|
42614
|
+
BotPortraitRule: BotPortraitRule,
|
|
41888
42615
|
DeleteL4ProxyRulesResponse: DeleteL4ProxyRulesResponse,
|
|
41889
42616
|
ModifyMultiPathGatewaySecretKeyRequest: ModifyMultiPathGatewaySecretKeyRequest,
|
|
41890
42617
|
DnsRecord: DnsRecord,
|