tencentcloud-sdk-nodejs-intl-en 3.0.1411 → 3.0.1413

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.
@@ -1329,6 +1329,140 @@ Note: This field may return `null`, indicating that no valid value was found.
1329
1329
  }
1330
1330
  }
1331
1331
 
1332
+ /**
1333
+ * SearchLog response structure.
1334
+ * @class
1335
+ */
1336
+ class SearchLogResponse extends AbstractModel {
1337
+ constructor(){
1338
+ super();
1339
+
1340
+ /**
1341
+ * <p>Pass through the Context value returned by this API to obtain more logs later. The expiration time is 1 hour.<br>Note:</p><ul><li>Applicable only for single log topic retrieval. To retrieve multiple log topics, use the Context in Topics.</li></ul>
1342
+ * @type {string || null}
1343
+ */
1344
+ this.Context = null;
1345
+
1346
+ /**
1347
+ * <p>Whether all logs meeting the retrieval criteria have been returned. If not, use Context parameter to retrieve more logs.<br> <br>Note: This is only valid when the search and analysis statement (Query) does not contain SQL.</p>
1348
+ * @type {boolean || null}
1349
+ */
1350
+ this.ListOver = null;
1351
+
1352
+ /**
1353
+ * <p>Whether the returned data is the SQL analysis result</p>
1354
+ * @type {boolean || null}
1355
+ */
1356
+ this.Analysis = null;
1357
+
1358
+ /**
1359
+ * <p>Raw logs matching the retrieval criteria</p>
1360
+ Note: This field may return null, indicating that no valid values can be obtained.
1361
+ * @type {Array.<LogInfo> || null}
1362
+ */
1363
+ this.Results = null;
1364
+
1365
+ /**
1366
+ * <p>Column names of log statistics analysis results<br>This parameter is valid only when UseNewAnalysis is false.</p>
1367
+ Note: This field may return null, indicating that no valid values can be obtained.
1368
+ * @type {Array.<string> || null}
1369
+ */
1370
+ this.ColNames = null;
1371
+
1372
+ /**
1373
+ * <p>Log statistics and analysis results<br>This parameter is valid only when UseNewAnalysis is false.</p>
1374
+ Note: This field may return null, indicating that no valid values can be obtained.
1375
+ * @type {Array.<LogItems> || null}
1376
+ */
1377
+ this.AnalysisResults = null;
1378
+
1379
+ /**
1380
+ * <p>Log statistics and analysis results<br>This parameter is valid only when UseNewAnalysis is true.</p>
1381
+ Note: This field may return null, indicating that no valid values can be obtained.
1382
+ * @type {Array.<string> || null}
1383
+ */
1384
+ this.AnalysisRecords = null;
1385
+
1386
+ /**
1387
+ * <p>Column attribute of the statistical analysis result<br>This parameter is valid only when UseNewAnalysis is true.</p>
1388
+ Note: This field may return null, indicating that no valid values can be obtained.
1389
+ * @type {Array.<Column> || null}
1390
+ */
1391
+ this.Columns = null;
1392
+
1393
+ /**
1394
+ * <p>Sampling rate used for this statistical analysis</p>
1395
+ Note: This field may return null, indicating that no valid values can be obtained.
1396
+ * @type {number || null}
1397
+ */
1398
+ this.SamplingRate = null;
1399
+
1400
+ /**
1401
+ * <p>When multiple log topics are used for retrieval, basic information of each log topic, such as error message.</p>
1402
+ Note: This field may return null, indicating that no valid values can be obtained.
1403
+ * @type {SearchLogTopics || null}
1404
+ */
1405
+ this.Topics = null;
1406
+
1407
+ /**
1408
+ * 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.
1409
+ * @type {string || null}
1410
+ */
1411
+ this.RequestId = null;
1412
+
1413
+ }
1414
+
1415
+ /**
1416
+ * @private
1417
+ */
1418
+ deserialize(params) {
1419
+ if (!params) {
1420
+ return;
1421
+ }
1422
+ this.Context = 'Context' in params ? params.Context : null;
1423
+ this.ListOver = 'ListOver' in params ? params.ListOver : null;
1424
+ this.Analysis = 'Analysis' in params ? params.Analysis : null;
1425
+
1426
+ if (params.Results) {
1427
+ this.Results = new Array();
1428
+ for (let z in params.Results) {
1429
+ let obj = new LogInfo();
1430
+ obj.deserialize(params.Results[z]);
1431
+ this.Results.push(obj);
1432
+ }
1433
+ }
1434
+ this.ColNames = 'ColNames' in params ? params.ColNames : null;
1435
+
1436
+ if (params.AnalysisResults) {
1437
+ this.AnalysisResults = new Array();
1438
+ for (let z in params.AnalysisResults) {
1439
+ let obj = new LogItems();
1440
+ obj.deserialize(params.AnalysisResults[z]);
1441
+ this.AnalysisResults.push(obj);
1442
+ }
1443
+ }
1444
+ this.AnalysisRecords = 'AnalysisRecords' in params ? params.AnalysisRecords : null;
1445
+
1446
+ if (params.Columns) {
1447
+ this.Columns = new Array();
1448
+ for (let z in params.Columns) {
1449
+ let obj = new Column();
1450
+ obj.deserialize(params.Columns[z]);
1451
+ this.Columns.push(obj);
1452
+ }
1453
+ }
1454
+ this.SamplingRate = 'SamplingRate' in params ? params.SamplingRate : null;
1455
+
1456
+ if (params.Topics) {
1457
+ let obj = new SearchLogTopics();
1458
+ obj.deserialize(params.Topics)
1459
+ this.Topics = obj;
1460
+ }
1461
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1462
+
1463
+ }
1464
+ }
1465
+
1332
1466
  /**
1333
1467
  * DescribeCfwStatusMonitor response structure.
1334
1468
  * @class
@@ -3612,24 +3746,18 @@ Note: This field may return `null`, indicating that no valid value was found.
3612
3746
  }
3613
3747
 
3614
3748
  /**
3615
- * ModifyPublicIPSwitchStatus request structure.
3749
+ * LogItem array
3616
3750
  * @class
3617
3751
  */
