tencentcloud-sdk-nodejs-intl-en 3.0.284 → 3.0.285

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.284",
3
+ "version": "3.0.285",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -35,6 +35,7 @@ const DescribeListBGPInstancesRequest = models.DescribeListBGPInstancesRequest;
35
35
  const KeyValue = models.KeyValue;
36
36
  const DeleteDDoSSpeedLimitConfigRequest = models.DeleteDDoSSpeedLimitConfigRequest;
37
37
  const CreatePacketFilterConfigResponse = models.CreatePacketFilterConfigResponse;
38
+ const DescribeListWaterPrintConfigRequest = models.DescribeListWaterPrintConfigRequest;
38
39
  const CreateL7RuleCertsRequest = models.CreateL7RuleCertsRequest;
39
40
  const DeleteDDoSGeoIPBlockConfigRequest = models.DeleteDDoSGeoIPBlockConfigRequest;
40
41
  const CreateIPAlarmThresholdConfigRequest = models.CreateIPAlarmThresholdConfigRequest;
@@ -106,6 +107,7 @@ const CertIdInsL7Rules = models.CertIdInsL7Rules;
106
107
  const CreateDefaultAlarmThresholdResponse = models.CreateDefaultAlarmThresholdResponse;
107
108
  const DescribeListIPAlarmConfigResponse = models.DescribeListIPAlarmConfigResponse;
108
109
  const SuccessCode = models.SuccessCode;
110
+ const ProtocolPort = models.ProtocolPort;
109
111
  const DescribeListBGPInstancesResponse = models.DescribeListBGPInstancesResponse;
110
112
  const DescribeListDDoSAIRequest = models.DescribeListDDoSAIRequest;
111
113
  const DescribeListIPAlarmConfigRequest = models.DescribeListIPAlarmConfigRequest;
@@ -123,24 +125,28 @@ const ModifyDDoSSpeedLimitConfigRequest = models.ModifyDDoSSpeedLimitConfigReque
123
125
  const AssociateDDoSEipAddressRequest = models.AssociateDDoSEipAddressRequest;
124
126
  const AssociateDDoSEipLoadBalancerResponse = models.AssociateDDoSEipLoadBalancerResponse;
125
127
  const CreateBlackWhiteIpListRequest = models.CreateBlackWhiteIpListRequest;
128
+ const DescribeBizTrendResponse = models.DescribeBizTrendResponse;
126
129
  const CreateBoundIPResponse = models.CreateBoundIPResponse;
127
130
  const SpeedValue = models.SpeedValue;
128
131
  const SwitchWaterPrintConfigRequest = models.SwitchWaterPrintConfigRequest;
129
132
  const DescribeListSchedulingDomainResponse = models.DescribeListSchedulingDomainResponse;
133
+ const DescribeCCTrendResponse = models.DescribeCCTrendResponse;
130
134
  const CreateSchedulingDomainResponse = models.CreateSchedulingDomainResponse;
131
135
  const EipProductInfo = models.EipProductInfo;
132
136
  const CreateDDoSAIResponse = models.CreateDDoSAIResponse;
133
137
  const DDoSGeoIPBlockConfigRelation = models.DDoSGeoIPBlockConfigRelation;
134
138
  const DescribeListProtocolBlockConfigRequest = models.DescribeListProtocolBlockConfigRequest;
135
139
  const RegionInfo = models.RegionInfo;
136
- const DescribeListWaterPrintConfigRequest = models.DescribeListWaterPrintConfigRequest;
140
+ const DescribeDDoSTrendRequest = models.DescribeDDoSTrendRequest;
137
141
  const ModifyDDoSGeoIPBlockConfigResponse = models.ModifyDDoSGeoIPBlockConfigResponse;
138
142
  const BGPInstance = models.BGPInstance;
143
+ const DescribeBizTrendRequest = models.DescribeBizTrendRequest;
139
144
  const DescribeListWaterPrintConfigResponse = models.DescribeListWaterPrintConfigResponse;
140
145
  const BGPInstanceUsages = models.BGPInstanceUsages;
141
146
  const DeleteDDoSSpeedLimitConfigResponse = models.DeleteDDoSSpeedLimitConfigResponse;
142
147
  const CreateWaterPrintKeyResponse = models.CreateWaterPrintKeyResponse;
143
148
  const DeleteDDoSGeoIPBlockConfigResponse = models.DeleteDDoSGeoIPBlockConfigResponse;
