tencentcloud-sdk-nodejs-intl-en 3.0.547 → 3.0.549

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.547",
3
+ "version": "3.0.549",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -100,6 +100,7 @@ const DescribeBlackWhiteIpListRequest = models.DescribeBlackWhiteIpListRequest;
100
100
  const CreateCcGeoIPBlockConfigRequest = models.CreateCcGeoIPBlockConfigRequest;
101
101
  const ModifyDomainUsrNameRequest = models.ModifyDomainUsrNameRequest;
102
102
  const CreateDDoSSpeedLimitConfigResponse = models.CreateDDoSSpeedLimitConfigResponse;
103
+ const DescribeNewL7RulesErrHealthResponse = models.DescribeNewL7RulesErrHealthResponse;
103
104
  const DeletePacketFilterConfigRequest = models.DeletePacketFilterConfigRequest;
104
105
  const DescribeListDDoSGeoIPBlockConfigResponse = models.DescribeListDDoSGeoIPBlockConfigResponse;
105
106
  const DescribeBasicDeviceStatusResponse = models.DescribeBasicDeviceStatusResponse;
@@ -159,6 +160,7 @@ const CreateWaterPrintKeyRequest = models.CreateWaterPrintKeyRequest;
159
160
  const WaterPrintRelation = models.WaterPrintRelation;
160
161
  const InsL7Rules = models.InsL7Rules;
161
162
  const DescribeListDDoSAIResponse = models.DescribeListDDoSAIResponse;
163
+ const DescribeNewL7RulesErrHealthRequest = models.DescribeNewL7RulesErrHealthRequest;
162
164
  const ModifyCCPrecisionPolicyResponse = models.ModifyCCPrecisionPolicyResponse;
163
165
  const CcGeoIPBlockConfig = models.CcGeoIPBlockConfig;
164
166
  const ModifyDDoSSpeedLimitConfigRequest = models.ModifyDDoSSpeedLimitConfigRequest;
@@ -239,14 +241,14 @@ class AntiddosClient extends AbstractClient {
239
241
  }
240
242
 
241
243
  /**
242
- * This API is used to modify intelligent scheduling domain names.
243
- * @param {ModifyDomainUsrNameRequest} req
244
- * @param {function(string, ModifyDomainUsrNameResponse):void} cb
244
+ * This API is used to getting the exception results of the health check on layer-7 forwarding rules.
245
+ * @param {DescribeNewL7RulesErrHealthRequest} req
246
+ * @param {function(string, DescribeNewL7RulesErrHealthResponse):void} cb
245
247
  * @public
246
248
  */