3618
- class ModifyPublicIPSwitchStatusRequest extends AbstractModel {
3752
+ class LogItems extends AbstractModel {
3619
3753
  constructor(){
3620
3754
  super();
3621
3755
 
3622
3756
  /**
3623
- * Public IP
3624
- * @type {string || null}
3757
+ * Key-Value Data Pair returned from analysis results
3758
+ * @type {Array.<LogItem> || null}
3625
3759
  */
3626
- this.FireWallPublicIP = null;
3627
-
3628
- /**
3629
- * Status value. 0: off; 1: on
3630
- * @type {number || null}
3631
- */
3632
- this.Status = null;
3760
+ this.Data = null;
3633
3761
 
3634
3762
  }
3635
3763
 
@@ -3640,8 +3768,15 @@ class ModifyPublicIPSwitchStatusRequest extends AbstractModel {
3640
3768
  if (!params) {
3641
3769
  return;
3642
3770
  }
3643
- this.FireWallPublicIP = 'FireWallPublicIP' in params ? params.FireWallPublicIP : null;
3644
- this.Status = 'Status' in params ? params.Status : null;
3771
+
3772
+ if (params.Data) {
3773
+ this.Data = new Array();
3774
+ for (let z in params.Data) {
3775
+ let obj = new LogItem();
3776
+ obj.deserialize(params.Data[z]);
3777
+ this.Data.push(obj);
3778
+ }
3779
+ }
3645
3780
 
3646
3781
  }
3647
3782
  }
@@ -4005,6 +4140,41 @@ class DescribeTLogInfoRequest extends AbstractModel {
4005
4140
  }
4006
4141
  }
4007
4142
 
4143
+ /**
4144
+ * KV pairs in logs
4145
+ * @class
4146
+ */
4147
+ class LogItem extends AbstractModel {
4148
+ constructor(){
4149
+ super();
4150
+
4151
+ /**
4152
+ * Log key
4153
+ * @type {string || null}
4154
+ */
4155
+ this.Key = null;
4156
+
4157
+ /**
4158
+ * Log Value
4159
+ * @type {string || null}
4160
+ */
4161
+ this.Value = null;
4162
+
4163
+ }
4164
+
4165
+ /**
4166
+ * @private
4167
+ */
4168
+ deserialize(params) {
4169
+ if (!params) {
4170
+ return;
4171
+ }
4172
+ this.Key = 'Key' in params ? params.Key : null;
4173
+ this.Value = 'Value' in params ? params.Value : null;
4174
+
4175
+ }
4176
+ }
4177
+
4008
4178
  /**
4009
4179
  * DescribeSecurityGroupList response structure.
4010
4180
  * @class
@@ -4309,6 +4479,42 @@ class ModifyNatSequenceRulesResponse extends AbstractModel {
4309
4479
  }
4310
4480
  }
4311
4481
 
4482
+ /**
4483
+ * StopSecurityGroupRuleDispatch response structure.
4484
+ * @class
4485
+ */
4486
+ class StopSecurityGroupRuleDispatchResponse extends AbstractModel {
4487
+ constructor(){
4488
+ super();
4489
+
4490
+ /**
4491
+ * true: operation successful; false: error
4492
+ Note: This field may return `null`, indicating that no valid value was found.
4493
+ * @type {boolean || null}
4494
+ */
4495
+ this.Status = null;
4496
+
4497
+ /**
4498
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
4499
+ * @type {string || null}
4500
+ */
4501
+ this.RequestId = null;
4502
+
4503
+ }
4504
+
4505
+ /**
4506
+ * @private
4507
+ */
4508
+ deserialize(params) {
4509
+ if (!params) {
4510
+ return;
4511
+ }
4512
+ this.Status = 'Status' in params ? params.Status : null;
4513
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4514
+
4515
+ }
4516
+ }
4517
+
4312
4518
  /**
4313
4519
  * DescribeTableStatus request structure.
4314
4520
  * @class
@@ -4506,30 +4712,82 @@ class CreateNatFwInstanceResponse extends AbstractModel {
4506
4712
  }
4507
4713
 
4508
4714
  /**
4509
- * Parameters passed for the Create New mode
4715
+ * Log result information
4510
4716
  * @class
4511
4717
  */