149
+ const DescribeDDoSTrendResponse = models.DescribeDDoSTrendResponse;
144
150
  const DescribeListBlackWhiteIpListRequest = models.DescribeListBlackWhiteIpListRequest;
145
151
  const ModifyDDoSSpeedLimitConfigResponse = models.ModifyDDoSSpeedLimitConfigResponse;
146
152
  const SchedulingDomainInfo = models.SchedulingDomainInfo;
@@ -148,6 +154,7 @@ const DescribeDefaultAlarmThresholdRequest = models.DescribeDefaultAlarmThreshol
148
154
  const WaterPrintKey = models.WaterPrintKey;
149
155
  const PacketFilterRelation = models.PacketFilterRelation;
150
156
  const CreatePacketFilterConfigRequest = models.CreatePacketFilterConfigRequest;
157
+ const DescribeCCTrendRequest = models.DescribeCCTrendRequest;
151
158
 
152
159
 
153
160
  /**
@@ -216,14 +223,14 @@ class AntiddosClient extends AbstractClient {
216
223
  }
217
224
 
218
225
  /**
219
- * This API is used to query layer-7 rules matched with certificate IDs.
220
- * @param {DescribeL7RulesBySSLCertIdRequest} req
221
- * @param {function(string, DescribeL7RulesBySSLCertIdResponse):void} cb
226
+ * This API is used to get the traffic flow data collected in the specified period.
227
+ * @param {DescribeBizTrendRequest} req
228
+ * @param {function(string, DescribeBizTrendResponse):void} cb
222
229
  * @public
223
230
  */
224
- DescribeL7RulesBySSLCertId(req, cb) {
225
- let resp = new DescribeL7RulesBySSLCertIdResponse();
226
- this.request("DescribeL7RulesBySSLCertId", req, resp, cb);
231
+ DescribeBizTrend(req, cb) {
232
+ let resp = new DescribeBizTrendResponse();
233
+ this.request("DescribeBizTrend", req, resp, cb);
227
234
  }
228
235
 
229
236
  /**
@@ -403,6 +410,17 @@ class AntiddosClient extends AbstractClient {
403
410
  this.request("DescribeListDDoSAI", req, resp, cb);
404
411
  }
405
412
 
413
+ /**
414
+ * This API is used to get CC attack data, including total peak requests (QPS) and attack requests (QPS).
415
+ * @param {DescribeCCTrendRequest} req
416
+ * @param {function(string, DescribeCCTrendResponse):void} cb
417
+ * @public
418
+ */
419
+ DescribeCCTrend(req, cb) {
420
+ let resp = new DescribeCCTrendResponse();
421
+ this.request("DescribeCCTrend", req, resp, cb);
422
+ }
423
+
406
424
  /**
407
425
  * This API is used to set the default alarm threshold of an IP.
408
426
  * @param {CreateIPAlarmThresholdConfigRequest} req
@@ -414,6 +432,17 @@ class AntiddosClient extends AbstractClient {
414
432
  this.request("CreateIPAlarmThresholdConfig", req, resp, cb);
415
433
  }
416
434
 
435
+ /**
436
+ * This API is used to query layer-7 rules matched with certificate IDs.
437
+ * @param {DescribeL7RulesBySSLCertIdRequest} req
438
+ * @param {function(string, DescribeL7RulesBySSLCertIdResponse):void} cb
439
+ * @public
440
+ */
441
+ DescribeL7RulesBySSLCertId(req, cb) {
442
+ let resp = new DescribeL7RulesBySSLCertIdResponse();
443
+ this.request("DescribeL7RulesBySSLCertId", req, resp, cb);
444
+ }
445
+
417
446
  /**
418
447
  * This API is used to get a list of Anti-DDoS feature filtering rules.
419
448
  * @param {DescribeListPacketFilterConfigRequest} req
@@ -503,6 +532,17 @@ class AntiddosClient extends AbstractClient {
503
532
  this.request("CreateBlackWhiteIpList", req, resp, cb);
504
533
  }
505
534
 
535
+ /**
536
+ * This API is used to get DDoS attack traffic bandwidth and attack packet rate.
537
+ * @param {DescribeDDoSTrendRequest} req
538
+ * @param {function(string, DescribeDDoSTrendResponse):void} cb
539
+ * @public
540
+ */
541
+ DescribeDDoSTrend(req, cb) {
542
+ let resp = new DescribeDDoSTrendResponse();
543
+ this.request("DescribeDDoSTrend", req, resp, cb);
544
+ }
545
+
506
546
  /**
507
547
  * This API is used to delete an Anti-DDoS IP blocklist/allowlist.
508
548
  * @param {DeleteBlackWhiteIpListRequest} req
@@ -870,6 +870,55 @@ class CreatePacketFilterConfigResponse extends AbstractModel {
870
870
  }
871
871
  }
872
872
 
873
+ /**
874
+ * DescribeListWaterPrintConfig request structure.
875
+ * @class
876
+ */
877
+ class DescribeListWaterPrintConfigRequest extends AbstractModel {
878
+ constructor(){
879
+ super();
880
+
881
+ /**
882
+ * Starting offset of the page. Value: (number of pages – 1) * items per page.
883
+ * @type {number || null}
884
+ */
885
+ this.Offset = null;
886
+
887
+ /**
888
+ * Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
889
+ * @type {number || null}
890
+ */
891
+ this.Limit = null;
892
+
893
+ /**
894
+ * Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
895
+ * @type {string || null}
896
+ */
897
+ this.FilterInstanceId = null;
898
+
899
+ /**
900
+ * IP filter
901
+ * @type {string || null}
902
+ */
903
+ this.FilterIp = null;
904
+
905
+ }
906
+
907
+ /**
908
+ * @private
909
+ */
910
+ deserialize(params) {
911
+ if (!params) {
912
+ return;
913
+ }
914
+ this.Offset = 'Offset' in params ? params.Offset : null;
915
+ this.Limit = 'Limit' in params ? params.Limit : null;
916
+ this.FilterInstanceId = 'FilterInstanceId' in params ? params.FilterInstanceId : null;
917
+ this.FilterIp = 'FilterIp' in params ? params.FilterIp : null;
918
+
919
+ }
920
+ }
921
+
873
922
  /**
874
923
  * CreateL7RuleCerts request structure.
875
924
  * @class
@@ -2794,7 +2843,10 @@ class DescribeBasicDeviceStatusResponse extends AbstractModel {
2794
2843
  super();
2795
2844
 
2796
2845
  /**
2797
- * The resource and status is returned.
2846
+ * Status of the specified Anti-DDoS resource. Valid values:
2847
+ `1`: The IP is blocked.
2848
+ `2`: The P is normal.
2849
+ `3`: The IP is being attacked.
2798
2850
  * @type {Array.<KeyValue> || null}
2799
2851
  */
2800
2852
  this.Data = null;
@@ -4168,6 +4220,41 @@ class SuccessCode extends AbstractModel {
4168
4220
  }
4169
4221
  }