247
- ModifyDomainUsrName(req, cb) {
248
- let resp = new ModifyDomainUsrNameResponse();
249
- this.request("ModifyDomainUsrName", req, resp, cb);
249
+ DescribeNewL7RulesErrHealth(req, cb) {
250
+ let resp = new DescribeNewL7RulesErrHealthResponse();
251
+ this.request("DescribeNewL7RulesErrHealth", req, resp, cb);
250
252
  }
251
253
 
252
254
  /**
@@ -282,6 +284,17 @@ class AntiddosClient extends AbstractClient {
282
284
  this.request("CreateCcBlackWhiteIpList", req, resp, cb);
283
285
  }
284
286
 
287
+ /**
288
+ * This API is used to modify Anti-DDoS feature filtering rules.
289
+ * @param {ModifyPacketFilterConfigRequest} req
290
+ * @param {function(string, ModifyPacketFilterConfigResponse):void} cb
291
+ * @public
292
+ */
293
+ ModifyPacketFilterConfig(req, cb) {
294
+ let resp = new ModifyPacketFilterConfigResponse();
295
+ this.request("ModifyPacketFilterConfig", req, resp, cb);
296
+ }
297
+
285
298
  /**
286
299
  * This API is used to delete Anti-DDoS access rate limit configurations.
287
300
  * @param {DeleteDDoSSpeedLimitConfigRequest} req
@@ -327,14 +340,14 @@ class AntiddosClient extends AbstractClient {
327
340
  }
328
341
 
329
342
  /**
330
- * This API is used to modify Anti-DDoS feature filtering rules.
331
- * @param {ModifyPacketFilterConfigRequest} req
332
- * @param {function(string, ModifyPacketFilterConfigResponse):void} cb
343
+ * This API is used to modify intelligent scheduling domain names.
344
+ * @param {ModifyDomainUsrNameRequest} req
345
+ * @param {function(string, ModifyDomainUsrNameResponse):void} cb
333
346
  * @public
334
347
  */
335
- ModifyPacketFilterConfig(req, cb) {
336
- let resp = new ModifyPacketFilterConfigResponse();
337
- this.request("ModifyPacketFilterConfig", req, resp, cb);
348
+ ModifyDomainUsrName(req, cb) {
349
+ let resp = new ModifyDomainUsrNameResponse();
350
+ this.request("ModifyDomainUsrName", req, resp, cb);
338
351
  }
339
352
 
340
353
  /**
@@ -3940,6 +3940,56 @@ class CreateDDoSSpeedLimitConfigResponse extends AbstractModel {
3940
3940
  }
3941
3941
  }
3942
3942
 
3943
+ /**
3944
+ * DescribeNewL7RulesErrHealth response structure.
3945
+ * @class
3946
+ */
3947
+ class DescribeNewL7RulesErrHealthResponse extends AbstractModel {
3948
+ constructor(){
3949
+ super();
3950
+
3951
+ /**
3952
+ * List of rules with exceptions. `Key`: Rule ID, `Value`: Exception IPs and error message.
3953
+ * @type {Array.<KeyValue> || null}
3954
+ */
3955
+ this.ErrHealths = null;
3956
+
3957
+ /**
3958
+ * Total number of rules with exceptions
3959
+ * @type {number || null}
3960
+ */
3961
+ this.Total = null;
3962
+
3963
+ /**
3964
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3965
+ * @type {string || null}
3966
+ */
3967
+ this.RequestId = null;
3968
+
3969
+ }
3970
+
3971
+ /**
3972
+ * @private
3973
+ */
3974
+ deserialize(params) {
3975
+ if (!params) {
3976
+ return;
3977
+ }
3978
+
3979
+ if (params.ErrHealths) {
3980
+ this.ErrHealths = new Array();
3981
+ for (let z in params.ErrHealths) {
3982
+ let obj = new KeyValue();
3983
+ obj.deserialize(params.ErrHealths[z]);
3984
+ this.ErrHealths.push(obj);
3985
+ }
3986
+ }
3987
+ this.Total = 'Total' in params ? params.Total : null;
3988
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3989
+
3990
+ }
3991
+ }
3992
+
3943
3993
  /**
3944
3994
  * DeletePacketFilterConfig request structure.
3945
3995
  * @class
@@ -7344,6 +7394,41 @@ class DescribeListDDoSAIResponse extends AbstractModel {
7344
7394
  }
7345
7395
  }
7346
7396
 
7397
+ /**
7398
+ * DescribeNewL7RulesErrHealth request structure.
7399
+ * @class
7400
+ */
7401
+ class DescribeNewL7RulesErrHealthRequest extends AbstractModel {
7402
+ constructor(){
7403
+ super();
7404
+
7405
+ /**
7406
+ * Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
7407
+ * @type {string || null}
7408
+ */
7409
+ this.Business = null;
7410
+
7411
+ /**
7412
+ * List of rule IDs
7413
+ * @type {Array.<string> || null}
7414
+ */
7415
+ this.RuleIdList = null;
7416
+
7417
+ }
7418
+
7419
+ /**
7420
+ * @private
7421
+ */
7422
+ deserialize(params) {
7423
+ if (!params) {
7424
+ return;
7425
+ }
7426
+ this.Business = 'Business' in params ? params.Business : null;
7427
+ this.RuleIdList = 'RuleIdList' in params ? params.RuleIdList : null;
7428
+
7429
+ }
7430
+ }
7431
+
7347
7432
  /**
7348
7433
  * ModifyCCPrecisionPolicy response structure.
7349
7434
  * @class
@@ -9003,6 +9088,12 @@ Note: This field may return `null`, indicating that no valid value can be obtain
9003
9088
  */
9004
9089
  this.IpCountNewFlag = null;
9005
9090
 
9091
+ /**
9092
+ * The version of attack defense package
9093
+ * @type {number || null}
9094
+ */
9095
+ this.VitalityVersion = null;
9096
+
9006
9097
  }
9007
9098
 
9008
9099
  /**
@@ -9068,6 +9159,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
9068
9159
  }
9069
9160
  }
9070
9161
  this.IpCountNewFlag = 'IpCountNewFlag' in params ? params.IpCountNewFlag : null;
9162
+ this.VitalityVersion = 'VitalityVersion' in params ? params.VitalityVersion : null;
9071
9163
 
9072
9164
  }
9073
9165
  }
@@ -10655,6 +10747,7 @@ module.exports = {
10655
10747
  CreateCcGeoIPBlockConfigRequest: CreateCcGeoIPBlockConfigRequest,
10656
10748
  ModifyDomainUsrNameRequest: ModifyDomainUsrNameRequest,
10657
10749
  CreateDDoSSpeedLimitConfigResponse: CreateDDoSSpeedLimitConfigResponse,
10750
+ DescribeNewL7RulesErrHealthResponse: DescribeNewL7RulesErrHealthResponse,
10658
10751
  DeletePacketFilterConfigRequest: DeletePacketFilterConfigRequest,
10659
10752
  DescribeListDDoSGeoIPBlockConfigResponse: DescribeListDDoSGeoIPBlockConfigResponse,
10660
10753
  DescribeBasicDeviceStatusResponse: DescribeBasicDeviceStatusResponse,
@@ -10714,6 +10807,7 @@ module.exports = {
10714
10807
  WaterPrintRelation: WaterPrintRelation,
10715
10808
  InsL7Rules: InsL7Rules,
10716
10809
  DescribeListDDoSAIResponse: DescribeListDDoSAIResponse,
10810
+ DescribeNewL7RulesErrHealthRequest: DescribeNewL7RulesErrHealthRequest,
10717
10811
  ModifyCCPrecisionPolicyResponse: ModifyCCPrecisionPolicyResponse,
10718
10812
  CcGeoIPBlockConfig: CcGeoIPBlockConfig,
10719
10813
  ModifyDDoSSpeedLimitConfigRequest: ModifyDDoSSpeedLimitConfigRequest,
@@ -730,11 +730,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
730
730
  this.Switch = null;
731
731
 
732
732
  /**
733
- * HTTP2 configuration switch
733
+ * Whether to enable HTTP2
734
734
  `on`: Enable
735
735
  `off`: Disable
736
- Enabling HTTPS acceleration for the first time will enable HTTP2 configuration by default.
737
- Note: This field may return `null`, indicating that no valid value can be obtained.
736
+ Note: this field may return `null`, indicating that no valid values can be obtained.
738
737
  * @type {string || null}
739
738
  */
740
739
  this.Http2 = null;
@@ -6724,7 +6723,6 @@ class DomainAreaConfig extends AbstractModel {
6724
6723
  * HTTPS acceleration server certificate configuration:
6725
6724
  + Supports deployment with certificates that are being hosted by the SSL Certificate Services
6726
6725
  + Supports uploading certificates of PEM format for deployment
6727
- Note: when uploading certificates of PEM format, the Base64 encoding is required.
6728
6726
  * @class
6729
6727
  */
6730
6728
  class ServerCert extends AbstractModel {
@@ -9124,7 +9122,7 @@ This feature is in beta test.
9124
9122
  this.DisableRange = null;
9125
9123
 
9126
9124
  /**
9127
- *
9125
+ * Custom HTTP request headers (Up to 20). `Name`: Up to 128 characters. `Value`: Up to 1024 characters.
9128
9126
  * @type {Array.<HTTPHeader> || null}
9129
9127
  */
9130
9128
  this.Headers = null;
@@ -12177,7 +12175,6 @@ Note: this field may return `null`, indicating that no valid values can be obtai
12177
12175
 
12178
12176
  /**
12179
12177
  * Action taken when threshold is reached
12180
- `RESOLVE_DNS_TO_ORIGIN`: Requests will be forwarded to the origin server. This is only supported for domain names of external origin.
12181
12178
  `RETURN_404`: A 404 error will be returned for all requests.
12182
12179
  Note: this field may return `null`, indicating that no valid values can be obtained.
12183
12180
  * @type {string || null}
@@ -15167,7 +15164,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
15167
15164
  }
15168
15165
 
15169
15166
  /**
15170
- *
15167
+ * HTTP request header
15171
15168
  * @class
15172
15169
  */
15173
15170
  class HTTPHeader extends AbstractModel {
@@ -15175,13 +15172,13 @@ class HTTPHeader extends AbstractModel {
15175
15172
  super();
15176
15173
 
15177
15174
  /**
15178
- *
15175
+ * Request header name
15179
15176
  * @type {string || null}
15180
15177
  */
15181
15178
  this.Name = null;
15182
15179
 
15183
15180
  /**
15184
- *
15181
+ * Request header value
15185
15182
  * @type {string || null}
15186
15183
  */
15187
15184
  this.Value = null;