tencentcloud-sdk-nodejs-intl-en 3.0.385 → 3.0.388
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/cloudaudit/v20190319/cloudaudit_client.js +14 -1
- package/tencentcloud/cloudaudit/v20190319/models.js +89 -38
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/models.js +5 -5
- 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/tencentcloud/vod/v20180717/models.js +49 -7
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
|
}
|
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
-
const LookupAttribute = models.LookupAttribute;
|
|
20
19
|
const DescribeEventsResponse = models.DescribeEventsResponse;
|
|
21
20
|
const Resource = models.Resource;
|
|
21
|
+
const DescribeAuditTracksResponse = models.DescribeAuditTracksResponse;
|
|
22
|
+
const DescribeAuditTracksRequest = models.DescribeAuditTracksRequest;
|
|
23
|
+
const LookupAttribute = models.LookupAttribute;
|
|
22
24
|
const Event = models.Event;
|
|
23
25
|
const DescribeEventsRequest = models.DescribeEventsRequest;
|
|
24
26
|
|
|
@@ -33,6 +35,17 @@ class CloudauditClient extends AbstractClient {
|
|
|
33
35
|
super("cloudaudit.tencentcloudapi.com", "2019-03-19", credential, region, profile);
|
|
34
36
|
}
|
|
35
37
|
|
|
38
|
+
/**
|
|
39
|
+
* This API is used to query the CloudAudit tracking set list.
|
|
40
|
+
* @param {DescribeAuditTracksRequest} req
|
|
41
|
+
* @param {function(string, DescribeAuditTracksResponse):void} cb
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
DescribeAuditTracks(req, cb) {
|
|
45
|
+
let resp = new DescribeAuditTracksResponse();
|
|
46
|
+
this.request("DescribeAuditTracks", req, resp, cb);
|
|
47
|
+
}
|
|
48
|
+
|
|
36
49
|
/**
|
|
37
50
|
* This API is used to query CloudAudit logs.
|
|
38
51
|
* @param {DescribeEventsRequest} req
|
|
@@ -16,43 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* Search criterion
|
|
21
|
-
* @class
|
|
22
|
-
*/
|
|
23
|
-
class LookupAttribute extends AbstractModel {
|
|
24
|
-
constructor(){
|
|
25
|
-
super();
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Valid values: RequestId, EventName, ReadOnly, Username, ResourceType, ResourceName, AccessKeyId, and EventId
|
|
29
|
-
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
30
|
-
* @type {string || null}
|
|
31
|
-
*/
|
|
32
|
-
this.AttributeKey = null;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Value of `AttributeValue`
|
|
36
|
-
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
37
|
-
* @type {string || null}
|
|
38
|
-
*/
|
|
39
|
-
this.AttributeValue = null;
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @private
|
|
45
|
-
*/
|
|
46
|
-
deserialize(params) {
|
|
47
|
-
if (!params) {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
this.AttributeKey = 'AttributeKey' in params ? params.AttributeKey : null;
|
|
51
|
-
this.AttributeValue = 'AttributeValue' in params ? params.AttributeValue : null;
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
19
|
/**
|
|
57
20
|
* DescribeEvents response structure.
|
|
58
21
|
* @class
|
|
@@ -155,6 +118,92 @@ Note: `null` may be returned for this field, indicating that no valid values can
|
|
|
155
118
|
}
|
|
156
119
|
}
|
|
157
120
|
|
|
121
|
+
/**
|
|
122
|
+
* DescribeAuditTracks response structure.
|
|
123
|
+
* @class
|
|
124
|
+
*/
|
|
125
|
+
class DescribeAuditTracksResponse extends AbstractModel {
|
|
126
|
+
constructor(){
|
|
127
|
+
super();
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
131
|
+
* @type {string || null}
|
|
132
|
+
*/
|
|
133
|
+
this.RequestId = null;
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @private
|
|
139
|
+
*/
|
|
140
|
+
deserialize(params) {
|
|
141
|
+
if (!params) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
145
|
+
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* DescribeAuditTracks request structure.
|
|
151
|
+
* @class
|
|
152
|
+
*/
|
|
153
|
+
class DescribeAuditTracksRequest extends AbstractModel {
|
|
154
|
+
constructor(){
|
|
155
|
+
super();
|
|
156
|
+
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @private
|
|
161
|
+
*/
|
|
162
|
+
deserialize(params) {
|
|
163
|
+
if (!params) {
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Search criterion
|
|
172
|
+
* @class
|
|
173
|
+
*/
|
|
174
|
+
class LookupAttribute extends AbstractModel {
|
|
175
|
+
constructor(){
|
|
176
|
+
super();
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Valid values: RequestId, EventName, ReadOnly, Username, ResourceType, ResourceName, AccessKeyId, and EventId
|
|
180
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
181
|
+
* @type {string || null}
|
|
182
|
+
*/
|
|
183
|
+
this.AttributeKey = null;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Value of `AttributeValue`
|
|
187
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
188
|
+
* @type {string || null}
|
|
189
|
+
*/
|
|
190
|
+
this.AttributeValue = null;
|
|
191
|
+
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @private
|
|
196
|
+
*/
|
|
197
|
+
deserialize(params) {
|
|
198
|
+
if (!params) {
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
this.AttributeKey = 'AttributeKey' in params ? params.AttributeKey : null;
|
|
202
|
+
this.AttributeValue = 'AttributeValue' in params ? params.AttributeValue : null;
|
|
203
|
+
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
158
207
|
/**
|
|
159
208
|
* Log details
|
|
160
209
|
* @class
|
|
@@ -374,9 +423,11 @@ class DescribeEventsRequest extends AbstractModel {
|
|
|
374
423
|
}
|
|
375
424
|
|
|
376
425
|
module.exports = {
|
|
377
|
-
LookupAttribute: LookupAttribute,
|
|
378
426
|
DescribeEventsResponse: DescribeEventsResponse,
|
|
379
427
|
Resource: Resource,
|
|
428
|
+
DescribeAuditTracksResponse: DescribeAuditTracksResponse,
|
|
429
|
+
DescribeAuditTracksRequest: DescribeAuditTracksRequest,
|
|
430
|
+
LookupAttribute: LookupAttribute,
|
|
380
431
|
Event: Event,
|
|
381
432
|
DescribeEventsRequest: DescribeEventsRequest,
|
|
382
433
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.388";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -1272,8 +1272,8 @@ class LoginSettings extends AbstractModel {
|
|
|
1272
1272
|
super();
|
|
1273
1273
|
|
|
1274
1274
|
/**
|
|
1275
|
-
* Login password of the instance.
|
|
1276
|
-
Note:
|
|
1275
|
+
* Login password of the instance. <br><li>For Linux instances, the password must include 8-30 characters, and contain at least two of the following character sets: [a-z], [A-Z], [0-9] and [()\`~!@#$%^&*-+=|{}[]:;',.?/]. <br><li>For Windows instances, the password must include 12-30 characters, and contain at least three of the following character sets: [a-z], [A-Z], [0-9] and [()\`~!@#$%^&*-+=|{}[]:;',.?/]. <br><br>If it's not specified, the user needs to set the login password using the **Reset password** option in the CVM console or calling the API `ResetInstancesPassword` to complete the creation of the CVM instance(s).
|
|
1276
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
1277
1277
|
* @type {string || null}
|
|
1278
1278
|
*/
|
|
1279
1279
|
this.Password = null;
|
|
@@ -2640,7 +2640,7 @@ class ModifyInstancesAttributeRequest extends AbstractModel {
|
|
|
2640
2640
|
this.SecurityGroups = null;
|
|
2641
2641
|
|
|
2642
2642
|
/**
|
|
2643
|
-
*
|
|
2643
|
+
* Whether the termination protection is enabled. Values: <br><li>`TRUE`: enable instance protection, which means that this instance can not be deleted by an API action.<br><li>`FALSE`: do not enable the instance protection.<br><br>Default Value: `FALSE`.
|
|
2644
2644
|
* @type {boolean || null}
|
|
2645
2645
|
*/
|
|
2646
2646
|
this.DisableApiTermination = null;
|
|
@@ -6854,7 +6854,7 @@ class RunInstancesRequest extends AbstractModel {
|
|
|
6854
6854
|
this.InstanceName = null;
|
|
6855
6855
|
|
|
6856
6856
|
/**
|
|
6857
|
-
*
|
|
6857
|
+
* Instance login settings. You can use this parameter to set the login method, login password and SSH key, or keep the original login settings of the image. If it's not specified, the user needs to set the login password using the "Reset password" option in the CVM console or calling the API `ResetInstancesPassword` to complete the creation of the CVM instance(s).
|
|
6858
6858
|
* @type {LoginSettings || null}
|
|
6859
6859
|
*/
|
|
6860
6860
|
this.LoginSettings = null;
|
|
@@ -6942,7 +6942,7 @@ false (default value): send a normal request and create instance(s) if all the r
|
|
|
6942
6942
|
this.LaunchTemplate = null;
|
|
6943
6943
|
|
|
6944
6944
|
/**
|
|
6945
|
-
*
|
|
6945
|
+
* Specify the CHC physical server that used to create the CHC CVM.
|
|
6946
6946
|
* @type {Array.<string> || null}
|
|
6947
6947
|
*/
|
|
6948
6948
|
this.ChcIds = null;
|
|
@@ -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
|
|
|
@@ -2979,7 +2979,7 @@ class ComposeMediaRequest extends AbstractModel {
|
|
|
2979
2979
|
super();
|
|
2980
2980
|
|
|
2981
2981
|
/**
|
|
2982
|
-
* List of input media tracks,
|
|
2982
|
+
* List of input media tracks, including video, audio, and image tracks. <li>Input tracks are synced to the output media file.</li><li>Input tracks are synced to each other. Videos and images in higher tracks are superimposed over those in lower tracks. Audio tracks are mixed.</li><li>There can be up to 10 tracks for video, audio, and images each.</li><li>The total number of clips in all tracks cannot exceed 500.</li>
|
|
2983
2983
|
* @type {Array.<MediaTrack> || null}
|
|
2984
2984
|
*/
|
|
2985
2985
|
this.Tracks = null;
|
|
@@ -12080,26 +12080,49 @@ class CreateSuperPlayerConfigRequest extends AbstractModel {
|
|
|
12080
12080
|
this.Name = null;
|
|
12081
12081
|
|
|
12082
12082
|
/**
|
|
12083
|
-
*
|
|
12084
|
-
<li>
|
|
12085
|
-
<li>
|
|
12086
|
-
|
|
12083
|
+
* Type of audio/video played. Valid values:
|
|
12084
|
+
<li>AdaptiveDynamicStreaming</li>
|
|
12085
|
+
<li>Transcode</li>
|
|
12086
|
+
<li>Original</li>
|
|
12087
|
+
Default value: `AdaptiveDynamicStream`
|
|
12088
|
+
* @type {string || null}
|
|
12089
|
+
*/
|
|
12090
|
+
this.AudioVideoType = null;
|
|
12091
|
+
|
|
12092
|
+
/**
|
|
12093
|
+
* Whether to allow only adaptive bitrate streaming playback protected by DRM. Valid values:
|
|
12094
|
+
<li>`ON`: allow only adaptive bitrate streaming playback protected by DRM</li>
|
|
12095
|
+
<li>`OFF`: allow adaptive bitrate streaming playback not protected by DRM</li>
|
|
12096
|
+
Default value: `OFF`
|
|
12097
|
+
This parameter is valid when `AudioVideoType` is `AdaptiveDynamicStream`.
|
|
12087
12098
|
* @type {string || null}
|
|
12088
12099
|
*/
|
|
12089
12100
|
this.DrmSwitch = null;
|
|
12090
12101
|
|
|
12091
12102
|
/**
|
|
12092
|
-
* ID of the
|
|
12103
|
+
* ID of the adaptive bitrate streaming template allowed for playback not protected by DRM.
|
|
12104
|
+
|
|
12105
|
+
This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `OFF`.
|
|
12093
12106
|
* @type {number || null}
|
|
12094
12107
|
*/
|
|
12095
12108
|
this.AdaptiveDynamicStreamingDefinition = null;
|
|
12096
12109
|
|
|
12097
12110
|
/**
|
|
12098
|
-
* Content of the
|
|
12111
|
+
* Content of the adaptive bitrate streaming template allowed for playback protected by DRM.
|
|
12112
|
+
|
|
12113
|
+
This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `ON`.
|
|
12099
12114
|
* @type {DrmStreamingsInfo || null}
|
|
12100
12115
|
*/
|
|
12101
12116
|
this.DrmStreamingsInfo = null;
|
|
12102
12117
|
|
|
12118
|
+
/**
|
|
12119
|
+
* ID of the transcoding template allowed for playback
|
|
12120
|
+
|
|
12121
|
+
This parameter is required if `AudioVideoType` is `Transcode`.
|
|
12122
|
+
* @type {number || null}
|
|
12123
|
+
*/
|
|
12124
|
+
this.TranscodeDefinition = null;
|
|
12125
|
+
|
|
12103
12126
|
/**
|
|
12104
12127
|
* ID of the image sprite generating template that allows output.
|
|
12105
12128
|
* @type {number || null}
|
|
@@ -12155,6 +12178,7 @@ Default value: OFF.
|
|
|
12155
12178
|
return;
|
|
12156
12179
|
}
|
|
12157
12180
|
this.Name = 'Name' in params ? params.Name : null;
|
|
12181
|
+
this.AudioVideoType = 'AudioVideoType' in params ? params.AudioVideoType : null;
|
|
12158
12182
|
this.DrmSwitch = 'DrmSwitch' in params ? params.DrmSwitch : null;
|
|
12159
12183
|
this.AdaptiveDynamicStreamingDefinition = 'AdaptiveDynamicStreamingDefinition' in params ? params.AdaptiveDynamicStreamingDefinition : null;
|
|
12160
12184
|
|
|
@@ -12163,6 +12187,7 @@ Default value: OFF.
|
|
|
12163
12187
|
obj.deserialize(params.DrmStreamingsInfo)
|
|
12164
12188
|
this.DrmStreamingsInfo = obj;
|
|
12165
12189
|
}
|
|
12190
|
+
this.TranscodeDefinition = 'TranscodeDefinition' in params ? params.TranscodeDefinition : null;
|
|
12166
12191
|
this.ImageSpriteDefinition = 'ImageSpriteDefinition' in params ? params.ImageSpriteDefinition : null;
|
|
12167
12192
|
|
|
12168
12193
|
if (params.ResolutionNames) {
|
|
@@ -23709,6 +23734,15 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
23709
23734
|
*/
|
|
23710
23735
|
this.Name = null;
|
|
23711
23736
|
|
|
23737
|
+
/**
|
|
23738
|
+
* Type of audio/video played. Valid values:
|
|
23739
|
+
<li>AdaptiveDynamicStreaming</li>
|
|
23740
|
+
<li>Transcode</li>
|
|
23741
|
+
<li>Original</li>
|
|
23742
|
+
* @type {string || null}
|
|
23743
|
+
*/
|
|
23744
|
+
this.AudioVideoType = null;
|
|
23745
|
+
|
|
23712
23746
|
/**
|
|
23713
23747
|
* Switch of DRM-protected adaptive bitstream playback:
|
|
23714
23748
|
<li>ON: enabled, indicating to play back only output adaptive bitstreams protected by DRM;</li>
|
|
@@ -23729,6 +23763,12 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
23729
23763
|
*/
|
|
23730
23764
|
this.DrmStreamingsInfo = null;
|
|
23731
23765
|
|
|
23766
|
+
/**
|
|
23767
|
+
* ID of the transcoding template allowed for playback
|
|
23768
|
+
* @type {number || null}
|
|
23769
|
+
*/
|
|
23770
|
+
this.TranscodeDefinition = null;
|
|
23771
|
+
|
|
23732
23772
|
/**
|
|
23733
23773
|
* ID of the image sprite generating template that allows output.
|
|
23734
23774
|
* @type {number || null}
|
|
@@ -23778,6 +23818,7 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
23778
23818
|
return;
|
|
23779
23819
|
}
|
|
23780
23820
|
this.Name = 'Name' in params ? params.Name : null;
|
|
23821
|
+
this.AudioVideoType = 'AudioVideoType' in params ? params.AudioVideoType : null;
|
|
23781
23822
|
this.DrmSwitch = 'DrmSwitch' in params ? params.DrmSwitch : null;
|
|
23782
23823
|
this.AdaptiveDynamicStreamingDefinition = 'AdaptiveDynamicStreamingDefinition' in params ? params.AdaptiveDynamicStreamingDefinition : null;
|
|
23783
23824
|
|
|
@@ -23786,6 +23827,7 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
23786
23827
|
obj.deserialize(params.DrmStreamingsInfo)
|
|
23787
23828
|
this.DrmStreamingsInfo = obj;
|
|
23788
23829
|
}
|
|
23830
|
+
this.TranscodeDefinition = 'TranscodeDefinition' in params ? params.TranscodeDefinition : null;
|
|
23789
23831
|
this.ImageSpriteDefinition = 'ImageSpriteDefinition' in params ? params.ImageSpriteDefinition : null;
|
|
23790
23832
|
|
|
23791
23833
|
if (params.ResolutionNames) {
|