4170
4222
 
4223
+ /**
4224
+ * "Protocol" and "Port" parameters
4225
+ * @class
4226
+ */
4227
+ class ProtocolPort extends AbstractModel {
4228
+ constructor(){
4229
+ super();
4230
+
4231
+ /**
4232
+ * Protocol. Valid values: `tcp`, `udp`
4233
+ * @type {string || null}
4234
+ */
4235
+ this.Protocol = null;
4236
+
4237
+ /**
4238
+ * Port
4239
+ * @type {number || null}
4240
+ */
4241
+ this.Port = null;
4242
+
4243
+ }
4244
+
4245
+ /**
4246
+ * @private
4247
+ */
4248
+ deserialize(params) {
4249
+ if (!params) {
4250
+ return;
4251
+ }
4252
+ this.Protocol = 'Protocol' in params ? params.Protocol : null;
4253
+ this.Port = 'Port' in params ? params.Port : null;
4254
+
4255
+ }
4256
+ }
4257
+
4171
4258
  /**
4172
4259
  * DescribeListBGPInstances response structure.
4173
4260
  * @class
@@ -5090,6 +5177,48 @@ class CreateBlackWhiteIpListRequest extends AbstractModel {
5090
5177
  }
5091
5178
  }
5092
5179
 
5180
+ /**
5181
+ * DescribeBizTrend response structure.
5182
+ * @class
5183
+ */
5184
+ class DescribeBizTrendResponse extends AbstractModel {
5185
+ constructor(){
5186
+ super();
5187
+
5188
+ /**
5189
+ * Value at a time point on the curve
5190
+ * @type {Array.<number> || null}
5191
+ */
5192
+ this.DataList = null;
5193
+
5194
+ /**
5195
+ * Statistical dimension
5196
+ * @type {string || null}
5197
+ */
5198
+ this.MetricName = null;
5199
+
5200
+ /**
5201
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
5202
+ * @type {string || null}
5203
+ */
5204
+ this.RequestId = null;
5205
+
5206
+ }
5207
+
5208
+ /**
5209
+ * @private
5210
+ */
5211
+ deserialize(params) {
5212
+ if (!params) {
5213
+ return;
5214
+ }
5215
+ this.DataList = 'DataList' in params ? params.DataList : null;
5216
+ this.MetricName = 'MetricName' in params ? params.MetricName : null;
5217
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5218
+
5219
+ }
5220
+ }
5221
+
5093
5222
  /**
5094
5223
  * CreateBoundIP response structure.
5095
5224
  * @class
@@ -5253,6 +5382,98 @@ class DescribeListSchedulingDomainResponse extends AbstractModel {
5253
5382
  }
5254
5383
  }
5255
5384
 
5385
+ /**
5386
+ * DescribeCCTrend response structure.
5387
+ * @class
5388
+ */
5389
+ class DescribeCCTrendResponse extends AbstractModel {
5390
+ constructor(){
5391
+ super();
5392
+
5393
+ /**
5394
+ * Number of values returned
5395
+ * @type {number || null}
5396
+ */
5397
+ this.Count = null;
5398
+
5399
+ /**
5400
+ * Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic
5401
+ * @type {string || null}
5402
+ */
5403
+ this.Business = null;
5404
+
5405
+ /**
5406
+ * Instance IP
5407
+ * @type {string || null}
5408
+ */
5409
+ this.Ip = null;
5410
+
5411
+ /**
5412
+ * Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day)
5413
+ * @type {number || null}
5414
+ */
5415
+ this.Period = null;
5416
+
5417
+ /**
5418
+ * Beginning of the time range for the query
5419
+ * @type {string || null}
5420
+ */
5421
+ this.StartTime = null;
5422
+
5423
+ /**
5424
+ * End of the time range for the query
5425
+ * @type {string || null}
5426
+ */
5427
+ this.EndTime = null;
5428
+
5429
+ /**
5430
+ * Value array
5431
+ * @type {Array.<number> || null}
5432
+ */
5433
+ this.Data = null;
5434
+
5435
+ /**
5436
+ * Instance ID
5437
+ Note: this field may return `null`, indicating that no valid values can be obtained.
5438
+ * @type {string || null}
5439
+ */
5440
+ this.Id = null;
5441
+
5442
+ /**
5443
+ * Metric. Valid values: `inqps`: total peak requests; `dropqps`: peak attack requests
5444
+ * @type {string || null}
5445
+ */
5446
+ this.MetricName = null;
5447
+
5448
+ /**
5449
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
5450
+ * @type {string || null}
5451
+ */
5452
+ this.RequestId = null;
5453
+
5454
+ }
5455
+
5456
+ /**
5457
+ * @private
5458
+ */
5459
+ deserialize(params) {
5460
+ if (!params) {
5461
+ return;
5462
+ }
5463
+ this.Count = 'Count' in params ? params.Count : null;
5464
+ this.Business = 'Business' in params ? params.Business : null;
5465
+ this.Ip = 'Ip' in params ? params.Ip : null;
5466
+ this.Period = 'Period' in params ? params.Period : null;
5467
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
5468
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
5469
+ this.Data = 'Data' in params ? params.Data : null;
5470
+ this.Id = 'Id' in params ? params.Id : null;
5471
+ this.MetricName = 'MetricName' in params ? params.MetricName : null;
5472
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5473
+
5474
+ }
5475
+ }
5476
+
5256
5477
  /**
5257
5478
  * CreateSchedulingDomain response structure.
5258
5479
  * @class
@@ -5501,36 +5722,54 @@ class RegionInfo extends AbstractModel {
5501
5722
  }
5502
5723
 
5503
5724
  /**
5504
- * DescribeListWaterPrintConfig request structure.
5725
+ * DescribeDDoSTrend request structure.
5505
5726
  * @class
5506
5727
  */
