tencentcloud-sdk-nodejs-intl-en 3.0.354 → 3.0.358
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/chdfs/v20201112/models.js +65 -5
- package/tencentcloud/cls/v20201016/cls_client.js +75 -21
- package/tencentcloud/cls/v20201016/models.js +564 -120
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +15 -2
- package/tencentcloud/dbbrain/v20210527/models.js +179 -64
- package/tencentcloud/faceid/v20180301/faceid_client.js +13 -0
- package/tencentcloud/faceid/v20180301/models.js +114 -0
- package/tencentcloud/mariadb/v20170312/mariadb_client.js +13 -0
- package/tencentcloud/mariadb/v20170312/models.js +72 -0
- package/tencentcloud/mongodb/v20190725/models.js +501 -43
- package/tencentcloud/mongodb/v20190725/mongodb_client.js +18 -1
package/package.json
CHANGED
|
@@ -198,19 +198,33 @@ class DescribeFileSystemResponse extends AbstractModel {
|
|
|
198
198
|
this.FileSystem = null;
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
|
-
* Used capacity
|
|
202
|
-
Note: this field may return `null`, indicating that no valid
|
|
201
|
+
* Used capacity of the file system, in bytes
|
|
202
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
203
203
|
* @type {number || null}
|
|
204
204
|
*/
|
|
205
205
|
this.CapacityUsed = null;
|
|
206
206
|
|
|
207
207
|
/**
|
|
208
|
-
* Used ARCHIVE
|
|
208
|
+
* Used ARCHIVE capacity of COS, in bytes
|
|
209
209
|
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
210
210
|
* @type {number || null}
|
|
211
211
|
*/
|
|
212
212
|
this.ArchiveCapacityUsed = null;
|
|
213
213
|
|
|
214
|
+
/**
|
|
215
|
+
* Used STANDARD capacity of COS, in bytes
|
|
216
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
217
|
+
* @type {number || null}
|
|
218
|
+
*/
|
|
219
|
+
this.StandardCapacityUsed = null;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Used STANDARD_IA capacity of COS, in bytes
|
|
223
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
224
|
+
* @type {number || null}
|
|
225
|
+
*/
|
|
226
|
+
this.DegradeCapacityUsed = null;
|
|
227
|
+
|
|
214
228
|
/**
|
|
215
229
|
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
216
230
|
* @type {string || null}
|
|
@@ -234,6 +248,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
234
248
|
}
|
|
235
249
|
this.CapacityUsed = 'CapacityUsed' in params ? params.CapacityUsed : null;
|
|
236
250
|
this.ArchiveCapacityUsed = 'ArchiveCapacityUsed' in params ? params.ArchiveCapacityUsed : null;
|
|
251
|
+
this.StandardCapacityUsed = 'StandardCapacityUsed' in params ? params.StandardCapacityUsed : null;
|
|
252
|
+
this.DegradeCapacityUsed = 'DegradeCapacityUsed' in params ? params.DegradeCapacityUsed : null;
|
|
237
253
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
238
254
|
|
|
239
255
|
}
|
|
@@ -375,6 +391,18 @@ Note: the file system capacity after change cannot be smaller than the currently
|
|
|
375
391
|
*/
|
|
376
392
|
this.PosixAcl = null;
|
|
377
393
|
|
|
394
|
+
/**
|
|
395
|
+
* Whether to enable verification of Ranger service addresses
|
|
396
|
+
* @type {boolean || null}
|
|
397
|
+
*/
|
|
398
|
+
this.EnableRanger = null;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* List of Ranger service addresses, which can be an empty array
|
|
402
|
+
* @type {Array.<string> || null}
|
|
403
|
+
*/
|
|
404
|
+
this.RangerServiceAddresses = null;
|
|
405
|
+
|
|
378
406
|
}
|
|
379
407
|
|
|
380
408
|
/**
|
|
@@ -390,6 +418,8 @@ Note: the file system capacity after change cannot be smaller than the currently
|
|
|
390
418
|
this.CapacityQuota = 'CapacityQuota' in params ? params.CapacityQuota : null;
|
|
391
419
|
this.SuperUsers = 'SuperUsers' in params ? params.SuperUsers : null;
|
|
392
420
|
this.PosixAcl = 'PosixAcl' in params ? params.PosixAcl : null;
|
|
421
|
+
this.EnableRanger = 'EnableRanger' in params ? params.EnableRanger : null;
|
|
422
|
+
this.RangerServiceAddresses = 'RangerServiceAddresses' in params ? params.RangerServiceAddresses : null;
|
|
393
423
|
|
|
394
424
|
}
|
|
395
425
|
}
|
|
@@ -1013,6 +1043,18 @@ class CreateFileSystemRequest extends AbstractModel {
|
|
|
1013
1043
|
*/
|
|
1014
1044
|
this.RootInodeGroup = null;
|
|
1015
1045
|
|
|
1046
|
+
/**
|
|
1047
|
+
* Whether to enable verification of Ranger service addresses
|
|
1048
|
+
* @type {boolean || null}
|
|
1049
|
+
*/
|
|
1050
|
+
this.EnableRanger = null;
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* List of Ranger service addresses (empty array by default)
|
|
1054
|
+
* @type {Array.<string> || null}
|
|
1055
|
+
*/
|
|
1056
|
+
this.RangerServiceAddresses = null;
|
|
1057
|
+
|
|
1016
1058
|
}
|
|
1017
1059
|
|
|
1018
1060
|
/**
|
|
@@ -1029,6 +1071,8 @@ class CreateFileSystemRequest extends AbstractModel {
|
|
|
1029
1071
|
this.SuperUsers = 'SuperUsers' in params ? params.SuperUsers : null;
|
|
1030
1072
|
this.RootInodeUser = 'RootInodeUser' in params ? params.RootInodeUser : null;
|
|
1031
1073
|
this.RootInodeGroup = 'RootInodeGroup' in params ? params.RootInodeGroup : null;
|
|
1074
|
+
this.EnableRanger = 'EnableRanger' in params ? params.EnableRanger : null;
|
|
1075
|
+
this.RangerServiceAddresses = 'RangerServiceAddresses' in params ? params.RangerServiceAddresses : null;
|
|
1032
1076
|
|
|
1033
1077
|
}
|
|
1034
1078
|
}
|
|
@@ -1383,6 +1427,20 @@ class FileSystem extends AbstractModel {
|
|
|
1383
1427
|
*/
|
|
1384
1428
|
this.PosixAcl = null;
|
|
1385
1429
|
|
|
1430
|
+
/**
|
|
1431
|
+
* Whether to enable verification of Ranger service addresses
|
|
1432
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
1433
|
+
* @type {boolean || null}
|
|
1434
|
+
*/
|
|
1435
|
+
this.EnableRanger = null;
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* List of Ranger service addresses
|
|
1439
|
+
Note: this field may return `null`, indicating that no valid value was found.
|
|
1440
|
+
* @type {Array.<string> || null}
|
|
1441
|
+
*/
|
|
1442
|
+
this.RangerServiceAddresses = null;
|
|
1443
|
+
|
|
1386
1444
|
}
|
|
1387
1445
|
|
|
1388
1446
|
/**
|
|
@@ -1403,6 +1461,8 @@ class FileSystem extends AbstractModel {
|
|
|
1403
1461
|
this.Status = 'Status' in params ? params.Status : null;
|
|
1404
1462
|
this.SuperUsers = 'SuperUsers' in params ? params.SuperUsers : null;
|
|
1405
1463
|
this.PosixAcl = 'PosixAcl' in params ? params.PosixAcl : null;
|
|
1464
|
+
this.EnableRanger = 'EnableRanger' in params ? params.EnableRanger : null;
|
|
1465
|
+
this.RangerServiceAddresses = 'RangerServiceAddresses' in params ? params.RangerServiceAddresses : null;
|
|
1406
1466
|
|
|
1407
1467
|
}
|
|
1408
1468
|
}
|
|
@@ -1428,7 +1488,7 @@ class RestoreTask extends AbstractModel {
|
|
|
1428
1488
|
this.FilePath = null;
|
|
1429
1489
|
|
|
1430
1490
|
/**
|
|
1431
|
-
* Restoration task type (1
|
|
1491
|
+
* Restoration task type (`1`: standard; `2`: expedited; `3`: bulk, with only the expedited type available currently)
|
|
1432
1492
|
* @type {number || null}
|
|
1433
1493
|
*/
|
|
1434
1494
|
this.Type = null;
|
|
@@ -1641,7 +1701,7 @@ class Transition extends AbstractModel {
|
|
|
1641
1701
|
this.Days = null;
|
|
1642
1702
|
|
|
1643
1703
|
/**
|
|
1644
|
-
* Transition type (1
|
|
1704
|
+
* Transition type (`1`: transition to ARCHIVE; `2`: delete; `3`: transition to STANDARD_IA)
|
|
1645
1705
|
* @type {number || null}
|
|
1646
1706
|
*/
|
|
1647
1707
|
this.Type = null;
|
|
@@ -56,9 +56,12 @@ const DeleteAsyncSearchTaskResponse = models.DeleteAsyncSearchTaskResponse;
|
|
|
56
56
|
const DescribeExportsRequest = models.DescribeExportsRequest;
|
|
57
57
|
const CreateAsyncSearchTaskRequest = models.CreateAsyncSearchTaskRequest;
|
|
58
58
|
const TopicInfo = models.TopicInfo;
|
|
59
|
+
const DescribeConsumerRequest = models.DescribeConsumerRequest;
|
|
59
60
|
const ShipperTaskInfo = models.ShipperTaskInfo;
|
|
61
|
+
const ModifyConsumerRequest = models.ModifyConsumerRequest;
|
|
60
62
|
const CreateIndexResponse = models.CreateIndexResponse;
|
|
61
63
|
const DeleteConfigFromMachineGroupResponse = models.DeleteConfigFromMachineGroupResponse;
|
|
64
|
+
const CreateConsumerResponse = models.CreateConsumerResponse;
|
|
62
65
|
const ModifyMachineGroupResponse = models.ModifyMachineGroupResponse;
|
|
63
66
|
const RuleInfo = models.RuleInfo;
|
|
64
67
|
const DeleteMachineGroupRequest = models.DeleteMachineGroupRequest;
|
|
@@ -82,19 +85,23 @@ const MachineGroupInfo = models.MachineGroupInfo;
|
|
|
82
85
|
const DescribeMachineGroupsRequest = models.DescribeMachineGroupsRequest;
|
|
83
86
|
const DescribeAsyncContextTasksResponse = models.DescribeAsyncContextTasksResponse;
|
|
84
87
|
const CreateIndexRequest = models.CreateIndexRequest;
|
|
85
|
-
const
|
|
88
|
+
const DeleteConsumerResponse = models.DeleteConsumerResponse;
|
|
86
89
|
const DescribeTopicsRequest = models.DescribeTopicsRequest;
|
|
87
90
|
const GetAlarmLogResponse = models.GetAlarmLogResponse;
|
|
88
91
|
const DescribeAsyncSearchTasksRequest = models.DescribeAsyncSearchTasksRequest;
|
|
89
|
-
const
|
|
92
|
+
const CreateTopicRequest = models.CreateTopicRequest;
|
|
90
93
|
const DescribeAsyncSearchResultResponse = models.DescribeAsyncSearchResultResponse;
|
|
91
94
|
const DescribeAsyncContextTasksRequest = models.DescribeAsyncContextTasksRequest;
|
|
92
95
|
const AlarmTarget = models.AlarmTarget;
|
|
93
96
|
const DeleteConfigResponse = models.DeleteConfigResponse;
|
|
94
97
|
const ModifyIndexResponse = models.ModifyIndexResponse;
|
|
98
|
+
const DeleteConsumerRequest = models.DeleteConsumerRequest;
|
|
95
99
|
const DeleteIndexRequest = models.DeleteIndexRequest;
|
|
100
|
+
const DescribeConsumerResponse = models.DescribeConsumerResponse;
|
|
96
101
|
const ExtractRuleInfo = models.ExtractRuleInfo;
|
|
97
102
|
const AsyncContextTask = models.AsyncContextTask;
|
|
103
|
+
const ModifyConsumerResponse = models.ModifyConsumerResponse;
|
|
104
|
+
const DescribeConfigsRequest = models.DescribeConfigsRequest;
|
|
98
105
|
const DeleteConfigRequest = models.DeleteConfigRequest;
|
|
99
106
|
const AnalysisDimensional = models.AnalysisDimensional;
|
|
100
107
|
const LogsetInfo = models.LogsetInfo;
|
|
@@ -130,6 +137,7 @@ const LogContextInfo = models.LogContextInfo;
|
|
|
130
137
|
const ModifyShipperRequest = models.ModifyShipperRequest;
|
|
131
138
|
const DescribeLogContextResponse = models.DescribeLogContextResponse;
|
|
132
139
|
const DescribeAsyncSearchResultRequest = models.DescribeAsyncSearchResultRequest;
|
|
140
|
+
const CreateConsumerRequest = models.CreateConsumerRequest;
|
|
133
141
|
const AlarmNotice = models.AlarmNotice;
|
|
134
142
|
const ModifyConfigResponse = models.ModifyConfigResponse;
|
|
135
143
|
const ModifyAlarmNoticeResponse = models.ModifyAlarmNoticeResponse;
|
|
@@ -144,10 +152,11 @@ const ShipperInfo = models.ShipperInfo;
|
|
|
144
152
|
const KeyValueInfo = models.KeyValueInfo;
|
|
145
153
|
const DeleteAsyncSearchTaskRequest = models.DeleteAsyncSearchTaskRequest;
|
|
146
154
|
const ModifyMachineGroupRequest = models.ModifyMachineGroupRequest;
|
|
155
|
+
const MergePartitionRequest = models.MergePartitionRequest;
|
|
147
156
|
const DescribeAlarmNoticesRequest = models.DescribeAlarmNoticesRequest;
|
|
148
157
|
const NoticeReceiver = models.NoticeReceiver;
|
|
149
158
|
const AsyncSearchTask = models.AsyncSearchTask;
|
|
150
|
-
const
|
|
159
|
+
const Ckafka = models.Ckafka;
|
|
151
160
|
const WebCallback = models.WebCallback;
|
|
152
161
|
const CreateAsyncSearchTaskResponse = models.CreateAsyncSearchTaskResponse;
|
|
153
162
|
const DeleteAlarmNoticeRequest = models.DeleteAlarmNoticeRequest;
|
|
@@ -169,6 +178,7 @@ const DescribeMachineGroupsResponse = models.DescribeMachineGroupsResponse;
|
|
|
169
178
|
const DescribeLogsetsRequest = models.DescribeLogsetsRequest;
|
|
170
179
|
const DeleteTopicResponse = models.DeleteTopicResponse;
|
|
171
180
|
const Filter = models.Filter;
|
|
181
|
+
const ConsumerContent = models.ConsumerContent;
|
|
172
182
|
const CreateExportResponse = models.CreateExportResponse;
|
|
173
183
|
const KeyRegexInfo = models.KeyRegexInfo;
|
|
174
184
|
const MergePartitionResponse = models.MergePartitionResponse;
|
|
@@ -217,6 +227,17 @@ class ClsClient extends AbstractClient {
|
|
|
217
227
|
this.request("GetAlarmLog", req, resp, cb);
|
|
218
228
|
}
|
|
219
229
|
|
|
230
|
+
/**
|
|
231
|
+
* This API is used to create a shipping task.
|
|
232
|
+
* @param {CreateConsumerRequest} req
|
|
233
|
+
* @param {function(string, CreateConsumerResponse):void} cb
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
CreateConsumer(req, cb) {
|
|
237
|
+
let resp = new CreateConsumerResponse();
|
|
238
|
+
this.request("CreateConsumer", req, resp, cb);
|
|
239
|
+
}
|
|
240
|
+
|
|
220
241
|
/**
|
|
221
242
|
* This API is used to modify a log topic.
|
|
222
243
|
* @param {ModifyTopicRequest} req
|
|
@@ -350,14 +371,14 @@ class ClsClient extends AbstractClient {
|
|
|
350
371
|
}
|
|
351
372
|
|
|
352
373
|
/**
|
|
353
|
-
* This API is used to modify
|
|
354
|
-
* @param {
|
|
355
|
-
* @param {function(string,
|
|
374
|
+
* This API is used to modify a shipping task.
|
|
375
|
+
* @param {ModifyConsumerRequest} req
|
|
376
|
+
* @param {function(string, ModifyConsumerResponse):void} cb
|
|
356
377
|
* @public
|
|
357
378
|
*/
|
|
358
|
-
|
|
359
|
-
let resp = new
|
|
360
|
-
this.request("
|
|
379
|
+
ModifyConsumer(req, cb) {
|
|
380
|
+
let resp = new ModifyConsumerResponse();
|
|
381
|
+
this.request("ModifyConsumer", req, resp, cb);
|
|
361
382
|
}
|
|
362
383
|
|
|
363
384
|
/**
|
|
@@ -372,7 +393,7 @@ class ClsClient extends AbstractClient {
|
|
|
372
393
|
}
|
|
373
394
|
|
|
374
395
|
/**
|
|
375
|
-
* This API is used to create
|
|
396
|
+
* This API is used to create a notification group.
|
|
376
397
|
* @param {CreateAlarmNoticeRequest} req
|
|
377
398
|
* @param {function(string, CreateAlarmNoticeResponse):void} cb
|
|
378
399
|
* @public
|
|
@@ -383,14 +404,14 @@ class ClsClient extends AbstractClient {
|
|
|
383
404
|
}
|
|
384
405
|
|
|
385
406
|
/**
|
|
386
|
-
* This API is used to
|
|
387
|
-
* @param {
|
|
388
|
-
* @param {function(string,
|
|
407
|
+
* This API is used to delete a shipping task.
|
|
408
|
+
* @param {DeleteConsumerRequest} req
|
|
409
|
+
* @param {function(string, DeleteConsumerResponse):void} cb
|
|
389
410
|
* @public
|
|
390
411
|
*/
|
|
391
|
-
|
|
392
|
-
let resp = new
|
|
393
|
-
this.request("
|
|
412
|
+
DeleteConsumer(req, cb) {
|
|
413
|
+
let resp = new DeleteConsumerResponse();
|
|
414
|
+
this.request("DeleteConsumer", req, resp, cb);
|
|
394
415
|
}
|
|
395
416
|
|
|
396
417
|
/**
|
|
@@ -482,7 +503,7 @@ class ClsClient extends AbstractClient {
|
|
|
482
503
|
}
|
|
483
504
|
|
|
484
505
|
/**
|
|
485
|
-
* This API is used to get the
|
|
506
|
+
* This API is used to get the alarm policy list.
|
|
486
507
|
* @param {DescribeAlarmsRequest} req
|
|
487
508
|
* @param {function(string, DescribeAlarmsResponse):void} cb
|
|
488
509
|
* @public
|
|
@@ -504,7 +525,7 @@ class ClsClient extends AbstractClient {
|
|
|
504
525
|
}
|
|
505
526
|
|
|
506
527
|
/**
|
|
507
|
-
* This API is used to get the
|
|
528
|
+
* This API is used to get the notification group list.
|
|
508
529
|
* @param {DescribeAlarmNoticesRequest} req
|
|
509
530
|
* @param {function(string, DescribeAlarmNoticesResponse):void} cb
|
|
510
531
|
* @public
|
|
@@ -537,7 +558,7 @@ class ClsClient extends AbstractClient {
|
|
|
537
558
|
}
|
|
538
559
|
|
|
539
560
|
/**
|
|
540
|
-
* This API is used to delete
|
|
561
|
+
* This API is used to delete a notification group.
|
|
541
562
|
* @param {DeleteAlarmNoticeRequest} req
|
|
542
563
|
* @param {function(string, DeleteAlarmNoticeResponse):void} cb
|
|
543
564
|
* @public
|
|
@@ -560,7 +581,7 @@ class ClsClient extends AbstractClient {
|
|
|
560
581
|
}
|
|
561
582
|
|
|
562
583
|
/**
|
|
563
|
-
* This API is used to modify
|
|
584
|
+
* This API is used to modify a notification group.
|
|
564
585
|
* @param {ModifyAlarmNoticeRequest} req
|
|
565
586
|
* @param {function(string, ModifyAlarmNoticeResponse):void} cb
|
|
566
587
|
* @public
|
|
@@ -571,7 +592,7 @@ class ClsClient extends AbstractClient {
|
|
|
571
592
|
}
|
|
572
593
|
|
|
573
594
|
/**
|
|
574
|
-
* This API is used to search
|
|
595
|
+
* This API is used to search logs. It is subject to the default API rate limit, and the number of concurrent calls to the same log topic cannot exceed 15.
|
|
575
596
|
* @param {SearchLogRequest} req
|
|
576
597
|
* @param {function(string, SearchLogResponse):void} cb
|
|
577
598
|
* @public
|
|
@@ -762,6 +783,17 @@ Import the generated `cls.pb.h` header file into the code and call the API for d
|
|
|
762
783
|
this.request("CreateAsyncContextTask", req, resp, cb);
|
|
763
784
|
}
|
|
764
785
|
|
|
786
|
+
/**
|
|
787
|
+
* This API is used to modify an existing shipping rule. To use this API, you need to grant CLS the write permission of the specified bucket.
|
|
788
|
+
* @param {ModifyShipperRequest} req
|
|
789
|
+
* @param {function(string, ModifyShipperResponse):void} cb
|
|
790
|
+
* @public
|
|
791
|
+
*/
|
|
792
|
+
ModifyShipper(req, cb) {
|
|
793
|
+
let resp = new ModifyShipperResponse();
|
|
794
|
+
this.request("ModifyShipper", req, resp, cb);
|
|
795
|
+
}
|
|
796
|
+
|
|
765
797
|
/**
|
|
766
798
|
* This API is used to create a collection rule configuration.
|
|
767
799
|
* @param {CreateConfigRequest} req
|
|
@@ -839,6 +871,28 @@ Import the generated `cls.pb.h` header file into the code and call the API for d
|
|
|
839
871
|
this.request("DescribeLogContext", req, resp, cb);
|
|
840
872
|
}
|
|
841
873
|
|
|
874
|
+
/**
|
|
875
|
+
* This API is used to query a shipping task.
|
|
876
|
+
* @param {DescribeConsumerRequest} req
|
|
877
|
+
* @param {function(string, DescribeConsumerResponse):void} cb
|
|
878
|
+
* @public
|
|
879
|
+
*/
|
|
880
|
+
DescribeConsumer(req, cb) {
|
|
881
|
+
let resp = new DescribeConsumerResponse();
|
|
882
|
+
this.request("DescribeConsumer", req, resp, cb);
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* This API is used to get a collection rule configuration.
|
|
887
|
+
* @param {DescribeConfigsRequest} req
|
|
888
|
+
* @param {function(string, DescribeConfigsResponse):void} cb
|
|
889
|
+
* @public
|
|
890
|
+
*/
|
|
891
|
+
DescribeConfigs(req, cb) {
|
|
892
|
+
let resp = new DescribeConfigsResponse();
|
|
893
|
+
this.request("DescribeConfigs", req, resp, cb);
|
|
894
|
+
}
|
|
895
|
+
|
|
842
896
|
/**
|
|
843
897
|
* This API is used to merge a topic partition in read/write state. During merge, a topic partition ID can be specified, and CLS will automatically merge the partition adjacent to the right of the range.
|
|
844
898
|
* @param {MergePartitionRequest} req
|