tencentcloud-sdk-nodejs-intl-en 3.0.385 → 3.0.386
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/cdb/v20170320/models.js +48 -6
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +16 -2
- package/tencentcloud/dbbrain/v20210527/models.js +239 -46
- package/tencentcloud/es/v20180416/models.js +16 -0
- package/tencentcloud/tdmq/v20200217/models.js +100 -6
package/package.json
CHANGED
|
@@ -287,16 +287,16 @@ class CreateDBImportJobRequest extends AbstractModel {
|
|
|
287
287
|
this.InstanceId = null;
|
|
288
288
|
|
|
289
289
|
/**
|
|
290
|
-
*
|
|
290
|
+
* TencentDB username
|
|
291
291
|
* @type {string || null}
|
|
292
292
|
*/
|
|
293
|
-
this.
|
|
293
|
+
this.User = null;
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
|
-
*
|
|
296
|
+
* Filename. The file must be a .sql file uploaded to Tencent Cloud.
|
|
297
297
|
* @type {string || null}
|
|
298
298
|
*/
|
|
299
|
-
this.
|
|
299
|
+
this.FileName = null;
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
302
|
* Password of a TencentDB instance user account
|
|
@@ -310,6 +310,12 @@ class CreateDBImportJobRequest extends AbstractModel {
|
|
|
310
310
|
*/
|
|
311
311
|
this.DbName = null;
|
|
312
312
|
|
|
313
|
+
/**
|
|
314
|
+
* URL of a .sql file stored in COS. Either `FileName` or `CosUrl` must be specified.
|
|
315
|
+
* @type {string || null}
|
|
316
|
+
*/
|
|
317
|
+
this.CosUrl = null;
|
|
318
|
+
|
|
313
319
|
}
|
|
314
320
|
|
|
315
321
|
/**
|
|
@@ -320,10 +326,11 @@ class CreateDBImportJobRequest extends AbstractModel {
|
|
|
320
326
|
return;
|
|
321
327
|
}
|
|
322
328
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
323
|
-
this.FileName = 'FileName' in params ? params.FileName : null;
|
|
324
329
|
this.User = 'User' in params ? params.User : null;
|
|
330
|
+
this.FileName = 'FileName' in params ? params.FileName : null;
|
|
325
331
|
this.Password = 'Password' in params ? params.Password : null;
|
|
326
332
|
this.DbName = 'DbName' in params ? params.DbName : null;
|
|
333
|
+
this.CosUrl = 'CosUrl' in params ? params.CosUrl : null;
|
|
327
334
|
|
|
328
335
|
}
|
|
329
336
|
}
|
|
@@ -2076,6 +2083,12 @@ class DescribeDefaultParamsRequest extends AbstractModel {
|
|
|
2076
2083
|
*/
|
|
2077
2084
|
this.EngineVersion = null;
|
|
2078
2085
|
|
|
2086
|
+
/**
|
|
2087
|
+
* Type of the default parameter template. Valid values: `HIGH_STABILITY` (high-stability template), `HIGH_PERFORMANCE` (high-performance template).
|
|
2088
|
+
* @type {string || null}
|
|
2089
|
+
*/
|
|
2090
|
+
this.TemplateType = null;
|
|
2091
|
+
|
|
2079
2092
|
}
|
|
2080
2093
|
|
|
2081
2094
|
/**
|
|
@@ -2086,6 +2099,7 @@ class DescribeDefaultParamsRequest extends AbstractModel {
|
|
|
2086
2099
|
return;
|
|
2087
2100
|
}
|
|
2088
2101
|
this.EngineVersion = 'EngineVersion' in params ? params.EngineVersion : null;
|
|
2102
|
+
this.TemplateType = 'TemplateType' in params ? params.TemplateType : null;
|
|
2089
2103
|
|
|
2090
2104
|
}
|
|
2091
2105
|
}
|
|
@@ -11684,7 +11698,7 @@ class ZoneSellConf extends AbstractModel {
|
|
|
11684
11698
|
super();
|
|
11685
11699
|
|
|
11686
11700
|
/**
|
|
11687
|
-
* AZ status. Value range:
|
|
11701
|
+
* AZ status used to indicate whether instances are purchasable. Value range: `1` (purchasable), `3` (not purchasable), `4` (AZ not displayed)
|
|
11688
11702
|
* @type {number || null}
|
|
11689
11703
|
*/
|
|
11690
11704
|
this.Status = null;
|
|
@@ -11780,6 +11794,26 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
11780
11794
|
*/
|
|
11781
11795
|
this.RemoteRoZone = null;
|
|
11782
11796
|
|
|
11797
|
+
/**
|
|
11798
|
+
* AZ status used to indicate whether dedicated instances are purchasable. Valid values: `1 (purchasable), `3` (not purchasable), `4` (AZ not displayed)
|
|
11799
|
+
* @type {number || null}
|
|
11800
|
+
*/
|
|
11801
|
+
this.ExClusterStatus = null;
|
|
11802
|
+
|
|
11803
|
+
/**
|
|
11804
|
+
* AZ information of the cross-AZ deployed read-only instances which are associated with a dedicated instance
|
|
11805
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
11806
|
+
* @type {Array.<string> || null}
|
|
11807
|
+
*/
|
|
11808
|
+
this.ExClusterRemoteRoZone = null;
|
|
11809
|
+
|
|
11810
|
+
/**
|
|
11811
|
+
* AZ information of a multi-AZ deployed dedicated instance.
|
|
11812
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
11813
|
+
* @type {ZoneConf || null}
|
|
11814
|
+
*/
|
|
11815
|
+
this.ExClusterZoneConf = null;
|
|
11816
|
+
|
|
11783
11817
|
}
|
|
11784
11818
|
|
|
11785
11819
|
/**
|
|
@@ -11818,6 +11852,14 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
11818
11852
|
this.DrZone = 'DrZone' in params ? params.DrZone : null;
|
|
11819
11853
|
this.IsSupportRemoteRo = 'IsSupportRemoteRo' in params ? params.IsSupportRemoteRo : null;
|
|
11820
11854
|
this.RemoteRoZone = 'RemoteRoZone' in params ? params.RemoteRoZone : null;
|
|
11855
|
+
this.ExClusterStatus = 'ExClusterStatus' in params ? params.ExClusterStatus : null;
|
|
11856
|
+
this.ExClusterRemoteRoZone = 'ExClusterRemoteRoZone' in params ? params.ExClusterRemoteRoZone : null;
|
|
11857
|
+
|
|
11858
|
+
if (params.ExClusterZoneConf) {
|
|
11859
|
+
let obj = new ZoneConf();
|
|
11860
|
+
obj.deserialize(params.ExClusterZoneConf)
|
|
11861
|
+
this.ExClusterZoneConf = obj;
|
|
11862
|
+
}
|
|
11821
11863
|
|
|
11822
11864
|
}
|
|
11823
11865
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.386";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -32,9 +32,11 @@ const AddUserContactResponse = models.AddUserContactResponse;
|
|
|
32
32
|
const ModifyDiagDBInstanceConfResponse = models.ModifyDiagDBInstanceConfResponse;
|
|
33
33
|
const DescribeTopSpaceSchemaTimeSeriesResponse = models.DescribeTopSpaceSchemaTimeSeriesResponse;
|
|
34
34
|
const SlowLogTopSqlItem = models.SlowLogTopSqlItem;
|
|
35
|
+
const DescribeProxySessionKillTasksRequest = models.DescribeProxySessionKillTasksRequest;
|
|
35
36
|
const DescribeMySqlProcessListResponse = models.DescribeMySqlProcessListResponse;
|
|
36
37
|
const HealthStatus = models.HealthStatus;
|
|
37
38
|
const DescribeTopSpaceTablesResponse = models.DescribeTopSpaceTablesResponse;
|
|
39
|
+
const TaskInfo = models.TaskInfo;
|
|
38
40
|
const KillMySqlThreadsResponse = models.KillMySqlThreadsResponse;
|
|
39
41
|
const CreateSchedulerMailProfileRequest = models.CreateSchedulerMailProfileRequest;
|
|
40
42
|
const ContactItem = models.ContactItem;
|
|
@@ -62,7 +64,7 @@ const DescribeMailProfileRequest = models.DescribeMailProfileRequest;
|
|
|
62
64
|
const DeleteSecurityAuditLogExportTasksResponse = models.DeleteSecurityAuditLogExportTasksResponse;
|
|
63
65
|
const KillMySqlThreadsRequest = models.KillMySqlThreadsRequest;
|
|
64
66
|
const CreateDBDiagReportUrlRequest = models.CreateDBDiagReportUrlRequest;
|
|
65
|
-
const
|
|
67
|
+
const DescribeSecurityAuditLogExportTasksResponse = models.DescribeSecurityAuditLogExportTasksResponse;
|
|
66
68
|
const HealthScoreInfo = models.HealthScoreInfo;
|
|
67
69
|
const DescribeTopSpaceTableTimeSeriesResponse = models.DescribeTopSpaceTableTimeSeriesResponse;
|
|
68
70
|
const DescribeDBDiagHistoryResponse = models.DescribeDBDiagHistoryResponse;
|
|
@@ -104,12 +106,13 @@ const DescribeDBDiagReportTasksRequest = models.DescribeDBDiagReportTasksRequest
|
|
|
104
106
|
const MonitorMetricSeriesData = models.MonitorMetricSeriesData;
|
|
105
107
|
const SecLogExportTaskInfo = models.SecLogExportTaskInfo;
|
|
106
108
|
const DescribeHealthScoreResponse = models.DescribeHealthScoreResponse;
|
|
107
|
-
const
|
|
109
|
+
const ScoreDetail = models.ScoreDetail;
|
|
108
110
|
const DescribeTopSpaceSchemasRequest = models.DescribeTopSpaceSchemasRequest;
|
|
109
111
|
const DescribeSlowLogTopSqlsResponse = models.DescribeSlowLogTopSqlsResponse;
|
|
110
112
|
const DescribeUserSqlAdviceRequest = models.DescribeUserSqlAdviceRequest;
|
|
111
113
|
const DescribeMySqlProcessListRequest = models.DescribeMySqlProcessListRequest;
|
|
112
114
|
const DescribeSecurityAuditLogDownloadUrlsResponse = models.DescribeSecurityAuditLogDownloadUrlsResponse;
|
|
115
|
+
const DescribeProxySessionKillTasksResponse = models.DescribeProxySessionKillTasksResponse;
|
|
113
116
|
|
|
114
117
|
|
|
115
118
|
/**
|
|
@@ -474,6 +477,17 @@ class DbbrainClient extends AbstractClient {
|
|
|
474
477
|
this.request("CreateDBDiagReportUrl", req, resp, cb);
|
|
475
478
|
}
|
|
476
479
|
|
|
480
|
+
/**
|
|
481
|
+
* This API is used to query the result of the session killing task executed by the Redis proxy node. The async task ID (an input parameter) is obtained after the API `CreateProxySessionKillTask` is successfully called. Currently, the only valid value of `product` is `redis`.
|
|
482
|
+
* @param {DescribeProxySessionKillTasksRequest} req
|
|
483
|
+
* @param {function(string, DescribeProxySessionKillTasksResponse):void} cb
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
DescribeProxySessionKillTasks(req, cb) {
|
|
487
|
+
let resp = new DescribeProxySessionKillTasksResponse();
|
|
488
|
+
this.request("DescribeProxySessionKillTasks", req, resp, cb);
|
|
489
|
+
}
|
|
490
|
+
|
|
477
491
|
|
|
478
492
|
}
|
|
479
493
|
module.exports = DbbrainClient;
|
|
@@ -1007,6 +1007,48 @@ class SlowLogTopSqlItem extends AbstractModel {
|
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
+
/**
|
|
1011
|
+
* DescribeProxySessionKillTasks request structure.
|
|
1012
|
+
* @class
|
|
1013
|
+
*/
|
|
1014
|
+
class DescribeProxySessionKillTasksRequest extends AbstractModel {
|
|
1015
|
+
constructor(){
|
|
1016
|
+
super();
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Instance ID.
|
|
1020
|
+
* @type {string || null}
|
|
1021
|
+
*/
|
|
1022
|
+
this.InstanceId = null;
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* The async session killing task ID, which is obtained after the API `CreateProxySessionKillTask` is successfully called.
|
|
1026
|
+
* @type {Array.<number> || null}
|
|
1027
|
+
*/
|
|
1028
|
+
this.AsyncRequestIds = null;
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Service type. Valid value: `redis` (TencentDB for Redis).
|
|
1032
|
+
* @type {string || null}
|
|
1033
|
+
*/
|
|
1034
|
+
this.Product = null;
|
|
1035
|
+
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* @private
|
|
1040
|
+
*/
|
|
1041
|
+
deserialize(params) {
|
|
1042
|
+
if (!params) {
|
|
1043
|
+
return;
|
|
1044
|
+
}
|
|
1045
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1046
|
+
this.AsyncRequestIds = 'AsyncRequestIds' in params ? params.AsyncRequestIds : null;
|
|
1047
|
+
this.Product = 'Product' in params ? params.Product : null;
|
|
1048
|
+
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1010
1052
|
/**
|
|
1011
1053
|
* DescribeMySqlProcessList response structure.
|
|
1012
1054
|
* @class
|
|
@@ -1158,6 +1200,104 @@ class DescribeTopSpaceTablesResponse extends AbstractModel {
|
|
|
1158
1200
|
}
|
|
1159
1201
|
}
|
|
1160
1202
|
|
|
1203
|
+
/**
|
|
1204
|
+
* Information about Redis session killing task status
|
|
1205
|
+
* @class
|
|
1206
|
+
*/
|
|
1207
|
+
class TaskInfo extends AbstractModel {
|
|
1208
|
+
constructor(){
|
|
1209
|
+
super();
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* Async task ID.
|
|
1213
|
+
* @type {number || null}
|
|
1214
|
+
*/
|
|
1215
|
+
this.AsyncRequestId = null;
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* List of all proxies of the current instance.
|
|
1219
|
+
* @type {Array.<string> || null}
|
|
1220
|
+
*/
|
|
1221
|
+
this.InstProxyList = null;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Total number of proxies of the current instance.
|
|
1225
|
+
* @type {number || null}
|
|
1226
|
+
*/
|
|
1227
|
+
this.InstProxyCount = null;
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* Task creation time.
|
|
1231
|
+
* @type {string || null}
|
|
1232
|
+
*/
|
|
1233
|
+
this.CreateTime = null;
|
|
1234
|
+
|
|
1235
|
+
/**
|
|
1236
|
+
* Task start time.
|
|
1237
|
+
* @type {string || null}
|
|
1238
|
+
*/
|
|
1239
|
+
this.StartTime = null;
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* Task status. Valid values: `created` (create), `chosen` (to be executed), `running` (being executed), `failed` (failed), and `finished` (completed).
|
|
1243
|
+
* @type {string || null}
|
|
1244
|
+
*/
|
|
1245
|
+
this.TaskStatus = null;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* IDs of the proxies that have completed the session killing tasks.
|
|
1249
|
+
* @type {Array.<string> || null}
|
|
1250
|
+
*/
|
|
1251
|
+
this.FinishedProxyList = null;
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* IDs of the proxies that failed to execute the session killing tasks.
|
|
1255
|
+
* @type {Array.<string> || null}
|
|
1256
|
+
*/
|
|
1257
|
+
this.FailedProxyList = null;
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* Task end time.
|
|
1261
|
+
* @type {string || null}
|
|
1262
|
+
*/
|
|
1263
|
+
this.EndTime = null;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Task progress.
|
|
1267
|
+
* @type {number || null}
|
|
1268
|
+
*/
|
|
1269
|
+
this.Progress = null;
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* Instance ID.
|
|
1273
|
+
* @type {string || null}
|
|
1274
|
+
*/
|
|
1275
|
+
this.InstanceId = null;
|
|
1276
|
+
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* @private
|
|
1281
|
+
*/
|
|
1282
|
+
deserialize(params) {
|
|
1283
|
+
if (!params) {
|
|
1284
|
+
return;
|
|
1285
|
+
}
|
|
1286
|
+
this.AsyncRequestId = 'AsyncRequestId' in params ? params.AsyncRequestId : null;
|
|
1287
|
+
this.InstProxyList = 'InstProxyList' in params ? params.InstProxyList : null;
|
|
1288
|
+
this.InstProxyCount = 'InstProxyCount' in params ? params.InstProxyCount : null;
|
|
1289
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1290
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1291
|
+
this.TaskStatus = 'TaskStatus' in params ? params.TaskStatus : null;
|
|
1292
|
+
this.FinishedProxyList = 'FinishedProxyList' in params ? params.FinishedProxyList : null;
|
|
1293
|
+
this.FailedProxyList = 'FailedProxyList' in params ? params.FailedProxyList : null;
|
|
1294
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1295
|
+
this.Progress = 'Progress' in params ? params.Progress : null;
|
|
1296
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1297
|
+
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1161
1301
|
/**
|
|
1162
1302
|
* KillMySqlThreads response structure.
|
|
1163
1303
|
* @class
|
|
@@ -2613,37 +2753,30 @@ class CreateDBDiagReportUrlRequest extends AbstractModel {
|
|
|
2613
2753
|
}
|
|
2614
2754
|
|
|
2615
2755
|
/**
|
|
2616
|
-
*
|
|
2756
|
+
* DescribeSecurityAuditLogExportTasks response structure.
|
|
2617
2757
|
* @class
|
|
2618
2758
|
*/
|
|
2619
|
-
class
|
|
2759
|
+
class DescribeSecurityAuditLogExportTasksResponse extends AbstractModel {
|
|
2620
2760
|
constructor(){
|
|
2621
2761
|
super();
|
|
2622
2762
|
|
|
2623
2763
|
/**
|
|
2624
|
-
*
|
|
2625
|
-
* @type {
|
|
2626
|
-
*/
|
|
2627
|
-
this.IssueType = null;
|
|
2628
|
-
|
|
2629
|
-
/**
|
|
2630
|
-
* Total deducted scores.
|
|
2631
|
-
* @type {number || null}
|
|
2764
|
+
* List of security audit log export tasks.
|
|
2765
|
+
* @type {Array.<SecLogExportTaskInfo> || null}
|
|
2632
2766
|
*/
|
|
2633
|
-
this.
|
|
2767
|
+
this.Tasks = null;
|
|
2634
2768
|
|
|
2635
2769
|
/**
|
|
2636
|
-
*
|
|
2770
|
+
* Total numbers of security audit log export tasks.
|
|
2637
2771
|
* @type {number || null}
|
|
2638
2772
|
*/
|
|
2639
|
-
this.
|
|
2773
|
+
this.TotalCount = null;
|
|
2640
2774
|
|
|
2641
2775
|
/**
|
|
2642
|
-
*
|
|
2643
|
-
|
|
2644
|
-
* @type {Array.<ScoreItem> || null}
|
|
2776
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2777
|
+
* @type {string || null}
|
|
2645
2778
|
*/
|
|
2646
|
-
this.
|
|
2779
|
+
this.RequestId = null;
|
|
2647
2780
|
|
|
2648
2781
|
}
|
|
2649
2782
|
|
|
@@ -2654,18 +2787,17 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2654
2787
|
if (!params) {
|
|
2655
2788
|
return;
|
|
2656
2789
|
}
|
|
2657
|
-
this.IssueType = 'IssueType' in params ? params.IssueType : null;
|
|
2658
|
-
this.ScoreLost = 'ScoreLost' in params ? params.ScoreLost : null;
|
|
2659
|
-
this.ScoreLostMax = 'ScoreLostMax' in params ? params.ScoreLostMax : null;
|
|
2660
2790
|
|
|
2661
|
-
if (params.
|
|
2662
|
-
this.
|
|
2663
|
-
for (let z in params.
|
|
2664
|
-
let obj = new
|
|
2665
|
-
obj.deserialize(params.
|
|
2666
|
-
this.
|
|
2791
|
+
if (params.Tasks) {
|
|
2792
|
+
this.Tasks = new Array();
|
|
2793
|
+
for (let z in params.Tasks) {
|
|
2794
|
+
let obj = new SecLogExportTaskInfo();
|
|
2795
|
+
obj.deserialize(params.Tasks[z]);
|
|
2796
|
+
this.Tasks.push(obj);
|
|
2667
2797
|
}
|
|
2668
2798
|
}
|
|
2799
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2800
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2669
2801
|
|
|
2670
2802
|
}
|
|
2671
2803
|
}
|
|
@@ -4979,30 +5111,37 @@ class DescribeHealthScoreResponse extends AbstractModel {
|
|
|
4979
5111
|
}
|
|
4980
5112
|
|
|
4981
5113
|
/**
|
|
4982
|
-
*
|
|
5114
|
+
* Deduction details.
|
|
4983
5115
|
* @class
|
|
4984
5116
|
*/
|
|
4985
|
-
class
|
|
5117
|
+
class ScoreDetail extends AbstractModel {
|
|
4986
5118
|
constructor(){
|
|
4987
5119
|
super();
|
|
4988
5120
|
|
|
4989
5121
|
/**
|
|
4990
|
-
*
|
|
4991
|
-
* @type {
|
|
5122
|
+
* Deduction item type. Valid values: availability, maintainability, performance, and reliability.
|
|
5123
|
+
* @type {string || null}
|
|
4992
5124
|
*/
|
|
4993
|
-
this.
|
|
5125
|
+
this.IssueType = null;
|
|
4994
5126
|
|
|
4995
5127
|
/**
|
|
4996
|
-
* Total
|
|
5128
|
+
* Total deducted scores.
|
|
4997
5129
|
* @type {number || null}
|
|
4998
5130
|
*/
|
|
4999
|
-
this.
|
|
5131
|
+
this.ScoreLost = null;
|
|
5000
5132
|
|
|
5001
5133
|
/**
|
|
5002
|
-
*
|
|
5003
|
-
* @type {
|
|
5134
|
+
* Upper limit of the deducted scores.
|
|
5135
|
+
* @type {number || null}
|
|
5004
5136
|
*/
|
|
5005
|
-
this.
|
|
5137
|
+
this.ScoreLostMax = null;
|
|
5138
|
+
|
|
5139
|
+
/**
|
|
5140
|
+
* Deduction item list.
|
|
5141
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
5142
|
+
* @type {Array.<ScoreItem> || null}
|
|
5143
|
+
*/
|
|
5144
|
+
this.Items = null;
|
|
5006
5145
|
|
|
5007
5146
|
}
|
|
5008
5147
|
|
|
@@ -5013,17 +5152,18 @@ class DescribeSecurityAuditLogExportTasksResponse extends AbstractModel {
|
|
|
5013
5152
|
if (!params) {
|
|
5014
5153
|
return;
|
|
5015
5154
|
}
|
|
5155
|
+
this.IssueType = 'IssueType' in params ? params.IssueType : null;
|
|
5156
|
+
this.ScoreLost = 'ScoreLost' in params ? params.ScoreLost : null;
|
|
5157
|
+
this.ScoreLostMax = 'ScoreLostMax' in params ? params.ScoreLostMax : null;
|
|
5016
5158
|
|
|
5017
|
-
if (params.
|
|
5018
|
-
this.
|
|
5019
|
-
for (let z in params.
|
|
5020
|
-
let obj = new
|
|
5021
|
-
obj.deserialize(params.
|
|
5022
|
-
this.
|
|
5159
|
+
if (params.Items) {
|
|
5160
|
+
this.Items = new Array();
|
|
5161
|
+
for (let z in params.Items) {
|
|
5162
|
+
let obj = new ScoreItem();
|
|
5163
|
+
obj.deserialize(params.Items[z]);
|
|
5164
|
+
this.Items.push(obj);
|
|
5023
5165
|
}
|
|
5024
5166
|
}
|
|
5025
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
5026
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5027
5167
|
|
|
5028
5168
|
}
|
|
5029
5169
|
}
|
|
@@ -5302,6 +5442,56 @@ class DescribeSecurityAuditLogDownloadUrlsResponse extends AbstractModel {
|
|
|
5302
5442
|
}
|
|
5303
5443
|
}
|
|
5304
5444
|
|
|
5445
|
+
/**
|
|
5446
|
+
* DescribeProxySessionKillTasks response structure.
|
|
5447
|
+
* @class
|
|
5448
|
+
*/
|
|
5449
|
+
class DescribeProxySessionKillTasksResponse extends AbstractModel {
|
|
5450
|
+
constructor(){
|
|
5451
|
+
super();
|
|
5452
|
+
|
|
5453
|
+
/**
|
|
5454
|
+
* Session killing task details.
|
|
5455
|
+
* @type {Array.<TaskInfo> || null}
|
|
5456
|
+
*/
|
|
5457
|
+
this.Tasks = null;
|
|
5458
|
+
|
|
5459
|
+
/**
|
|
5460
|
+
* Total number of tasks.
|
|
5461
|
+
* @type {number || null}
|
|
5462
|
+
*/
|
|
5463
|
+
this.TotalCount = null;
|
|
5464
|
+
|
|
5465
|
+
/**
|
|
5466
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
5467
|
+
* @type {string || null}
|
|
5468
|
+
*/
|
|
5469
|
+
this.RequestId = null;
|
|
5470
|
+
|
|
5471
|
+
}
|
|
5472
|
+
|
|
5473
|
+
/**
|
|
5474
|
+
* @private
|
|
5475
|
+
*/
|
|
5476
|
+
deserialize(params) {
|
|
5477
|
+
if (!params) {
|
|
5478
|
+
return;
|
|
5479
|
+
}
|
|
5480
|
+
|
|
5481
|
+
if (params.Tasks) {
|
|
5482
|
+
this.Tasks = new Array();
|
|
5483
|
+
for (let z in params.Tasks) {
|
|
5484
|
+
let obj = new TaskInfo();
|
|
5485
|
+
obj.deserialize(params.Tasks[z]);
|
|
5486
|
+
this.Tasks.push(obj);
|
|
5487
|
+
}
|
|
5488
|
+
}
|
|
5489
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
5490
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5491
|
+
|
|
5492
|
+
}
|
|
5493
|
+
}
|
|
5494
|
+
|
|
5305
5495
|
module.exports = {
|
|
5306
5496
|
SchemaSpaceTimeSeries: SchemaSpaceTimeSeries,
|
|
5307
5497
|
HealthReportTask: HealthReportTask,
|
|
@@ -5319,9 +5509,11 @@ module.exports = {
|
|
|
5319
5509
|
ModifyDiagDBInstanceConfResponse: ModifyDiagDBInstanceConfResponse,
|
|
5320
5510
|
DescribeTopSpaceSchemaTimeSeriesResponse: DescribeTopSpaceSchemaTimeSeriesResponse,
|
|
5321
5511
|
SlowLogTopSqlItem: SlowLogTopSqlItem,
|
|
5512
|
+
DescribeProxySessionKillTasksRequest: DescribeProxySessionKillTasksRequest,
|
|
5322
5513
|
DescribeMySqlProcessListResponse: DescribeMySqlProcessListResponse,
|
|
5323
5514
|
HealthStatus: HealthStatus,
|
|
5324
5515
|
DescribeTopSpaceTablesResponse: DescribeTopSpaceTablesResponse,
|
|
5516
|
+
TaskInfo: TaskInfo,
|
|
5325
5517
|
KillMySqlThreadsResponse: KillMySqlThreadsResponse,
|
|
5326
5518
|
CreateSchedulerMailProfileRequest: CreateSchedulerMailProfileRequest,
|
|
5327
5519
|
ContactItem: ContactItem,
|
|
@@ -5349,7 +5541,7 @@ module.exports = {
|
|
|
5349
5541
|
DeleteSecurityAuditLogExportTasksResponse: DeleteSecurityAuditLogExportTasksResponse,
|
|
5350
5542
|
KillMySqlThreadsRequest: KillMySqlThreadsRequest,
|
|
5351
5543
|
CreateDBDiagReportUrlRequest: CreateDBDiagReportUrlRequest,
|
|
5352
|
-
|
|
5544
|
+
DescribeSecurityAuditLogExportTasksResponse: DescribeSecurityAuditLogExportTasksResponse,
|
|
5353
5545
|
HealthScoreInfo: HealthScoreInfo,
|
|
5354
5546
|
DescribeTopSpaceTableTimeSeriesResponse: DescribeTopSpaceTableTimeSeriesResponse,
|
|
5355
5547
|
DescribeDBDiagHistoryResponse: DescribeDBDiagHistoryResponse,
|
|
@@ -5391,11 +5583,12 @@ module.exports = {
|
|
|
5391
5583
|
MonitorMetricSeriesData: MonitorMetricSeriesData,
|
|
5392
5584
|
SecLogExportTaskInfo: SecLogExportTaskInfo,
|
|
5393
5585
|
DescribeHealthScoreResponse: DescribeHealthScoreResponse,
|
|
5394
|
-
|
|
5586
|
+
ScoreDetail: ScoreDetail,
|
|
5395
5587
|
DescribeTopSpaceSchemasRequest: DescribeTopSpaceSchemasRequest,
|
|
5396
5588
|
DescribeSlowLogTopSqlsResponse: DescribeSlowLogTopSqlsResponse,
|
|
5397
5589
|
DescribeUserSqlAdviceRequest: DescribeUserSqlAdviceRequest,
|
|
5398
5590
|
DescribeMySqlProcessListRequest: DescribeMySqlProcessListRequest,
|
|
5399
5591
|
DescribeSecurityAuditLogDownloadUrlsResponse: DescribeSecurityAuditLogDownloadUrlsResponse,
|
|
5592
|
+
DescribeProxySessionKillTasksResponse: DescribeProxySessionKillTasksResponse,
|
|
5400
5593
|
|
|
5401
5594
|
}
|
|
@@ -1816,6 +1816,20 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
1816
1816
|
*/
|
|
1817
1817
|
this.HealthStatus = null;
|
|
1818
1818
|
|
|
1819
|
+
/**
|
|
1820
|
+
* Private URL of the HTTPS cluster
|
|
1821
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
1822
|
+
* @type {string || null}
|
|
1823
|
+
*/
|
|
1824
|
+
this.EsPrivateUrl = null;
|
|
1825
|
+
|
|
1826
|
+
/**
|
|
1827
|
+
* Private domain of the HTTPS cluster
|
|
1828
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
1829
|
+
* @type {string || null}
|
|
1830
|
+
*/
|
|
1831
|
+
this.EsPrivateDomain = null;
|
|
1832
|
+
|
|
1819
1833
|
}
|
|
1820
1834
|
|
|
1821
1835
|
/**
|
|
@@ -1956,6 +1970,8 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
1956
1970
|
this.FrozenDiskType = 'FrozenDiskType' in params ? params.FrozenDiskType : null;
|
|
1957
1971
|
this.FrozenDiskSize = 'FrozenDiskSize' in params ? params.FrozenDiskSize : null;
|
|
1958
1972
|
this.HealthStatus = 'HealthStatus' in params ? params.HealthStatus : null;
|
|
1973
|
+
this.EsPrivateUrl = 'EsPrivateUrl' in params ? params.EsPrivateUrl : null;
|
|
1974
|
+
this.EsPrivateDomain = 'EsPrivateDomain' in params ? params.EsPrivateDomain : null;
|
|
1959
1975
|
|
|
1960
1976
|
}
|
|
1961
1977
|
}
|
|
@@ -566,6 +566,12 @@ class CreateCmqTopicRequest extends AbstractModel {
|
|
|
566
566
|
*/
|
|
567
567
|
this.Trace = null;
|
|
568
568
|
|
|
569
|
+
/**
|
|
570
|
+
* Tag array.
|
|
571
|
+
* @type {Array.<Tag> || null}
|
|
572
|
+
*/
|
|
573
|
+
this.Tags = null;
|
|
574
|
+
|
|
569
575
|
}
|
|
570
576
|
|
|
571
577
|
/**
|
|
@@ -581,6 +587,15 @@ class CreateCmqTopicRequest extends AbstractModel {
|
|
|
581
587
|
this.MsgRetentionSeconds = 'MsgRetentionSeconds' in params ? params.MsgRetentionSeconds : null;
|
|
582
588
|
this.Trace = 'Trace' in params ? params.Trace : null;
|
|
583
589
|
|
|
590
|
+
if (params.Tags) {
|
|
591
|
+
this.Tags = new Array();
|
|
592
|
+
for (let z in params.Tags) {
|
|
593
|
+
let obj = new Tag();
|
|
594
|
+
obj.deserialize(params.Tags[z]);
|
|
595
|
+
this.Tags.push(obj);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
584
599
|
}
|
|
585
600
|
}
|
|
586
601
|
|
|
@@ -2093,6 +2108,16 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2093
2108
|
*/
|
|
2094
2109
|
this.ConsumerLimit = null;
|
|
2095
2110
|
|
|
2111
|
+
/**
|
|
2112
|
+
* `0`: Non-persistent and non-partitioned
|
|
2113
|
+
`1`: Non-persistent and partitioned
|
|
2114
|
+
`2`: Persistent and non-partitioned
|
|
2115
|
+
`3`: Persistent and partitioned
|
|
2116
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
2117
|
+
* @type {number || null}
|
|
2118
|
+
*/
|
|
2119
|
+
this.PulsarTopicType = null;
|
|
2120
|
+
|
|
2096
2121
|
}
|
|
2097
2122
|
|
|
2098
2123
|
/**
|
|
@@ -2131,6 +2156,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2131
2156
|
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
2132
2157
|
this.ProducerLimit = 'ProducerLimit' in params ? params.ProducerLimit : null;
|
|
2133
2158
|
this.ConsumerLimit = 'ConsumerLimit' in params ? params.ConsumerLimit : null;
|
|
2159
|
+
this.PulsarTopicType = 'PulsarTopicType' in params ? params.PulsarTopicType : null;
|
|
2134
2160
|
|
|
2135
2161
|
}
|
|
2136
2162
|
}
|
|
@@ -3746,6 +3772,27 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3746
3772
|
*/
|
|
3747
3773
|
this.UpdateTime = null;
|
|
3748
3774
|
|
|
3775
|
+
/**
|
|
3776
|
+
* Subscription type. Valid values: `Exclusive`, `Shared`, `Failover`, and `Key_Shared`. An empty string or `NULL`: Unknown.
|
|
3777
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
3778
|
+
* @type {string || null}
|
|
3779
|
+
*/
|
|
3780
|
+
this.SubType = null;
|
|
3781
|
+
|
|
3782
|
+
/**
|
|
3783
|
+
* Whether messages are blocked as the limit of unacknowledged messages has been reached.
|
|
3784
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
3785
|
+
* @type {boolean || null}
|
|
3786
|
+
*/
|
|
3787
|
+
this.BlockedSubscriptionOnUnackedMsgs = null;
|
|
3788
|
+
|
|
3789
|
+
/**
|
|
3790
|
+
* Maximum number of unacknowledged messages.
|
|
3791
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
3792
|
+
* @type {number || null}
|
|
3793
|
+
*/
|
|
3794
|
+
this.MaxUnackedMsgNum = null;
|
|
3795
|
+
|
|
3749
3796
|
}
|
|
3750
3797
|
|
|
3751
3798
|
/**
|
|
@@ -3788,6 +3835,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3788
3835
|
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
3789
3836
|
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
3790
3837
|
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
3838
|
+
this.SubType = 'SubType' in params ? params.SubType : null;
|
|
3839
|
+
this.BlockedSubscriptionOnUnackedMsgs = 'BlockedSubscriptionOnUnackedMsgs' in params ? params.BlockedSubscriptionOnUnackedMsgs : null;
|
|
3840
|
+
this.MaxUnackedMsgNum = 'MaxUnackedMsgNum' in params ? params.MaxUnackedMsgNum : null;
|
|
3791
3841
|
|
|
3792
3842
|
}
|
|
3793
3843
|
}
|
|
@@ -4131,6 +4181,12 @@ class CreateTopicRequest extends AbstractModel {
|
|
|
4131
4181
|
*/
|
|
4132
4182
|
this.Partitions = null;
|
|
4133
4183
|
|
|
4184
|
+
/**
|
|
4185
|
+
* Remarks (up to 128 characters).
|
|
4186
|
+
* @type {string || null}
|
|
4187
|
+
*/
|
|
4188
|
+
this.Remark = null;
|
|
4189
|
+
|
|
4134
4190
|
/**
|
|
4135
4191
|
* 0: general message;
|
|
4136
4192
|
1: globally sequential message;
|
|
@@ -4142,16 +4198,20 @@ class CreateTopicRequest extends AbstractModel {
|
|
|
4142
4198
|
this.TopicType = null;
|
|
4143
4199
|
|
|
4144
4200
|
/**
|
|
4145
|
-
*
|
|
4201
|
+
* Pulsar cluster ID
|
|
4146
4202
|
* @type {string || null}
|
|
4147
4203
|
*/
|
|
4148
|
-
this.
|
|
4204
|
+
this.ClusterId = null;
|
|
4149
4205
|
|
|
4150
4206
|
/**
|
|
4151
|
-
* Pulsar
|
|
4152
|
-
|
|
4207
|
+
* Pulsar topic type.
|
|
4208
|
+
`0`: Non-persistent and non-partitioned
|
|
4209
|
+
`1`: Non-persistent and partitioned
|
|
4210
|
+
`2`: Persistent and non-partitioned
|
|
4211
|
+
`3`: Persistent and partitioned
|
|
4212
|
+
* @type {number || null}
|
|
4153
4213
|
*/
|
|
4154
|
-
this.
|
|
4214
|
+
this.PulsarTopicType = null;
|
|
4155
4215
|
|
|
4156
4216
|
}
|
|
4157
4217
|
|
|
@@ -4165,9 +4225,10 @@ class CreateTopicRequest extends AbstractModel {
|
|
|
4165
4225
|
this.EnvironmentId = 'EnvironmentId' in params ? params.EnvironmentId : null;
|
|
4166
4226
|
this.TopicName = 'TopicName' in params ? params.TopicName : null;
|
|
4167
4227
|
this.Partitions = 'Partitions' in params ? params.Partitions : null;
|
|
4168
|
-
this.TopicType = 'TopicType' in params ? params.TopicType : null;
|
|
4169
4228
|
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
4229
|
+
this.TopicType = 'TopicType' in params ? params.TopicType : null;
|
|
4170
4230
|
this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
|
|
4231
|
+
this.PulsarTopicType = 'PulsarTopicType' in params ? params.PulsarTopicType : null;
|
|
4171
4232
|
|
|
4172
4233
|
}
|
|
4173
4234
|
}
|
|
@@ -6970,6 +7031,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
6970
7031
|
*/
|
|
6971
7032
|
this.ClientVersion = null;
|
|
6972
7033
|
|
|
7034
|
+
/**
|
|
7035
|
+
* Serial number of the topic partition connected to the consumer.
|
|
7036
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
7037
|
+
* @type {number || null}
|
|
7038
|
+
*/
|
|
7039
|
+
this.Partition = null;
|
|
7040
|
+
|
|
6973
7041
|
}
|
|
6974
7042
|
|
|
6975
7043
|
/**
|
|
@@ -6983,6 +7051,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
6983
7051
|
this.ConsumerAddr = 'ConsumerAddr' in params ? params.ConsumerAddr : null;
|
|
6984
7052
|
this.ConsumerName = 'ConsumerName' in params ? params.ConsumerName : null;
|
|
6985
7053
|
this.ClientVersion = 'ClientVersion' in params ? params.ClientVersion : null;
|
|
7054
|
+
this.Partition = 'Partition' in params ? params.Partition : null;
|
|
6986
7055
|
|
|
6987
7056
|
}
|
|
6988
7057
|
}
|
|
@@ -7536,6 +7605,15 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
7536
7605
|
*/
|
|
7537
7606
|
this.Tags = null;
|
|
7538
7607
|
|
|
7608
|
+
/**
|
|
7609
|
+
* Billing mode:
|
|
7610
|
+
`0`: Pay-as-you-go
|
|
7611
|
+
`1`: Monthly subscription
|
|
7612
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
7613
|
+
* @type {number || null}
|
|
7614
|
+
*/
|
|
7615
|
+
this.PayMode = null;
|
|
7616
|
+
|
|
7539
7617
|
}
|
|
7540
7618
|
|
|
7541
7619
|
/**
|
|
@@ -7579,6 +7657,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
7579
7657
|
this.Tags.push(obj);
|
|
7580
7658
|
}
|
|
7581
7659
|
}
|
|
7660
|
+
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
7582
7661
|
|
|
7583
7662
|
}
|
|
7584
7663
|
}
|
|
@@ -8288,6 +8367,12 @@ class CreateCmqQueueRequest extends AbstractModel {
|
|
|
8288
8367
|
*/
|
|
8289
8368
|
this.Trace = null;
|
|
8290
8369
|
|
|
8370
|
+
/**
|
|
8371
|
+
* Tag array.
|
|
8372
|
+
* @type {Array.<Tag> || null}
|
|
8373
|
+
*/
|
|
8374
|
+
this.Tags = null;
|
|
8375
|
+
|
|
8291
8376
|
}
|
|
8292
8377
|
|
|
8293
8378
|
/**
|
|
@@ -8313,6 +8398,15 @@ class CreateCmqQueueRequest extends AbstractModel {
|
|
|
8313
8398
|
this.MaxTimeToLive = 'MaxTimeToLive' in params ? params.MaxTimeToLive : null;
|
|
8314
8399
|
this.Trace = 'Trace' in params ? params.Trace : null;
|
|
8315
8400
|
|
|
8401
|
+
if (params.Tags) {
|
|
8402
|
+
this.Tags = new Array();
|
|
8403
|
+
for (let z in params.Tags) {
|
|
8404
|
+
let obj = new Tag();
|
|
8405
|
+
obj.deserialize(params.Tags[z]);
|
|
8406
|
+
this.Tags.push(obj);
|
|
8407
|
+
}
|
|
8408
|
+
}
|
|
8409
|
+
|
|
8316
8410
|
}
|
|
8317
8411
|
}
|
|
8318
8412
|
|