5507
- class DescribeListWaterPrintConfigRequest extends AbstractModel {
5728
+ class DescribeDDoSTrendRequest extends AbstractModel {
5508
5729
  constructor(){
5509
5730
  super();
5510
5731
 
5511
5732
  /**
5512
- * Starting offset of the page. Value: (number of pages 1) * items per page.
5513
- * @type {number || null}
5733
+ * Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic
5734
+ * @type {string || null}
5514
5735
  */
5515
- this.Offset = null;
5736
+ this.Business = null;
5516
5737
 
5517
5738
  /**
5518
- * Number of items per page. The default value is 20 when `Limit = 0`. The maximum value is 100.
5739
+ * Instance IP
5740
+ * @type {string || null}
5741
+ */
5742
+ this.Ip = null;
5743
+
5744
+ /**
5745
+ * Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day)
5519
5746
  * @type {number || null}
5520
5747
  */
5521
- this.Limit = null;
5748
+ this.Period = null;
5522
5749
 
5523
5750
  /**
5524
- * Anti-DDoS instance ID filter. Anti-DDoS instance prefix wildcard search is supported. For example, you can filter Anti-DDoS Pro instances by `bgp-*`.
5751
+ * Beginning of the time range for the query
5525
5752
  * @type {string || null}
5526
5753
  */
5527
- this.FilterInstanceId = null;
5754
+ this.StartTime = null;
5528
5755
 
5529
5756
  /**
5530
- * IP filter
5757
+ * End of the time range for the query
5531
5758
  * @type {string || null}
5532
5759
  */
5533
- this.FilterIp = null;
5760
+ this.EndTime = null;
5761
+
5762
+ /**
5763
+ * Metric. Valid values: `bps`: attack traffic bandwidth; `pps`: attack packet rate
5764
+ * @type {string || null}
5765
+ */
5766
+ this.MetricName = null;
5767
+
5768
+ /**
5769
+ * Instance ID. Leave this field empty when `Business` is `basic`, as basic protection does not require an instance.
5770
+ * @type {string || null}
5771
+ */
5772
+ this.Id = null;
5534
5773
 
5535
5774
  }
5536
5775
 
@@ -5541,10 +5780,13 @@ class DescribeListWaterPrintConfigRequest extends AbstractModel {
5541
5780
  if (!params) {
5542
5781
  return;
5543
5782
  }
5544
- this.Offset = 'Offset' in params ? params.Offset : null;
5545
- this.Limit = 'Limit' in params ? params.Limit : null;
5546
- this.FilterInstanceId = 'FilterInstanceId' in params ? params.FilterInstanceId : null;
5547
- this.FilterIp = 'FilterIp' in params ? params.FilterIp : null;
5783
+ this.Business = 'Business' in params ? params.Business : null;
5784
+ this.Ip = 'Ip' in params ? params.Ip : null;
5785
+ this.Period = 'Period' in params ? params.Period : null;
5786
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
5787
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
5788
+ this.MetricName = 'MetricName' in params ? params.MetricName : null;
5789
+ this.Id = 'Id' in params ? params.Id : null;
5548
5790
 
5549
5791
  }
5550
5792
  }
@@ -5734,6 +5976,98 @@ Note: This field may return `null`, indicating that no valid value can be obtain
5734
5976
  }