4512
- class NewModeItems extends AbstractModel {
4718
+ class LogInfo extends AbstractModel {
4513
4719
  constructor(){
4514
4720
  super();
4515
4721
 
4516
4722
  /**
4517
- * VPC list for the Create New mode
4518
- * @type {Array.<string> || null}
4723
+ * Log time, in milliseconds
4724
+ * @type {number || null}
4519
4725
  */
4520
- this.VpcList = null;
4726
+ this.Time = null;
4521
4727
 
4522
4728
  /**
4523
- * The list of egress public EIPs bound for the Create New mode. Either Eips or AddCount is required.
4524
- * @type {Array.<string> || null}
4729
+ * Log topic ID
4730
+ * @type {string || null}
4525
4731
  */
4526
- this.Eips = null;
4732
+ this.TopicId = null;
4527
4733
 
4528
4734
  /**
4529
- * The number of egress public EIPs newly bound for the Create New mode. Either Eips or AddCount is required.
4530
- * @type {number || null}
4735
+ * Log topic name
4736
+ * @type {string || null}
4531
4737
  */
4532
- this.AddCount = null;
4738
+ this.TopicName = null;
4739
+
4740
+ /**
4741
+ * Log source IP address
4742
+ * @type {string || null}
4743
+ */
4744
+ this.Source = null;
4745
+
4746
+ /**
4747
+ * Log file name
4748
+ * @type {string || null}
4749
+ */
4750
+ this.FileName = null;
4751
+
4752
+ /**
4753
+ * ID of Log Upload Request Packet
4754
+ * @type {string || null}
4755
+ */
4756
+ this.PkgId = null;
4757
+
4758
+ /**
4759
+ * Log ID in Request Packet
4760
+ * @type {string || null}
4761
+ */
4762
+ this.PkgLogId = null;
4763
+
4764
+ /**
4765
+ * JSON serialized string of the log content
4766
+ Note: This field may return null, indicating that no valid values can be obtained.
4767
+ * @type {string || null}
4768
+ */
4769
+ this.LogJson = null;
4770
+
4771
+ /**
4772
+ * Log source host name
4773
+ Note: This field may return null, indicating that no valid values can be obtained.
4774
+ * @type {string || null}
4775
+ */
4776
+ this.HostName = null;
4777
+
4778
+ /**
4779
+ * Raw log (only available when there is an error in creating the log index).
4780
+ Note: This field may return null, indicating that no valid values can be obtained.
4781
+ * @type {string || null}
4782
+ */
4783
+ this.RawLog = null;
4784
+
4785
+ /**
4786
+ * Cause for log index creation exception. It has a value only when a log index creation exception occurs.
4787
+ Note: This field may return null, indicating that no valid values can be obtained.
4788
+ * @type {string || null}
4789
+ */
4790
+ this.IndexStatus = null;
4533
4791
 
4534
4792
  }
4535
4793
 
@@ -4540,9 +4798,17 @@ class NewModeItems extends AbstractModel {
4540
4798
  if (!params) {
4541
4799
  return;
4542
4800
  }
4543
- this.VpcList = 'VpcList' in params ? params.VpcList : null;
4544
- this.Eips = 'Eips' in params ? params.Eips : null;
4545
- this.AddCount = 'AddCount' in params ? params.AddCount : null;
4801
+ this.Time = 'Time' in params ? params.Time : null;
4802
+ this.TopicId = 'TopicId' in params ? params.TopicId : null;
4803
+ this.TopicName = 'TopicName' in params ? params.TopicName : null;
4804
+ this.Source = 'Source' in params ? params.Source : null;
4805
+ this.FileName = 'FileName' in params ? params.FileName : null;
4806
+ this.PkgId = 'PkgId' in params ? params.PkgId : null;
4807
+ this.PkgLogId = 'PkgLogId' in params ? params.PkgLogId : null;
4808
+ this.LogJson = 'LogJson' in params ? params.LogJson : null;
4809
+ this.HostName = 'HostName' in params ? params.HostName : null;
4810
+ this.RawLog = 'RawLog' in params ? params.RawLog : null;
4811
+ this.IndexStatus = 'IndexStatus' in params ? params.IndexStatus : null;
4546
4812
 
4547
4813
  }
4548
4814
  }
@@ -5090,6 +5356,59 @@ class ModifyAllRuleStatusRequest extends AbstractModel {
5090
5356
  }
5091
5357
  }
5092
5358
 
5359
+ /**
5360
+ * Multi-topic search return information
5361
+ * @class
5362
+ */
5363
+ class SearchLogTopics extends AbstractModel {
5364
+ constructor(){
5365
+ super();
5366
+
5367
+ /**
5368
+ * Error information corresponding to multi-log topic retrieval
5369
+ Note: This field may return null, indicating that no valid values can be obtained.
5370
+ * @type {Array.<SearchLogErrors> || null}
5371
+ */
5372
+ this.Errors = null;
5373
+
5374
+ /**
5375
+ * Information for each log topic during multi-log topic retrieval
5376
+ Note: This field may return null, indicating that no valid values can be obtained.
5377
+ * @type {Array.<SearchLogInfos> || null}
5378
+ */
5379
+ this.Infos = null;
5380
+
5381
+ }
5382
+
5383
+ /**
5384
+ * @private
5385
+ */
5386
+ deserialize(params) {
5387
+ if (!params) {
5388
+ return;
5389
+ }
5390
+
5391
+ if (params.Errors) {
5392
+ this.Errors = new Array();
5393
+ for (let z in params.Errors) {
5394
+ let obj = new SearchLogErrors();
5395
+ obj.deserialize(params.Errors[z]);
5396
+ this.Errors.push(obj);
5397
+ }
5398
+ }
5399
+
5400
+ if (params.Infos) {
5401
+ this.Infos = new Array();
5402
+ for (let z in params.Infos) {
5403
+ let obj = new SearchLogInfos();
5404
+ obj.deserialize(params.Infos[z]);
5405
+ this.Infos.push(obj);
5406
+ }
5407
+ }
5408
+
5409
+ }
5410
+ }
5411
+
5093
5412
  /**
5094
5413
  * Rule input object
5095
5414
  * @class
@@ -5204,7 +5523,58 @@ class RuleInfoData extends AbstractModel {
5204
5523
  * Country name
5205
5524
  * @type {string || null}
5206
5525
  */