5735
5977
  }
5736
5978
 
5979
+ /**
5980
+ * DescribeBizTrend request structure.
5981
+ * @class
5982
+ */
5983
+ class DescribeBizTrendRequest extends AbstractModel {
5984
+ constructor(){
5985
+ super();
5986
+
5987
+ /**
5988
+ * Statistical method. Valid values: `max`, `min`, `avg`, `sum`. It can only be `max` if the statistical dimension is traffic rate or packet rate.
5989
+ * @type {string || null}
5990
+ */
5991
+ this.Statistics = null;
5992
+
5993
+ /**
5994
+ * Anti-DDoS service type (`bgpip`: Anti-DDoS Advanced)
5995
+ * @type {string || null}
5996
+ */
5997
+ this.Business = null;
5998
+
5999
+ /**
6000
+ * Sampling interval. Valid values: `300`, `1800`, `3600`, `21600`, `86400`
6001
+ * @type {number || null}
6002
+ */
6003
+ this.Period = null;
6004
+
6005
+ /**
6006
+ * Beginning of the time range for the query, such as `2020-09-22 00:00:00`.
6007
+ * @type {string || null}
6008
+ */
6009
+ this.StartTime = null;
6010
+
6011
+ /**
6012
+ * End of the time range for the query, such as `2020-09-22 00:00:00`.
6013
+ * @type {string || null}
6014
+ */
6015
+ this.EndTime = null;
6016
+
6017
+ /**
6018
+ * Instance ID
6019
+ * @type {string || null}
6020
+ */
6021
+ this.Id = null;
6022
+
6023
+ /**
6024
+ * Metric. Valid values: `connum`, `new_conn`, `inactive_conn`, `intraffic`, `outtraffic`, `inpkg`, `outpkg`, `qps`
6025
+ * @type {string || null}
6026
+ */
6027
+ this.MetricName = null;
6028
+
6029
+ /**
6030
+ * You can query data by specifying a domain name when the metric is `qps`.
6031
+ * @type {string || null}
6032
+ */
6033
+ this.Domain = null;
6034
+
6035
+ /**
6036
+ * Protocol and port list, which is valid when the metric is `connum`, `new_conn` or `inactive_conn`. Valid protocols: `TCP`, `UDP`, `HTTP`, `HTTPS`
6037
+ * @type {Array.<ProtocolPort> || null}
6038
+ */
6039
+ this.ProtoInfo = null;
6040
+
6041
+ }
6042
+
6043
+ /**
6044
+ * @private
6045
+ */
6046
+ deserialize(params) {
6047
+ if (!params) {
6048
+ return;
6049
+ }
6050
+ this.Statistics = 'Statistics' in params ? params.Statistics : null;
6051
+ this.Business = 'Business' in params ? params.Business : null;
6052
+ this.Period = 'Period' in params ? params.Period : null;
6053
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
6054
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
6055
+ this.Id = 'Id' in params ? params.Id : null;
6056
+ this.MetricName = 'MetricName' in params ? params.MetricName : null;
6057
+ this.Domain = 'Domain' in params ? params.Domain : null;
6058
+
6059
+ if (params.ProtoInfo) {
6060
+ this.ProtoInfo = new Array();
6061
+ for (let z in params.ProtoInfo) {
6062
+ let obj = new ProtocolPort();
6063
+ obj.deserialize(params.ProtoInfo[z]);
6064
+ this.ProtoInfo.push(obj);
6065
+ }
6066
+ }
6067
+
6068
+ }
6069
+ }
6070
+
5737
6071
  /**
5738
6072
  * DescribeListWaterPrintConfig response structure.
5739
6073
  * @class
@@ -5910,6 +6244,98 @@ class DeleteDDoSGeoIPBlockConfigResponse extends AbstractModel {
5910
6244
  }
5911
6245
  }
5912
6246
 
6247
+ /**
6248
+ * DescribeDDoSTrend response structure.
6249
+ * @class
6250
+ */
6251
+ class DescribeDDoSTrendResponse extends AbstractModel {
6252
+ constructor(){
6253
+ super();
6254
+
6255
+ /**
6256
+ * Number of values returned
6257
+ * @type {number || null}
6258
+ */
6259
+ this.Count = null;
6260
+
6261
+ /**
6262
+ * Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic
6263
+ * @type {string || null}
6264
+ */
6265
+ this.Business = null;
6266
+
6267
+ /**
6268
+ * Instance IP
6269
+ * @type {string || null}
6270
+ */
6271
+ this.Ip = null;
6272
+
6273
+ /**
6274
+ * Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day)
6275
+ * @type {number || null}
6276
+ */
6277
+ this.Period = null;
6278
+
6279
+ /**
6280
+ * Beginning of the time range for the query
6281
+ * @type {string || null}
6282
+ */
6283
+ this.StartTime = null;
6284
+
6285
+ /**
6286
+ * End of the time range for the query
6287
+ * @type {string || null}
6288
+ */
6289
+ this.EndTime = null;
6290
+
6291
+ /**
6292
+ * Value array. The unit for attack traffic bandwidth is Mbps, and that for the packet rate is pps.
6293
+ * @type {Array.<number> || null}
6294
+ */
6295
+ this.Data = null;
6296
+
6297
+ /**
6298
+ * Instance ID
6299
+ Note: this field may return `null`, indicating that no valid values can be obtained.
6300
+ * @type {string || null}
6301
+ */
6302
+ this.Id = null;
6303
+
6304
+ /**
6305
+ * Metric. Valid values: `bps`: attack traffic bandwidth; `pps`: attack packet rate
6306
+ * @type {string || null}
6307
+ */
6308
+ this.MetricName = null;
6309
+
6310
+ /**
6311
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
6312
+ * @type {string || null}
6313
+ */
6314
+ this.RequestId = null;
6315
+
6316
+ }
6317
+
6318
+ /**
6319
+ * @private
6320
+ */
6321
+ deserialize(params) {
6322
+ if (!params) {
6323
+ return;
6324
+ }
6325
+ this.Count = 'Count' in params ? params.Count : null;
6326
+ this.Business = 'Business' in params ? params.Business : null;
6327
+ this.Ip = 'Ip' in params ? params.Ip : null;
6328
+ this.Period = 'Period' in params ? params.Period : null;
6329
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
6330
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
6331
+ this.Data = 'Data' in params ? params.Data : null;
6332
+ this.Id = 'Id' in params ? params.Id : null;
6333
+ this.MetricName = 'MetricName' in params ? params.MetricName : null;
6334
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
6335
+
6336
+ }
6337
+ }
6338
+
5913
6339
  /**
5914
6340
  * DescribeListBlackWhiteIpList request structure.
5915
6341
  * @class
@@ -6262,6 +6688,83 @@ class CreatePacketFilterConfigRequest extends AbstractModel {
6262
6688
  }
6263
6689
  }
6264
6690
 
6691
+ /**
6692
+ * DescribeCCTrend request structure.
6693
+ * @class
6694
+ */
6695
+ class DescribeCCTrendRequest extends AbstractModel {
6696
+ constructor(){
6697
+ super();
6698
+
6699
+ /**
6700
+ * Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (Single IP); `bgp-multip`: Anti-DDoS Pro (Multi-IP); `net`: Anti-DDoS Ultimate; `basic`: Anti-DDoS Basic
6701
+ * @type {string || null}
6702
+ */
6703
+ this.Business = null;
6704
+
6705
+ /**
6706
+ * Instance IP
6707
+ * @type {string || null}
6708
+ */
6709
+ this.Ip = null;
6710
+
6711
+ /**
6712
+ * Sampling period. Valid values: `300` (5 minutes), `3600` (one hour), `86400` (one day)
6713
+ * @type {number || null}
6714
+ */
6715
+ this.Period = null;
6716
+
6717
+ /**
6718
+ * Beginning of the time range for the query
6719
+ * @type {string || null}
6720
+ */
6721
+ this.StartTime = null;
6722
+
6723
+ /**
6724
+ * End of the time range for the query
6725
+ * @type {string || null}
6726
+ */
6727
+ this.EndTime = null;
6728
+
6729
+ /**
6730
+ * Metric. Valid values: `inqps`: total peak requests; `dropqps`: peak attack requests
6731
+ * @type {string || null}
6732
+ */
6733
+ this.MetricName = null;
6734
+
6735
+ /**
6736
+ * (Optional) Domain name
6737
+ * @type {string || null}
6738
+ */
6739
+ this.Domain = null;
6740
+
6741
+ /**
6742
+ * Instance ID. Leave this field empty when `Business` is `basic`, as basic protection does not require an instance.
6743
+ * @type {string || null}
6744
+ */
6745
+ this.Id = null;
6746
+
6747
+ }
6748
+
6749
+ /**
6750
+ * @private
6751
+ */
6752
+ deserialize(params) {
6753
+ if (!params) {
6754
+ return;
6755
+ }
6756
+ this.Business = 'Business' in params ? params.Business : null;
6757
+ this.Ip = 'Ip' in params ? params.Ip : null;
6758
+ this.Period = 'Period' in params ? params.Period : null;
6759
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
6760
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
6761
+ this.MetricName = 'MetricName' in params ? params.MetricName : null;
6762
+ this.Domain = 'Domain' in params ? params.Domain : null;
6763
+ this.Id = 'Id' in params ? params.Id : null;
6764
+
6765
+ }
6766
+ }
6767
+
6265
6768
  module.exports = {
6266
6769
  CreateDefaultAlarmThresholdRequest: CreateDefaultAlarmThresholdRequest,
6267
6770
  DescribeListBGPIPInstancesResponse: DescribeListBGPIPInstancesResponse,
@@ -6282,6 +6785,7 @@ module.exports = {
6282
6785
  KeyValue: KeyValue,
6283
6786
  DeleteDDoSSpeedLimitConfigRequest: DeleteDDoSSpeedLimitConfigRequest,
6284
6787
  CreatePacketFilterConfigResponse: CreatePacketFilterConfigResponse,
6788
+ DescribeListWaterPrintConfigRequest: DescribeListWaterPrintConfigRequest,
6285
6789
  CreateL7RuleCertsRequest: CreateL7RuleCertsRequest,
6286
6790
  DeleteDDoSGeoIPBlockConfigRequest: DeleteDDoSGeoIPBlockConfigRequest,
6287
6791
  CreateIPAlarmThresholdConfigRequest: CreateIPAlarmThresholdConfigRequest,
@@ -6353,6 +6857,7 @@ module.exports = {
6353
6857
  CreateDefaultAlarmThresholdResponse: CreateDefaultAlarmThresholdResponse,
6354
6858
  DescribeListIPAlarmConfigResponse: DescribeListIPAlarmConfigResponse,
6355
6859
  SuccessCode: SuccessCode,
6860
+ ProtocolPort: ProtocolPort,
6356
6861
  DescribeListBGPInstancesResponse: DescribeListBGPInstancesResponse,
6357
6862
  DescribeListDDoSAIRequest: DescribeListDDoSAIRequest,
6358
6863
  DescribeListIPAlarmConfigRequest: DescribeListIPAlarmConfigRequest,
@@ -6370,24 +6875,28 @@ module.exports = {
6370
6875
  AssociateDDoSEipAddressRequest: AssociateDDoSEipAddressRequest,
6371
6876
  AssociateDDoSEipLoadBalancerResponse: AssociateDDoSEipLoadBalancerResponse,
6372
6877
  CreateBlackWhiteIpListRequest: CreateBlackWhiteIpListRequest,
6878
+ DescribeBizTrendResponse: DescribeBizTrendResponse,
6373
6879
  CreateBoundIPResponse: CreateBoundIPResponse,
6374
6880
  SpeedValue: SpeedValue,
6375
6881
  SwitchWaterPrintConfigRequest: SwitchWaterPrintConfigRequest,
6376
6882
  DescribeListSchedulingDomainResponse: DescribeListSchedulingDomainResponse,
6883
+ DescribeCCTrendResponse: DescribeCCTrendResponse,
6377
6884
  CreateSchedulingDomainResponse: CreateSchedulingDomainResponse,
6378
6885
  EipProductInfo: EipProductInfo,
6379
6886
  CreateDDoSAIResponse: CreateDDoSAIResponse,
6380
6887
  DDoSGeoIPBlockConfigRelation: DDoSGeoIPBlockConfigRelation,
6381
6888
  DescribeListProtocolBlockConfigRequest: DescribeListProtocolBlockConfigRequest,
6382
6889
  RegionInfo: RegionInfo,
6383
- DescribeListWaterPrintConfigRequest: DescribeListWaterPrintConfigRequest,
6890
+ DescribeDDoSTrendRequest: DescribeDDoSTrendRequest,
6384
6891
  ModifyDDoSGeoIPBlockConfigResponse: ModifyDDoSGeoIPBlockConfigResponse,
6385
6892
  BGPInstance: BGPInstance,
6893
+ DescribeBizTrendRequest: DescribeBizTrendRequest,
6386
6894
  DescribeListWaterPrintConfigResponse: DescribeListWaterPrintConfigResponse,
6387
6895
  BGPInstanceUsages: BGPInstanceUsages,
6388
6896
  DeleteDDoSSpeedLimitConfigResponse: DeleteDDoSSpeedLimitConfigResponse,
6389
6897
  CreateWaterPrintKeyResponse: CreateWaterPrintKeyResponse,
6390
6898
  DeleteDDoSGeoIPBlockConfigResponse: DeleteDDoSGeoIPBlockConfigResponse,
6899
+ DescribeDDoSTrendResponse: DescribeDDoSTrendResponse,
6391
6900
  DescribeListBlackWhiteIpListRequest: DescribeListBlackWhiteIpListRequest,
6392
6901
  ModifyDDoSSpeedLimitConfigResponse: ModifyDDoSSpeedLimitConfigResponse,
6393
6902
  SchedulingDomainInfo: SchedulingDomainInfo,
@@ -6395,5 +6904,6 @@ module.exports = {
6395
6904
  WaterPrintKey: WaterPrintKey,
6396
6905
  PacketFilterRelation: PacketFilterRelation,
6397
6906
  CreatePacketFilterConfigRequest: CreatePacketFilterConfigRequest,
6907
+ DescribeCCTrendRequest: DescribeCCTrendRequest,
6398
6908
 
6399
6909
  }