5207
- this.CountryName = null;
5526
+ this.CountryName = null;
5527
+
5528
+ }
5529
+
5530
+ /**
5531
+ * @private
5532
+ */
5533
+ deserialize(params) {
5534
+ if (!params) {
5535
+ return;
5536
+ }
5537
+ this.OrderIndex = 'OrderIndex' in params ? params.OrderIndex : null;
5538
+ this.SourceIp = 'SourceIp' in params ? params.SourceIp : null;
5539
+ this.TargetIp = 'TargetIp' in params ? params.TargetIp : null;
5540
+ this.Protocol = 'Protocol' in params ? params.Protocol : null;
5541
+ this.Strategy = 'Strategy' in params ? params.Strategy : null;
5542
+ this.SourceType = 'SourceType' in params ? params.SourceType : null;
5543
+ this.Direction = 'Direction' in params ? params.Direction : null;
5544
+ this.Detail = 'Detail' in params ? params.Detail : null;
5545
+ this.TargetType = 'TargetType' in params ? params.TargetType : null;
5546
+ this.Port = 'Port' in params ? params.Port : null;
5547
+ this.Id = 'Id' in params ? params.Id : null;
5548
+ this.LogId = 'LogId' in params ? params.LogId : null;
5549
+ this.City = 'City' in params ? params.City : null;
5550
+ this.Country = 'Country' in params ? params.Country : null;
5551
+ this.CloudCode = 'CloudCode' in params ? params.CloudCode : null;
5552
+ this.IsRegion = 'IsRegion' in params ? params.IsRegion : null;
5553
+ this.CityName = 'CityName' in params ? params.CityName : null;
5554
+ this.CountryName = 'CountryName' in params ? params.CountryName : null;
5555
+
5556
+ }
5557
+ }
5558
+
5559
+ /**
5560
+ * ModifyPublicIPSwitchStatus request structure.
5561
+ * @class
5562
+ */
5563
+ class ModifyPublicIPSwitchStatusRequest extends AbstractModel {
5564
+ constructor(){
5565
+ super();
5566
+
5567
+ /**
5568
+ * Public IP
5569
+ * @type {string || null}
5570
+ */
5571
+ this.FireWallPublicIP = null;
5572
+
5573
+ /**
5574
+ * Status value. 0: off; 1: on
5575
+ * @type {number || null}
5576
+ */
5577
+ this.Status = null;
5208
5578
 
5209
5579
  }
5210
5580
 
@@ -5215,24 +5585,8 @@ class RuleInfoData extends AbstractModel {
5215
5585
  if (!params) {
5216
5586
  return;
5217
5587
  }
5218
- this.OrderIndex = 'OrderIndex' in params ? params.OrderIndex : null;
5219
- this.SourceIp = 'SourceIp' in params ? params.SourceIp : null;
5220
- this.TargetIp = 'TargetIp' in params ? params.TargetIp : null;
5221
- this.Protocol = 'Protocol' in params ? params.Protocol : null;
5222
- this.Strategy = 'Strategy' in params ? params.Strategy : null;
5223
- this.SourceType = 'SourceType' in params ? params.SourceType : null;
5224
- this.Direction = 'Direction' in params ? params.Direction : null;
5225
- this.Detail = 'Detail' in params ? params.Detail : null;
5226
- this.TargetType = 'TargetType' in params ? params.TargetType : null;
5227
- this.Port = 'Port' in params ? params.Port : null;
5228
- this.Id = 'Id' in params ? params.Id : null;
5229
- this.LogId = 'LogId' in params ? params.LogId : null;
5230
- this.City = 'City' in params ? params.City : null;
5231
- this.Country = 'Country' in params ? params.Country : null;
5232
- this.CloudCode = 'CloudCode' in params ? params.CloudCode : null;
5233
- this.IsRegion = 'IsRegion' in params ? params.IsRegion : null;
5234
- this.CityName = 'CityName' in params ? params.CityName : null;
5235
- this.CountryName = 'CountryName' in params ? params.CountryName : null;
5588
+ this.FireWallPublicIP = 'FireWallPublicIP' in params ? params.FireWallPublicIP : null;
5589
+ this.Status = 'Status' in params ? params.Status : null;
5236
5590
 
5237
5591
  }
5238
5592
  }
@@ -6183,6 +6537,48 @@ Note: This field may return `null`, indicating that no valid value was found.
6183
6537
  }
6184
6538
  }
6185
6539
 
6540
+ /**
6541
+ * Parameters passed for the Create New mode
6542
+ * @class
6543
+ */
6544
+ class NewModeItems extends AbstractModel {
6545
+ constructor(){
6546
+ super();
6547
+
6548
+ /**
6549
+ * VPC list for the Create New mode
6550
+ * @type {Array.<string> || null}
6551
+ */
6552
+ this.VpcList = null;
6553
+
6554
+ /**
6555
+ * The list of egress public EIPs bound for the Create New mode. Either Eips or AddCount is required.
6556
+ * @type {Array.<string> || null}
6557
+ */
6558
+ this.Eips = null;
6559
+
6560
+ /**
6561
+ * The number of egress public EIPs newly bound for the Create New mode. Either Eips or AddCount is required.
6562
+ * @type {number || null}
6563
+ */
6564
+ this.AddCount = null;
6565
+
6566
+ }
6567
+
6568
+ /**
6569
+ * @private
6570
+ */
6571
+ deserialize(params) {
6572
+ if (!params) {
6573
+ return;
6574
+ }
6575
+ this.VpcList = 'VpcList' in params ? params.VpcList : null;
6576
+ this.Eips = 'Eips' in params ? params.Eips : null;
6577
+ this.AddCount = 'AddCount' in params ? params.AddCount : null;
6578
+
6579
+ }
6580
+ }
6581
+
6186
6582
  /**
6187
6583
  * DescribeResourceGroupNew response structure.
6188
6584
  * @class
@@ -6684,6 +7080,51 @@ class DescribeBlockByIpTimesListResponse extends AbstractModel {
6684
7080
  }
6685
7081
  }
6686
7082
 
7083
+ /**
7084
+ * Error information for multi-log topic search
7085
+ * @class
7086
+ */
7087
+ class SearchLogErrors extends AbstractModel {
7088
+ constructor(){
7089
+ super();
7090
+
7091
+ /**
7092
+ * Log topic ID
7093
+ Note: This field may return null, indicating that no valid values can be obtained.
7094
+ * @type {string || null}
7095
+ */
7096
+ this.TopicId = null;
7097
+
7098
+ /**
7099
+ * Error message
7100
+ Note: This field may return null, indicating that no valid values can be obtained.
7101
+ * @type {string || null}
7102
+ */
7103
+ this.ErrorMsg = null;
7104
+
7105
+ /**
7106
+ * Error code.
7107
+ Note: This field may return null, indicating that no valid values can be obtained.
7108
+ * @type {string || null}
7109
+ */
7110
+ this.ErrorCodeStr = null;
7111
+
7112
+ }
7113
+
7114
+ /**
7115
+ * @private
7116
+ */
7117
+ deserialize(params) {
7118
+ if (!params) {
7119
+ return;
7120
+ }
7121
+ this.TopicId = 'TopicId' in params ? params.TopicId : null;
7122
+ this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
7123
+ this.ErrorCodeStr = 'ErrorCodeStr' in params ? params.ErrorCodeStr : null;
7124
+
7125
+ }
7126
+ }
7127
+
6687
7128
  /**
6688
7129
  * SetNatFwDnatRule response structure.
6689
7130
  * @class
@@ -7403,25 +7844,24 @@ class DescribeTLogIpListResponse extends AbstractModel {
7403
7844
  }
7404
7845
 
7405
7846
  /**
7406
- * StopSecurityGroupRuleDispatch response structure.
7847
+ * Multi-log topic retrieval related information
7407
7848
  * @class
7408
7849
  */
7409
- class StopSecurityGroupRuleDispatchResponse extends AbstractModel {
7850
+ class MultiTopicSearchInformation extends AbstractModel {
7410
7851
  constructor(){
7411
7852
  super();
7412
7853
 
7413
7854
  /**
7414
- * true: operation successful; false: error
7415
- Note: This field may return `null`, indicating that no valid value was found.
7416
- * @type {boolean || null}
7855
+ * ID of the log topic to be searched and analyzed
7856
+ * @type {string || null}
7417
7857
  */
7418
- this.Status = null;
7858
+ this.TopicId = null;
7419
7859
 
7420
7860
  /**
7421
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7861
+ * Pass the Context value returned by the last API call to retrieve more subsequent logs. A total of up to 10,000 raw logs can be obtained, with a validity period of 1 hour.
7422
7862
  * @type {string || null}
7423
7863
  */
7424
- this.RequestId = null;
7864
+ this.Context = null;
7425
7865
 
7426
7866
  }
7427
7867
 
@@ -7432,8 +7872,8 @@ Note: This field may return `null`, indicating that no valid value was found.
7432
7872
  if (!params) {
7433
7873
  return;
7434
7874
  }
7435
- this.Status = 'Status' in params ? params.Status : null;
7436
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
7875
+ this.TopicId = 'TopicId' in params ? params.TopicId : null;
7876
+ this.Context = 'Context' in params ? params.Context : null;
7437
7877
 
7438
7878
  }
7439
7879
  }
@@ -8042,6 +8482,49 @@ class ModifyBlockTopResponse extends AbstractModel {
8042
8482
  }
8043
8483
  }
8044
8484
 
8485
+ /**
8486
+ * Multiple log topic search for topic information
8487
+ * @class
8488
+ */
8489
+ class SearchLogInfos extends AbstractModel {
8490
+ constructor(){
8491
+ super();
8492
+
8493
+ /**
8494
+ * Log topic ID
8495
+ * @type {string || null}
8496
+ */
8497
+ this.TopicId = null;
8498
+
8499
+ /**
8500
+ * Log storage lifetime
8501
+ * @type {number || null}
8502
+ */
8503
+ this.Period = null;
8504
+
8505
+ /**
8506
+ * Pass through the Context value returned by this API, which can access more logs later, with an expiration time of 1 hour.
8507
+ Note: This field may return null, indicating that no valid values can be obtained.
8508
+ * @type {string || null}
8509
+ */
8510
+ this.Context = null;
8511
+
8512
+ }
8513
+
8514
+ /**
8515
+ * @private
8516
+ */
8517
+ deserialize(params) {
8518
+ if (!params) {
8519
+ return;
8520
+ }
8521
+ this.TopicId = 'TopicId' in params ? params.TopicId : null;
8522
+ this.Period = 'Period' in params ? params.Period : null;
8523
+ this.Context = 'Context' in params ? params.Context : null;
8524
+
8525
+ }
8526
+ }
8527
+
8045
8528
  /**
8046
8529
  * ModifyStorageSetting request structure.
8047
8530
  * @class
@@ -8870,6 +9353,41 @@ class CreateNatFwInstanceWithDomainRequest extends AbstractModel {
8870
9353
  }
8871
9354
  }
8872
9355
 
9356
+ /**
9357
+ * Log Analysis Column Attributes
9358
+ * @class
9359
+ */
9360
+ class Column extends AbstractModel {
9361
+ constructor(){
9362
+ super();
9363
+
9364
+ /**
9365
+ * Column name
9366
+ * @type {string || null}
9367
+ */
9368
+ this.Name = null;
9369
+
9370
+ /**
9371
+ * Column attribute
9372
+ * @type {string || null}
9373
+ */
9374
+ this.Type = null;
9375
+
9376
+ }
9377
+
9378
+ /**
9379
+ * @private
9380
+ */
9381
+ deserialize(params) {
9382
+ if (!params) {
9383
+ return;
9384
+ }
9385
+ this.Name = 'Name' in params ? params.Name : null;
9386
+ this.Type = 'Type' in params ? params.Type : null;
9387
+
9388
+ }
9389
+ }
9390
+
8873
9391
  /**
8874
9392
  * DescribeSwitchLists response structure.
8875
9393
  * @class
@@ -8999,6 +9517,119 @@ class DeleteResourceGroupResponse extends AbstractModel {
8999
9517
  }
9000
9518
  }
9001
9519
 
9520
+ /**
9521
+ * SearchLog request structure.
9522
+ * @class
9523
+ */
9524
+ class SearchLogRequest extends AbstractModel {
9525
+ constructor(){
9526
+ super();
9527
+
9528
+ /**
9529
+ * <p>Start time for logs to be searched and analyzed, which is a Unix timestamp in milliseconds</p>
9530
+ * @type {number || null}
9531
+ */
9532
+ this.From = null;
9533
+
9534
+ /**
9535
+ * <p>End time for logs to be searched and analyzed, which is a Unix timestamp in milliseconds</p>
9536
+ * @type {number || null}
9537
+ */
9538
+ this.To = null;
9539
+
9540
+ /**
9541
+ * <p>The retrieval and analysis statement has a maximum length of 12 KB.<br>The statement consists of <a href="https://www.tencentcloud.com/document/product/614/47044?from_cn_redirect=1" target="_blank">[retrieval condition]</a> | <a href="https://www.tencentcloud.com/document/product/614/44061?from_cn_redirect=1" target="_blank">[SQL statement]</a>. When there is no need to perform statistical analysis on logs, the pipe character <code> | </code> and the SQL statement can be omitted.<br>Use * or an empty string to search all logs.</p>
9542
+ * @type {string || null}
9543
+ */
9544
+ this.Query = null;
9545
+
9546
+ /**
9547
+ * <p>Search syntax rules. Default value is 0. Recommended for use is 1.</p><ul><li>0: Lucene syntax</li><li>1: CQL syntax (dedicated retrieval syntax for CLS, also the default syntax rule used in the console).</li></ul><p>For details, see <a href="https://www.tencentcloud.com/document/product/614/47044?from_cn_redirect=1#RetrievesConditionalRules" target="_blank">Retrieval condition syntax rules</a></p>
9548
+ * @type {number || null}
9549
+ */
9550
+ this.SyntaxRule = null;
9551
+
9552
+ /**
9553
+ * <ul><li>Log topic ID to be retrieved and analyzed. Only one log topic can be specified.</li><li>If needed, use the Topics parameter to retrieve multiple log topics.</li><li>The TopicId and Topics parameters cannot be used simultaneously. Only one can be selected in a single request.<br>The log topic IDs are as follows:<br>Access control - Internet boundary: cfw_rule_acl<br>Access control - NAT boundary: cfw_rule_nat_acl<br>Access control - VPC boundary: cfw_rule_vpc_acl<br>Access control - DNS switch: cfw_rule_dns_acl<br>Intrusion defense: cfw_rule_threatinfo<br>Full traffic detection and response logs - Traffic analysis: cfw_netflow_nta<br>Full traffic detection and response logs - Traffic alarm: cfw_rule_ndr_threatinfo<br>Zero trust operations and maintenance - Database logon: cfw_operate_db<br>Zero trust operations and maintenance - Server access: operate_remote_om<br>Zero trust operations and maintenance - Web service access: operate_web_access<br>Zero trust operations and maintenance - Behavioral audit: remoteom_commands<br>Traffic log - Internet boundary: cfw_netflow_border<br>Traffic log - NAT boundary: cfw_netflow_nat<br>Traffic log - VPC boundary: cfw_netflow_vpc<br>Traffic log - DNS switch: cfw_netflow_dns<br>Traffic log - Private network traffic: cfw_netflow_fl<br>Operation log: operate_log_all</li></ul>
9554
+ * @type {string || null}
9555
+ */
9556
+ this.TopicId = null;
9557
+
9558
+ /**
9559
+ * <ul><li>Log topic list for retrieval and analysis, supports a maximum of 50 log topics.</li><li>Use TopicId to retrieve a single log topic.</li><li>TopicId and Topics cannot be used simultaneously. Only select one in a single request.</li></ul>
9560
+ * @type {Array.<MultiTopicSearchInformation> || null}
9561
+ */
9562
+ this.Topics = null;
9563
+
9564
+ /**
9565
+ * <p>Whether raw logs are returned in time sequence; value range: asc (ascending), desc (descending), default is desc<br>Note:</p><ul><li>Valid only when the search and analysis statement (Query) does not contain SQL</li><li>For SQL result sorting, refer to <a href="https://www.tencentcloud.com/document/product/614/58978?from_cn_redirect=1" target="_blank">SQL ORDER BY syntax</a></li></ul>
9566
+ * @type {string || null}
9567
+ */
9568
+ this.Sort = null;
9569
+
9570
+ /**
9571
+ * <p>Number of raw logs returned in a single query. Default value: 100. Maximum value: 1000.<br>Note:</p><ul><li>This parameter is valid only when the search and analysis statement (Query) does not contain SQL.</li><li>For the method for specifying SQL result count, see <a href="https://www.tencentcloud.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT syntax</a>.</li></ul><p>You can retrieve more logs in two ways:</p><ul><li>Context: Pass the Context value returned by the last API call to retrieve more logs. You can retrieve up to 10,000 entries of raw logs in total.</li><li>Offset: The offset indicates the line number from which to start returning raw logs. There is no log entry limit.</li></ul>
9572
+ * @type {number || null}
9573
+ */
9574
+ this.Limit = null;
9575
+
9576
+ /**
9577
+ * <p>Query the offset of raw logs, indicating the line number from which to start returning raw logs. Default value is 0.<br>Note:</p><ul><li>Applicable only when the retrieval and analysis statement (Query) does not contain SQL.</li><li>Cannot be used with the Context parameter.</li><li>Applicable only for single log topic retrieval.</li></ul>
9578
+ * @type {number || null}
9579
+ */
9580
+ this.Offset = null;
9581
+
9582
+ /**
9583
+ * <p>Pass the Context value returned by the last API call to obtain more logs later. The total number of raw logs that can be obtained is up to 10,000 entries. The expiration time is 1 hour.<br>Note:</p><ul><li>When passing this parameter, do not modify other parameters.</li><li>Applicable only for single log topic retrieval. To retrieve multiple log topics, use the Context in Topics.</li><li>This is valid only when the search and analysis statement (Query) does not contain SQL. For obtaining subsequent results with SQL, refer to <a href="https://www.tencentcloud.com/document/product/614/58977?from_cn_redirect=1" target="_blank">SQL LIMIT syntax</a>.</li></ul>
9584
+ * @type {string || null}
9585
+ */
9586
+ this.Context = null;
9587
+
9588
+ /**
9589
+ * <p>When performing statistical analysis (SQL included in Query), whether to sample raw logs first and then perform statistical analysis.<br>0: Automatic sampling;<br>0–1: Sample at the specified sampling rate, for example 0.02;<br>1: Indicates no sampling, that is, precision analysis.<br>Default value: 1</p>
9590
+ * @type {number || null}
9591
+ */
9592
+ this.SamplingRate = null;
9593
+
9594
+ /**
9595
+ * <p>true means using the new retrieval result return method, and output parameters AnalysisRecords and Columns are valid.<br>false means using the old retrieval result return method, and output parameters AnalysisResults and ColNames are valid.<br>The two return methods have a slight difference in encoding format. It is recommended to use true.</p>
9596
+ * @type {boolean || null}
9597
+ */
9598
+ this.UseNewAnalysis = null;
9599
+
9600
+ }
9601
+
9602
+ /**
9603
+ * @private
9604
+ */
9605
+ deserialize(params) {
9606
+ if (!params) {
9607
+ return;
9608
+ }
9609
+ this.From = 'From' in params ? params.From : null;
9610
+ this.To = 'To' in params ? params.To : null;
9611
+ this.Query = 'Query' in params ? params.Query : null;
9612
+ this.SyntaxRule = 'SyntaxRule' in params ? params.SyntaxRule : null;
9613
+ this.TopicId = 'TopicId' in params ? params.TopicId : null;
9614
+
9615
+ if (params.Topics) {
9616
+ this.Topics = new Array();
9617
+ for (let z in params.Topics) {
9618
+ let obj = new MultiTopicSearchInformation();
9619
+ obj.deserialize(params.Topics[z]);
9620
+ this.Topics.push(obj);
9621
+ }
9622
+ }
9623
+ this.Sort = 'Sort' in params ? params.Sort : null;
9624
+ this.Limit = 'Limit' in params ? params.Limit : null;
9625
+ this.Offset = 'Offset' in params ? params.Offset : null;
9626
+ this.Context = 'Context' in params ? params.Context : null;
9627
+ this.SamplingRate = 'SamplingRate' in params ? params.SamplingRate : null;
9628
+ this.UseNewAnalysis = 'UseNewAnalysis' in params ? params.UseNewAnalysis : null;
9629
+
9630
+ }
9631
+ }
9632
+
9002
9633
  /**
9003
9634
  * DescribeSwitchLists request structure.
9004
9635
  * @class
@@ -9976,6 +10607,7 @@ module.exports = {
9976
10607
  BlockIgnoreRule: BlockIgnoreRule,
9977
10608
  ModifyNatFwVpcDnsSwitchRequest: ModifyNatFwVpcDnsSwitchRequest,
9978
10609
  UnHandleEvent: UnHandleEvent,
10610
+ SearchLogResponse: SearchLogResponse,
9979
10611
  DescribeCfwStatusMonitorResponse: DescribeCfwStatusMonitorResponse,
9980
10612
  DeleteAllAccessControlRuleRequest: DeleteAllAccessControlRuleRequest,
9981
10613
  ModifyBlockIgnoreListRequest: ModifyBlockIgnoreListRequest,
@@ -10015,24 +10647,26 @@ module.exports = {
10015
10647
  SetNatFwEipRequest: SetNatFwEipRequest,
10016
10648
  SetNatFwEipResponse: SetNatFwEipResponse,
10017
10649
  AcListsData: AcListsData,
10018
- ModifyPublicIPSwitchStatusRequest: ModifyPublicIPSwitchStatusRequest,
10650
+ LogItems: LogItems,
10019
10651
  CreateNatRuleItem: CreateNatRuleItem,
10020
10652
  ModifySecurityGroupItemRuleStatusRequest: ModifySecurityGroupItemRuleStatusRequest,
10021
10653
  DescribeSourceAssetRequest: DescribeSourceAssetRequest,
10022
10654
  SecurityGroupOrderIndexData: SecurityGroupOrderIndexData,
10023
10655
  DescribeSourceAssetResponse: DescribeSourceAssetResponse,
10024
10656
  DescribeTLogInfoRequest: DescribeTLogInfoRequest,
10657
+ LogItem: LogItem,
10025
10658
  DescribeSecurityGroupListResponse: DescribeSecurityGroupListResponse,
10026
10659
  AssetZone: AssetZone,
10027
10660
  DescribeTLogIpListRequest: DescribeTLogIpListRequest,
10028
10661
  CommonFilter: CommonFilter,
10029
10662
  DescribeNatFwInstancesInfoRequest: DescribeNatFwInstancesInfoRequest,
10030
10663
  ModifyNatSequenceRulesResponse: ModifyNatSequenceRulesResponse,
10664
+ StopSecurityGroupRuleDispatchResponse: StopSecurityGroupRuleDispatchResponse,
10031
10665
  DescribeTableStatusRequest: DescribeTableStatusRequest,
10032
10666
  DescribeSecurityGroupListRequest: DescribeSecurityGroupListRequest,
10033
10667
  ModifyResourceGroupRequest: ModifyResourceGroupRequest,
10034
10668
  CreateNatFwInstanceResponse: CreateNatFwInstanceResponse,
10035
- NewModeItems: NewModeItems,
10669
+ LogInfo: LogInfo,
10036
10670
  DescribeNatFwInfoCountResponse: DescribeNatFwInfoCountResponse,
10037
10671
  DescribeDefenseSwitchRequest: DescribeDefenseSwitchRequest,
10038
10672
  ModifyEnterpriseSecurityDispatchStatusResponse: ModifyEnterpriseSecurityDispatchStatusResponse,
@@ -10043,7 +10677,9 @@ module.exports = {
10043
10677
  BetaInfoByACL: BetaInfoByACL,
10044
10678
  RemoveNatAcRuleRequest: RemoveNatAcRuleRequest,
10045
10679
  ModifyAllRuleStatusRequest: ModifyAllRuleStatusRequest,
10680
+ SearchLogTopics: SearchLogTopics,
10046
10681
  RuleInfoData: RuleInfoData,
10682
+ ModifyPublicIPSwitchStatusRequest: ModifyPublicIPSwitchStatusRequest,
10047
10683
  DescribeAcListsResponse: DescribeAcListsResponse,
10048
10684
  ModifyAllPublicIPSwitchStatusRequest: ModifyAllPublicIPSwitchStatusRequest,
10049
10685
  DescribeBlockStaticListResponse: DescribeBlockStaticListResponse,
@@ -10065,6 +10701,7 @@ module.exports = {
10065
10701
  RemoveEnterpriseSecurityGroupRuleResponse: RemoveEnterpriseSecurityGroupRuleResponse,
10066
10702
  ModifyEnterpriseSecurityGroupRuleRequest: ModifyEnterpriseSecurityGroupRuleRequest,
10067
10703
  ModifySequenceRulesResponse: ModifySequenceRulesResponse,
10704
+ NewModeItems: NewModeItems,
10068
10705
  DescribeResourceGroupNewResponse: DescribeResourceGroupNewResponse,
10069
10706
  DescribeNatFwInstanceWithRegionResponse: DescribeNatFwInstanceWithRegionResponse,
10070
10707
  DescribeResourceGroupNewRequest: DescribeResourceGroupNewRequest,
@@ -10075,6 +10712,7 @@ module.exports = {
10075
10712
  DescribeIPStatusListRequest: DescribeIPStatusListRequest,
10076
10713
  ModifyNatFwSwitchResponse: ModifyNatFwSwitchResponse,
10077
10714
  DescribeBlockByIpTimesListResponse: DescribeBlockByIpTimesListResponse,
10715
+ SearchLogErrors: SearchLogErrors,
10078
10716
  SetNatFwDnatRuleResponse: SetNatFwDnatRuleResponse,
10079
10717
  DescribeRuleOverviewRequest: DescribeRuleOverviewRequest,
10080
10718
  DescribeDefenseSwitchResponse: DescribeDefenseSwitchResponse,
@@ -10087,7 +10725,7 @@ module.exports = {
10087
10725
  DescribeCfwLogsRequest: DescribeCfwLogsRequest,
10088
10726
  NatInstanceInfo: NatInstanceInfo,
10089
10727
  DescribeTLogIpListResponse: DescribeTLogIpListResponse,
10090
- StopSecurityGroupRuleDispatchResponse: StopSecurityGroupRuleDispatchResponse,
10728
+ MultiTopicSearchInformation: MultiTopicSearchInformation,
10091
10729
  DescribeNatFwInfoCountRequest: DescribeNatFwInfoCountRequest,
10092
10730
  AddAcRuleResponse: AddAcRuleResponse,
10093
10731
  ModifyNatFwReSelectRequest: ModifyNatFwReSelectRequest,
@@ -10098,6 +10736,7 @@ module.exports = {
10098
10736
  StopSecurityGroupRuleDispatchRequest: StopSecurityGroupRuleDispatchRequest,
10099
10737
  DescribeBlockIgnoreListRequest: DescribeBlockIgnoreListRequest,
10100
10738
  ModifyBlockTopResponse: ModifyBlockTopResponse,
10739
+ SearchLogInfos: SearchLogInfos,
10101
10740
  ModifyStorageSettingRequest: ModifyStorageSettingRequest,
10102
10741
  DescribeNatFwVpcDnsLstResponse: DescribeNatFwVpcDnsLstResponse,
10103
10742
  DescAcItem: DescAcItem,
@@ -10109,9 +10748,11 @@ module.exports = {
10109
10748
  DeleteVpcInstanceRequest: DeleteVpcInstanceRequest,
10110
10749
  SwitchListsData: SwitchListsData,
10111
10750
  CreateNatFwInstanceWithDomainRequest: CreateNatFwInstanceWithDomainRequest,
10751
+ Column: Column,
10112
10752
  DescribeSwitchListsResponse: DescribeSwitchListsResponse,
10113
10753
  ModifyResourceGroupResponse: ModifyResourceGroupResponse,
10114
10754
  DeleteResourceGroupResponse: DeleteResourceGroupResponse,
10755
+ SearchLogRequest: SearchLogRequest,
10115
10756
  DescribeSwitchListsRequest: DescribeSwitchListsRequest,
10116
10757
  DescribeBlockStaticListRequest: DescribeBlockStaticListRequest,
10117
10758
  FwVpcCidr: FwVpcCidr,