tencentcloud-sdk-nodejs-intl-en 3.0.1155 → 3.0.1157
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/cdwpg/v20201230/cdwpg_client.js +234 -10
- package/tencentcloud/cdwpg/v20201230/models.js +3238 -602
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/ocr/v20181119/models.js +191 -0
- package/tencentcloud/ocr/v20181119/ocr_client.js +13 -0
- package/tencentcloud/teo/v20220901/models.js +76 -77
|
@@ -16,6 +16,53 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* Parameters
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class ConfigParams extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Name.
|
|
29
|
+
|
|
30
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
31
|
+
* @type {string || null}
|
|
32
|
+
*/
|
|
33
|
+
this.ParameterName = null;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Value.
|
|
37
|
+
|
|
38
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
39
|
+
* @type {string || null}
|
|
40
|
+
*/
|
|
41
|
+
this.ParameterValue = null;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Value before modification.
|
|
45
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
46
|
+
* @type {string || null}
|
|
47
|
+
*/
|
|
48
|
+
this.ParameterOldValue = null;
|
|
49
|
+
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @private
|
|
54
|
+
*/
|
|
55
|
+
deserialize(params) {
|
|
56
|
+
if (!params) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
this.ParameterName = 'ParameterName' in params ? params.ParameterName : null;
|
|
60
|
+
this.ParameterValue = 'ParameterValue' in params ? params.ParameterValue : null;
|
|
61
|
+
this.ParameterOldValue = 'ParameterOldValue' in params ? params.ParameterOldValue : null;
|
|
62
|
+
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
19
66
|
/**
|
|
20
67
|
* ModifyInstance response structure.
|
|
21
68
|
* @class
|
|
@@ -53,7 +100,7 @@ class DescribeInstanceInfoRequest extends AbstractModel {
|
|
|
53
100
|
super();
|
|
54
101
|
|
|
55
102
|
/**
|
|
56
|
-
*
|
|
103
|
+
* Instance ID.
|
|
57
104
|
* @type {string || null}
|
|
58
105
|
*/
|
|
59
106
|
this.InstanceId = null;
|
|
@@ -72,6 +119,59 @@ class DescribeInstanceInfoRequest extends AbstractModel {
|
|
|
72
119
|
}
|
|
73
120
|
}
|
|
74
121
|
|
|
122
|
+
/**
|
|
123
|
+
* DescribeUserHbaConfig response structure.
|
|
124
|
+
* @class
|
|
125
|
+
*/
|
|
126
|
+
class DescribeUserHbaConfigResponse extends AbstractModel {
|
|
127
|
+
constructor(){
|
|
128
|
+
super();
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Total number of instances.
|
|
132
|
+
|
|
133
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
134
|
+
* @type {number || null}
|
|
135
|
+
*/
|
|
136
|
+
this.TotalCount = null;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Hba Config array.
|
|
140
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
141
|
+
* @type {Array.<HbaConfig> || null}
|
|
142
|
+
*/
|
|
143
|
+
this.HbaConfigs = null;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
147
|
+
* @type {string || null}
|
|
148
|
+
*/
|
|
149
|
+
this.RequestId = null;
|
|
150
|
+
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @private
|
|
155
|
+
*/
|
|
156
|
+
deserialize(params) {
|
|
157
|
+
if (!params) {
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
161
|
+
|
|
162
|
+
if (params.HbaConfigs) {
|
|
163
|
+
this.HbaConfigs = new Array();
|
|
164
|
+
for (let z in params.HbaConfigs) {
|
|
165
|
+
let obj = new HbaConfig();
|
|
166
|
+
obj.deserialize(params.HbaConfigs[z]);
|
|
167
|
+
this.HbaConfigs.push(obj);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
171
|
+
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
75
175
|
/**
|
|
76
176
|
* Access information.
|
|
77
177
|
* @class
|
|
@@ -109,6 +209,69 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
109
209
|
}
|
|
110
210
|
}
|
|
111
211
|
|
|
212
|
+
/**
|
|
213
|
+
* DescribeUserHbaConfig request structure.
|
|
214
|
+
* @class
|
|
215
|
+
*/
|
|
216
|
+
class DescribeUserHbaConfigRequest extends AbstractModel {
|
|
217
|
+
constructor(){
|
|
218
|
+
super();
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* InstanceId.
|
|
222
|
+
* @type {string || null}
|
|
223
|
+
*/
|
|
224
|
+
this.InstanceId = null;
|
|
225
|
+
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @private
|
|
230
|
+
*/
|
|
231
|
+
deserialize(params) {
|
|
232
|
+
if (!params) {
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
236
|
+
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* ModifyDBParameters response structure.
|
|
242
|
+
* @class
|
|
243
|
+
*/
|
|
244
|
+
class ModifyDBParametersResponse extends AbstractModel {
|
|
245
|
+
constructor(){
|
|
246
|
+
super();
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Asynchronous process ID.
|
|
250
|
+
* @type {number || null}
|
|
251
|
+
*/
|
|
252
|
+
this.TaskId = null;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
256
|
+
* @type {string || null}
|
|
257
|
+
*/
|
|
258
|
+
this.RequestId = null;
|
|
259
|
+
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @private
|
|
264
|
+
*/
|
|
265
|
+
deserialize(params) {
|
|
266
|
+
if (!params) {
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
270
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
271
|
+
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
112
275
|
/**
|
|
113
276
|
* Instance State Information
|
|
114
277
|
* @class
|
|
@@ -174,14 +337,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
174
337
|
this.BackupStatus = null;
|
|
175
338
|
|
|
176
339
|
/**
|
|
177
|
-
* Request
|
|
340
|
+
* Request ID.
|
|
178
341
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
179
342
|
* @type {string || null}
|
|
180
343
|
*/
|
|
181
344
|
this.RequestId = null;
|
|
182
345
|
|
|
183
346
|
/**
|
|
184
|
-
*
|
|
347
|
+
* Indicates whether there is a backup task in the cluster. 1 indicates yes and 0 indicates no.
|
|
185
348
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
186
349
|
* @type {number || null}
|
|
187
350
|
*/
|
|
@@ -211,75 +374,129 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
211
374
|
}
|
|
212
375
|
|
|
213
376
|
/**
|
|
214
|
-
*
|
|
377
|
+
* Slow query item information
|
|
215
378
|
* @class
|
|
216
379
|
*/
|
|
217
|
-
class
|
|
380
|
+
class NormQueryItem extends AbstractModel {
|
|
218
381
|
constructor(){
|
|
219
382
|
super();
|
|
220
383
|
|
|
221
384
|
/**
|
|
222
|
-
*
|
|
385
|
+
* Number of calls.
|
|
386
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
387
|
+
* @type {number || null}
|
|
388
|
+
*/
|
|
389
|
+
this.CallTimes = null;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Number of read-only shared memory blocks.
|
|
393
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
394
|
+
* @type {number || null}
|
|
395
|
+
*/
|
|
396
|
+
this.SharedReadBlocks = null;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Number of write-only shared memory blocks.
|
|
400
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
401
|
+
* @type {number || null}
|
|
402
|
+
*/
|
|
403
|
+
this.SharedWriteBlocks = null;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Database.
|
|
407
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
223
408
|
* @type {string || null}
|
|
224
409
|
*/
|
|
225
|
-
this.
|
|
410
|
+
this.DatabaseName = null;
|
|
226
411
|
|
|
227
|
-
|
|
412
|
+
/**
|
|
413
|
+
* Statement after masking.
|
|
414
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
415
|
+
* @type {string || null}
|
|
416
|
+
*/
|
|
417
|
+
this.NormalQuery = null;
|
|
228
418
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
419
|
+
/**
|
|
420
|
+
* The statement with the longest execution time.
|
|
421
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
422
|
+
* @type {string || null}
|
|
423
|
+
*/
|
|
424
|
+
this.MaxElapsedQuery = null;
|
|
237
425
|
|
|
238
|
-
|
|
239
|
-
|
|
426
|
+
/**
|
|
427
|
+
* Total consumption time.
|
|
428
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
429
|
+
* @type {number || null}
|
|
430
|
+
*/
|
|
431
|
+
this.CostTime = null;
|
|
240
432
|
|
|
241
|
-
/**
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
super();
|
|
433
|
+
/**
|
|
434
|
+
* Client IP address.
|
|
435
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
436
|
+
* @type {string || null}
|
|
437
|
+
*/
|
|
438
|
+
this.ClientIp = null;
|
|
248
439
|
|
|
249
440
|
/**
|
|
250
|
-
*
|
|
441
|
+
* Username.
|
|
442
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
443
|
+
* @type {string || null}
|
|
444
|
+
*/
|
|
445
|
+
this.UserName = null;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Proportion of total count.
|
|
251
449
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
252
450
|
* @type {number || null}
|
|
253
451
|
*/
|
|
254
|
-
this.
|
|
452
|
+
this.TotalCallTimesPercent = null;
|
|
255
453
|
|
|
256
454
|
/**
|
|
257
|
-
*
|
|
455
|
+
* Proportion of total consumption time.
|
|
258
456
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
259
457
|
* @type {number || null}
|
|
260
458
|
*/
|
|
261
|
-
this.
|
|
459
|
+
this.TotalCostTimePercent = null;
|
|
262
460
|
|
|
263
461
|
/**
|
|
264
|
-
*
|
|
462
|
+
* Minimum consumption time.
|
|
463
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
464
|
+
* @type {number || null}
|
|
465
|
+
*/
|
|
466
|
+
this.MinCostTime = null;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Maximum consumption time.
|
|
265
470
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
471
|
+
* @type {number || null}
|
|
472
|
+
*/
|
|
473
|
+
this.MaxCostTime = null;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Time of the earliest item.Note: This field may return null, indicating that no valid values can be obtained.
|
|
266
477
|
* @type {string || null}
|
|
267
478
|
*/
|
|
268
|
-
this.
|
|
479
|
+
this.FirstTime = null;
|
|
269
480
|
|
|
270
481
|
/**
|
|
271
|
-
*
|
|
482
|
+
* Time of the latest item.Note: This field may return null, indicating that no valid values can be obtained.
|
|
483
|
+
* @type {string || null}
|
|
484
|
+
*/
|
|
485
|
+
this.LastTime = null;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Total consumption time of I/O reading.
|
|
272
489
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
273
490
|
* @type {number || null}
|
|
274
491
|
*/
|
|
275
|
-
this.
|
|
492
|
+
this.ReadCostTime = null;
|
|
276
493
|
|
|
277
494
|
/**
|
|
278
|
-
*
|
|
495
|
+
* Total consumption time I/O writing.
|
|
279
496
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
280
|
-
* @type {
|
|
497
|
+
* @type {number || null}
|
|
281
498
|
*/
|
|
282
|
-
this.
|
|
499
|
+
this.WriteCostTime = null;
|
|
283
500
|
|
|
284
501
|
}
|
|
285
502
|
|
|
@@ -290,25 +507,37 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
290
507
|
if (!params) {
|
|
291
508
|
return;
|
|
292
509
|
}
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
510
|
+
this.CallTimes = 'CallTimes' in params ? params.CallTimes : null;
|
|
511
|
+
this.SharedReadBlocks = 'SharedReadBlocks' in params ? params.SharedReadBlocks : null;
|
|
512
|
+
this.SharedWriteBlocks = 'SharedWriteBlocks' in params ? params.SharedWriteBlocks : null;
|
|
513
|
+
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
514
|
+
this.NormalQuery = 'NormalQuery' in params ? params.NormalQuery : null;
|
|
515
|
+
this.MaxElapsedQuery = 'MaxElapsedQuery' in params ? params.MaxElapsedQuery : null;
|
|
516
|
+
this.CostTime = 'CostTime' in params ? params.CostTime : null;
|
|
517
|
+
this.ClientIp = 'ClientIp' in params ? params.ClientIp : null;
|
|
518
|
+
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
519
|
+
this.TotalCallTimesPercent = 'TotalCallTimesPercent' in params ? params.TotalCallTimesPercent : null;
|
|
520
|
+
this.TotalCostTimePercent = 'TotalCostTimePercent' in params ? params.TotalCostTimePercent : null;
|
|
521
|
+
this.MinCostTime = 'MinCostTime' in params ? params.MinCostTime : null;
|
|
522
|
+
this.MaxCostTime = 'MaxCostTime' in params ? params.MaxCostTime : null;
|
|
523
|
+
this.FirstTime = 'FirstTime' in params ? params.FirstTime : null;
|
|
524
|
+
this.LastTime = 'LastTime' in params ? params.LastTime : null;
|
|
525
|
+
this.ReadCostTime = 'ReadCostTime' in params ? params.ReadCostTime : null;
|
|
526
|
+
this.WriteCostTime = 'WriteCostTime' in params ? params.WriteCostTime : null;
|
|
298
527
|
|
|
299
528
|
}
|
|
300
529
|
}
|
|
301
530
|
|
|
302
531
|
/**
|
|
303
|
-
*
|
|
532
|
+
* DescribeInstanceState request structure.
|
|
304
533
|
* @class
|
|
305
534
|
*/
|
|
306
|
-
class
|
|
535
|
+
class DescribeInstanceStateRequest extends AbstractModel {
|
|
307
536
|
constructor(){
|
|
308
537
|
super();
|
|
309
538
|
|
|
310
539
|
/**
|
|
311
|
-
*
|
|
540
|
+
* InstanceId.
|
|
312
541
|
* @type {string || null}
|
|
313
542
|
*/
|
|
314
543
|
this.InstanceId = null;
|
|
@@ -328,36 +557,31 @@ class DestroyInstanceByApiRequest extends AbstractModel {
|
|
|
328
557
|
}
|
|
329
558
|
|
|
330
559
|
/**
|
|
331
|
-
*
|
|
560
|
+
* Description of the account name and instance IDs under the account
|
|
332
561
|
* @class
|
|
333
562
|
*/
|
|
334
|
-
class
|
|
563
|
+
class AccountInfo extends AbstractModel {
|
|
335
564
|
constructor(){
|
|
336
565
|
super();
|
|
337
566
|
|
|
338
567
|
/**
|
|
339
|
-
*
|
|
568
|
+
* Instance ID.
|
|
340
569
|
* @type {string || null}
|
|
341
570
|
*/
|
|
342
|
-
this.
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* Resource count.
|
|
346
|
-
* @type {number || null}
|
|
347
|
-
*/
|
|
348
|
-
this.Count = null;
|
|
571
|
+
this.InstanceId = null;
|
|
349
572
|
|
|
350
573
|
/**
|
|
351
|
-
*
|
|
352
|
-
* @type {
|
|
574
|
+
* Account name.
|
|
575
|
+
* @type {string || null}
|
|
353
576
|
*/
|
|
354
|
-
this.
|
|
577
|
+
this.UserName = null;
|
|
355
578
|
|
|
356
579
|
/**
|
|
357
|
-
*
|
|
358
|
-
|
|
580
|
+
* Account attribute.
|
|
581
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
582
|
+
* @type {Array.<string> || null}
|
|
359
583
|
*/
|
|
360
|
-
this.
|
|
584
|
+
this.Perms = null;
|
|
361
585
|
|
|
362
586
|
}
|
|
363
587
|
|
|
@@ -368,47 +592,38 @@ class ResourceSpecNew extends AbstractModel {
|
|
|
368
592
|
if (!params) {
|
|
369
593
|
return;
|
|
370
594
|
}
|
|
371
|
-
this.
|
|
372
|
-
this.
|
|
373
|
-
|
|
374
|
-
if (params.DiskSpec) {
|
|
375
|
-
let obj = new CBSSpec();
|
|
376
|
-
obj.deserialize(params.DiskSpec)
|
|
377
|
-
this.DiskSpec = obj;
|
|
378
|
-
}
|
|
379
|
-
this.Type = 'Type' in params ? params.Type : null;
|
|
595
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
596
|
+
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
597
|
+
this.Perms = 'Perms' in params ? params.Perms : null;
|
|
380
598
|
|
|
381
599
|
}
|
|
382
600
|
}
|
|
383
601
|
|
|
384
602
|
/**
|
|
385
|
-
*
|
|
603
|
+
* DescribeAccounts request structure.
|
|
386
604
|
* @class
|
|
387
605
|
*/
|
|
388
|
-
class
|
|
606
|
+
class DescribeAccountsRequest extends AbstractModel {
|
|
389
607
|
constructor(){
|
|
390
608
|
super();
|
|
391
609
|
|
|
392
610
|
/**
|
|
393
|
-
*
|
|
394
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
611
|
+
* Instance ID.
|
|
395
612
|
* @type {string || null}
|
|
396
613
|
*/
|
|
397
|
-
this.
|
|
614
|
+
this.InstanceId = null;
|
|
398
615
|
|
|
399
616
|
/**
|
|
400
|
-
*
|
|
401
|
-
|
|
402
|
-
* @type {DiskSpecPlus || null}
|
|
617
|
+
* Offset. Default value: 0.
|
|
618
|
+
* @type {number || null}
|
|
403
619
|
*/
|
|
404
|
-
this.
|
|
620
|
+
this.Offset = null;
|
|
405
621
|
|
|
406
622
|
/**
|
|
407
|
-
*
|
|
408
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
623
|
+
* Limit.
|
|
409
624
|
* @type {number || null}
|
|
410
625
|
*/
|
|
411
|
-
this.
|
|
626
|
+
this.Limit = null;
|
|
412
627
|
|
|
413
628
|
}
|
|
414
629
|
|
|
@@ -419,43 +634,40 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
419
634
|
if (!params) {
|
|
420
635
|
return;
|
|
421
636
|
}
|
|
422
|
-
this.
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
let obj = new DiskSpecPlus();
|
|
426
|
-
obj.deserialize(params.DataDisk)
|
|
427
|
-
this.DataDisk = obj;
|
|
428
|
-
}
|
|
429
|
-
this.CvmCount = 'CvmCount' in params ? params.CvmCount : null;
|
|
637
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
638
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
639
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
430
640
|
|
|
431
641
|
}
|
|
432
642
|
}
|
|
433
643
|
|
|
434
644
|
/**
|
|
435
|
-
*
|
|
645
|
+
* ScaleOutInstance response structure.
|
|
436
646
|
* @class
|
|
437
647
|
*/
|
|
438
|
-
class
|
|
648
|
+
class ScaleOutInstanceResponse extends AbstractModel {
|
|
439
649
|
constructor(){
|
|
440
650
|
super();
|
|
441
651
|
|
|
442
652
|
/**
|
|
443
|
-
*
|
|
653
|
+
* FlowId.
|
|
444
654
|
* @type {string || null}
|
|
445
655
|
*/
|
|
446
|
-
this.
|
|
656
|
+
this.FlowId = null;
|
|
447
657
|
|
|
448
658
|
/**
|
|
449
|
-
*
|
|
450
|
-
|
|
659
|
+
* Error message.
|
|
660
|
+
|
|
661
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
662
|
+
* @type {string || null}
|
|
451
663
|
*/
|
|
452
|
-
this.
|
|
664
|
+
this.ErrorMsg = null;
|
|
453
665
|
|
|
454
666
|
/**
|
|
455
|
-
*
|
|
456
|
-
* @type {
|
|
667
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
668
|
+
* @type {string || null}
|
|
457
669
|
*/
|
|
458
|
-
this.
|
|
670
|
+
this.RequestId = null;
|
|
459
671
|
|
|
460
672
|
}
|
|
461
673
|
|
|
@@ -466,33 +678,27 @@ class CBSSpec extends AbstractModel {
|
|
|
466
678
|
if (!params) {
|
|
467
679
|
return;
|
|
468
680
|
}
|
|
469
|
-
this.
|
|
470
|
-
this.
|
|
471
|
-
this.
|
|
681
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
682
|
+
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
683
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
472
684
|
|
|
473
685
|
}
|
|
474
686
|
}
|
|
475
687
|
|
|
476
688
|
/**
|
|
477
|
-
*
|
|
689
|
+
* DescribeInstanceNodes request structure.
|
|
478
690
|
* @class
|
|
479
691
|
*/
|
|
480
|
-
class
|
|
692
|
+
class DescribeInstanceNodesRequest extends AbstractModel {
|
|
481
693
|
constructor(){
|
|
482
694
|
super();
|
|
483
695
|
|
|
484
696
|
/**
|
|
485
|
-
*
|
|
697
|
+
* InstanceId.
|
|
486
698
|
* @type {string || null}
|
|
487
699
|
*/
|
|
488
700
|
this.InstanceId = null;
|
|
489
701
|
|
|
490
|
-
/**
|
|
491
|
-
* Name of the newly modified instance.
|
|
492
|
-
* @type {string || null}
|
|
493
|
-
*/
|
|
494
|
-
this.InstanceName = null;
|
|
495
|
-
|
|
496
702
|
}
|
|
497
703
|
|
|
498
704
|
/**
|
|
@@ -503,36 +709,26 @@ class ModifyInstanceRequest extends AbstractModel {
|
|
|
503
709
|
return;
|
|
504
710
|
}
|
|
505
711
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
506
|
-
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
507
712
|
|
|
508
713
|
}
|
|
509
714
|
}
|
|
510
715
|
|
|
511
716
|
/**
|
|
512
|
-
*
|
|
717
|
+
* RestartInstance response structure.
|
|
513
718
|
* @class
|
|
514
719
|
*/
|
|
515
|
-
class
|
|
720
|
+
class RestartInstanceResponse extends AbstractModel {
|
|
516
721
|
constructor(){
|
|
517
722
|
super();
|
|
518
723
|
|
|
519
724
|
/**
|
|
520
|
-
*
|
|
521
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
725
|
+
* FlowId.
|
|
522
726
|
* @type {number || null}
|
|
523
727
|
*/
|
|
524
|
-
this.
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* Instances List
|
|
528
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
529
|
-
* @type {Array.<InstanceSimpleInfoNew> || null}
|
|
530
|
-
*/
|
|
531
|
-
this.InstancesList = null;
|
|
728
|
+
this.FlowId = null;
|
|
532
729
|
|
|
533
730
|
/**
|
|
534
|
-
*
|
|
535
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
731
|
+
* Error message.
|
|
536
732
|
* @type {string || null}
|
|
537
733
|
*/
|
|
538
734
|
this.ErrorMsg = null;
|
|
@@ -552,16 +748,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
552
748
|
if (!params) {
|
|
553
749
|
return;
|
|
554
750
|
}
|
|
555
|
-
this.
|
|
556
|
-
|
|
557
|
-
if (params.InstancesList) {
|
|
558
|
-
this.InstancesList = new Array();
|
|
559
|
-
for (let z in params.InstancesList) {
|
|
560
|
-
let obj = new InstanceSimpleInfoNew();
|
|
561
|
-
obj.deserialize(params.InstancesList[z]);
|
|
562
|
-
this.InstancesList.push(obj);
|
|
563
|
-
}
|
|
564
|
-
}
|
|
751
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
565
752
|
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
566
753
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
567
754
|
|
|
@@ -569,40 +756,47 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
569
756
|
}
|
|
570
757
|
|
|
571
758
|
/**
|
|
572
|
-
*
|
|
759
|
+
* Billing time parameter.
|
|
573
760
|
* @class
|
|
574
761
|
*/
|
|
575
|
-
class
|
|
762
|
+
class ChargeProperties extends AbstractModel {
|
|
576
763
|
constructor(){
|
|
577
764
|
super();
|
|
578
765
|
|
|
579
766
|
/**
|
|
580
|
-
*
|
|
767
|
+
* 1: requires auto-renewal.
|
|
581
768
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
582
|
-
* @type {
|
|
769
|
+
* @type {number || null}
|
|
583
770
|
*/
|
|
584
|
-
this.
|
|
771
|
+
this.RenewFlag = null;
|
|
585
772
|
|
|
586
773
|
/**
|
|
587
|
-
*
|
|
774
|
+
* Order time range.
|
|
588
775
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
589
776
|
* @type {number || null}
|
|
590
777
|
*/
|
|
591
|
-
this.
|
|
778
|
+
this.TimeSpan = null;
|
|
592
779
|
|
|
593
780
|
/**
|
|
594
|
-
*
|
|
781
|
+
* Time unit. Valid values: h and m.
|
|
595
782
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
596
|
-
* @type {
|
|
783
|
+
* @type {string || null}
|
|
597
784
|
*/
|
|
598
|
-
this.
|
|
785
|
+
this.TimeUnit = null;
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Billing type: 0 indicates pay-as-you-go and 1 indicates monthly subscription.
|
|
789
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
790
|
+
* @type {number || null}
|
|
791
|
+
*/
|
|
792
|
+
this.PayMode = null;
|
|
599
793
|
|
|
600
794
|
/**
|
|
601
|
-
*
|
|
795
|
+
* PREPAID and POSTPAID_BY_HOUR
|
|
602
796
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
603
797
|
* @type {string || null}
|
|
604
798
|
*/
|
|
605
|
-
this.
|
|
799
|
+
this.ChargeType = null;
|
|
606
800
|
|
|
607
801
|
}
|
|
608
802
|
|
|
@@ -613,201 +807,293 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
613
807
|
if (!params) {
|
|
614
808
|
return;
|
|
615
809
|
}
|
|
616
|
-
this.
|
|
617
|
-
this.
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
obj.deserialize(params.DiskSpec)
|
|
622
|
-
this.DiskSpec = obj;
|
|
623
|
-
}
|
|
624
|
-
this.Type = 'Type' in params ? params.Type : null;
|
|
810
|
+
this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
|
|
811
|
+
this.TimeSpan = 'TimeSpan' in params ? params.TimeSpan : null;
|
|
812
|
+
this.TimeUnit = 'TimeUnit' in params ? params.TimeUnit : null;
|
|
813
|
+
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
814
|
+
this.ChargeType = 'ChargeType' in params ? params.ChargeType : null;
|
|
625
815
|
|
|
626
816
|
}
|
|
627
817
|
}
|
|
628
818
|
|
|
629
819
|
/**
|
|
630
|
-
*
|
|
820
|
+
* DestroyInstanceByApi request structure.
|
|
631
821
|
* @class
|
|
632
822
|
*/
|
|
633
|
-
class
|
|
823
|
+
class DestroyInstanceByApiRequest extends AbstractModel {
|
|
634
824
|
constructor(){
|
|
635
825
|
super();
|
|
636
826
|
|
|
637
827
|
/**
|
|
638
|
-
* Instance
|
|
639
|
-
|
|
640
|
-
* @type {number || null}
|
|
828
|
+
* Instance id. Example: "cdwpg-xxxx".
|
|
829
|
+
* @type {string || null}
|
|
641
830
|
*/
|
|
642
|
-
this.
|
|
831
|
+
this.InstanceId = null;
|
|
832
|
+
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* @private
|
|
837
|
+
*/
|
|
838
|
+
deserialize(params) {
|
|
839
|
+
if (!params) {
|
|
840
|
+
return;
|
|
841
|
+
}
|
|
842
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
843
|
+
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* Upgrade information
|
|
849
|
+
* @class
|
|
850
|
+
*/
|
|
851
|
+
class UpgradeItem extends AbstractModel {
|
|
852
|
+
constructor(){
|
|
853
|
+
super();
|
|
643
854
|
|
|
644
855
|
/**
|
|
645
|
-
*
|
|
856
|
+
* Task name.
|
|
857
|
+
|
|
858
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
646
859
|
* @type {string || null}
|
|
647
860
|
*/
|
|
648
|
-
this.
|
|
861
|
+
this.TaskName = null;
|
|
649
862
|
|
|
650
863
|
/**
|
|
651
|
-
*
|
|
652
|
-
|
|
864
|
+
* Original kernel version.
|
|
865
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
653
866
|
* @type {string || null}
|
|
654
867
|
*/
|
|
655
|
-
this.
|
|
868
|
+
this.SourceVersion = null;
|
|
656
869
|
|
|
657
870
|
/**
|
|
658
|
-
*
|
|
871
|
+
* Target kernel version.
|
|
659
872
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
660
873
|
* @type {string || null}
|
|
661
874
|
*/
|
|
662
|
-
this.
|
|
875
|
+
this.TargetVersion = null;
|
|
663
876
|
|
|
664
877
|
/**
|
|
665
|
-
*
|
|
878
|
+
* Task creation time.
|
|
879
|
+
|
|
666
880
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
667
881
|
* @type {string || null}
|
|
668
882
|
*/
|
|
669
|
-
this.
|
|
883
|
+
this.CreateTime = null;
|
|
670
884
|
|
|
671
885
|
/**
|
|
672
|
-
*
|
|
886
|
+
* Task end time.
|
|
673
887
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
674
|
-
* @type {
|
|
888
|
+
* @type {string || null}
|
|
675
889
|
*/
|
|
676
|
-
this.
|
|
890
|
+
this.EndTime = null;
|
|
677
891
|
|
|
678
892
|
/**
|
|
679
|
-
*
|
|
893
|
+
* Task completion status.
|
|
680
894
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
681
895
|
* @type {string || null}
|
|
682
896
|
*/
|
|
683
|
-
this.
|
|
897
|
+
this.Status = null;
|
|
684
898
|
|
|
685
899
|
/**
|
|
686
|
-
*
|
|
900
|
+
* Operator.
|
|
687
901
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
688
902
|
* @type {string || null}
|
|
689
903
|
*/
|
|
690
|
-
this.
|
|
904
|
+
this.OperateUin = null;
|
|
905
|
+
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* @private
|
|
910
|
+
*/
|
|
911
|
+
deserialize(params) {
|
|
912
|
+
if (!params) {
|
|
913
|
+
return;
|
|
914
|
+
}
|
|
915
|
+
this.TaskName = 'TaskName' in params ? params.TaskName : null;
|
|
916
|
+
this.SourceVersion = 'SourceVersion' in params ? params.SourceVersion : null;
|
|
917
|
+
this.TargetVersion = 'TargetVersion' in params ? params.TargetVersion : null;
|
|
918
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
919
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
920
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
921
|
+
this.OperateUin = 'OperateUin' in params ? params.OperateUin : null;
|
|
922
|
+
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* DescribeDBConfigHistory response structure.
|
|
928
|
+
* @class
|
|
929
|
+
*/
|
|
930
|
+
class DescribeDBConfigHistoryResponse extends AbstractModel {
|
|
931
|
+
constructor(){
|
|
932
|
+
super();
|
|
691
933
|
|
|
692
934
|
/**
|
|
693
|
-
*
|
|
694
|
-
* @type {
|
|
935
|
+
* Total count.
|
|
936
|
+
* @type {number || null}
|
|
695
937
|
*/
|
|
696
|
-
this.
|
|
938
|
+
this.TotalCount = null;
|
|
697
939
|
|
|
698
940
|
/**
|
|
699
|
-
*
|
|
700
|
-
* @type {
|
|
941
|
+
* DBConfig history.
|
|
942
|
+
* @type {Array.<ConfigHistory> || null}
|
|
701
943
|
*/
|
|
702
|
-
this.
|
|
944
|
+
this.ConfigHistory = null;
|
|
703
945
|
|
|
704
946
|
/**
|
|
705
|
-
*
|
|
947
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
706
948
|
* @type {string || null}
|
|
707
949
|
*/
|
|
708
|
-
this.
|
|
950
|
+
this.RequestId = null;
|
|
951
|
+
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* @private
|
|
956
|
+
*/
|
|
957
|
+
deserialize(params) {
|
|
958
|
+
if (!params) {
|
|
959
|
+
return;
|
|
960
|
+
}
|
|
961
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
962
|
+
|
|
963
|
+
if (params.ConfigHistory) {
|
|
964
|
+
this.ConfigHistory = new Array();
|
|
965
|
+
for (let z in params.ConfigHistory) {
|
|
966
|
+
let obj = new ConfigHistory();
|
|
967
|
+
obj.deserialize(params.ConfigHistory[z]);
|
|
968
|
+
this.ConfigHistory.push(obj);
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
972
|
+
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
/**
|
|
977
|
+
* Resource specifications.
|
|
978
|
+
* @class
|
|
979
|
+
*/
|
|
980
|
+
class ResourceSpecNew extends AbstractModel {
|
|
981
|
+
constructor(){
|
|
982
|
+
super();
|
|
709
983
|
|
|
710
984
|
/**
|
|
711
|
-
*
|
|
985
|
+
* Resource name.
|
|
712
986
|
* @type {string || null}
|
|
713
987
|
*/
|
|
714
|
-
this.
|
|
988
|
+
this.SpecName = null;
|
|
715
989
|
|
|
716
990
|
/**
|
|
717
|
-
*
|
|
718
|
-
* @type {
|
|
991
|
+
* Resource count.
|
|
992
|
+
* @type {number || null}
|
|
719
993
|
*/
|
|
720
|
-
this.
|
|
994
|
+
this.Count = null;
|
|
721
995
|
|
|
722
996
|
/**
|
|
723
|
-
*
|
|
724
|
-
* @type {
|
|
997
|
+
* Disk information.
|
|
998
|
+
* @type {CBSSpec || null}
|
|
725
999
|
*/
|
|
726
|
-
this.
|
|
1000
|
+
this.DiskSpec = null;
|
|
727
1001
|
|
|
728
1002
|
/**
|
|
729
|
-
*
|
|
730
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1003
|
+
* Resource type, DATA.
|
|
731
1004
|
* @type {string || null}
|
|
732
1005
|
*/
|
|
733
|
-
this.
|
|
1006
|
+
this.Type = null;
|
|
734
1007
|
|
|
735
|
-
|
|
736
|
-
* CN node list.
|
|
737
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
738
|
-
* @type {Array.<InstanceNodeGroup> || null}
|
|
739
|
-
*/
|
|
740
|
-
this.CNNodes = null;
|
|
1008
|
+
}
|
|
741
1009
|
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
1010
|
+
/**
|
|
1011
|
+
* @private
|
|
1012
|
+
*/
|
|
1013
|
+
deserialize(params) {
|
|
1014
|
+
if (!params) {
|
|
1015
|
+
return;
|
|
1016
|
+
}
|
|
1017
|
+
this.SpecName = 'SpecName' in params ? params.SpecName : null;
|
|
1018
|
+
this.Count = 'Count' in params ? params.Count : null;
|
|
748
1019
|
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
this.
|
|
1020
|
+
if (params.DiskSpec) {
|
|
1021
|
+
let obj = new CBSSpec();
|
|
1022
|
+
obj.deserialize(params.DiskSpec)
|
|
1023
|
+
this.DiskSpec = obj;
|
|
1024
|
+
}
|
|
1025
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
1026
|
+
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Instance node
|
|
1032
|
+
* @class
|
|
1033
|
+
*/
|
|
1034
|
+
class InstanceNode extends AbstractModel {
|
|
1035
|
+
constructor(){
|
|
1036
|
+
super();
|
|
755
1037
|
|
|
756
1038
|
/**
|
|
757
|
-
*
|
|
758
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1039
|
+
* id
|
|
759
1040
|
* @type {number || null}
|
|
760
1041
|
*/
|
|
761
|
-
this.
|
|
1042
|
+
this.NodeId = null;
|
|
762
1043
|
|
|
763
1044
|
/**
|
|
764
|
-
*
|
|
765
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1045
|
+
* cn
|
|
766
1046
|
* @type {string || null}
|
|
767
1047
|
*/
|
|
768
|
-
this.
|
|
1048
|
+
this.NodeType = null;
|
|
769
1049
|
|
|
770
1050
|
/**
|
|
771
|
-
*
|
|
772
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1051
|
+
* ip
|
|
773
1052
|
* @type {string || null}
|
|
774
1053
|
*/
|
|
775
|
-
this.
|
|
1054
|
+
this.NodeIp = null;
|
|
776
1055
|
|
|
777
|
-
|
|
778
|
-
* Expire Time
|
|
779
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
780
|
-
* @type {string || null}
|
|
781
|
-
*/
|
|
782
|
-
this.ExpireTime = null;
|
|
1056
|
+
}
|
|
783
1057
|
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
1058
|
+
/**
|
|
1059
|
+
* @private
|
|
1060
|
+
*/
|
|
1061
|
+
deserialize(params) {
|
|
1062
|
+
if (!params) {
|
|
1063
|
+
return;
|
|
1064
|
+
}
|
|
1065
|
+
this.NodeId = 'NodeId' in params ? params.NodeId : null;
|
|
1066
|
+
this.NodeType = 'NodeType' in params ? params.NodeType : null;
|
|
1067
|
+
this.NodeIp = 'NodeIp' in params ? params.NodeIp : null;
|
|
790
1068
|
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* DescribeDBConfigHistory request structure.
|
|
1074
|
+
* @class
|
|
1075
|
+
*/
|
|
1076
|
+
class DescribeDBConfigHistoryRequest extends AbstractModel {
|
|
1077
|
+
constructor(){
|
|
1078
|
+
super();
|
|
797
1079
|
|
|
798
1080
|
/**
|
|
799
|
-
* Instance
|
|
800
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1081
|
+
* Instance ID.
|
|
801
1082
|
* @type {string || null}
|
|
802
1083
|
*/
|
|
803
1084
|
this.InstanceId = null;
|
|
804
1085
|
|
|
805
1086
|
/**
|
|
806
|
-
*
|
|
807
|
-
|
|
808
|
-
* @type {Array.<AccessInfo> || null}
|
|
1087
|
+
* Limit.
|
|
1088
|
+
* @type {number || null}
|
|
809
1089
|
*/
|
|
810
|
-
this.
|
|
1090
|
+
this.Limit = null;
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* Offset.
|
|
1094
|
+
* @type {number || null}
|
|
1095
|
+
*/
|
|
1096
|
+
this.Offset = null;
|
|
811
1097
|
|
|
812
1098
|
}
|
|
813
1099
|
|
|
@@ -818,106 +1104,49 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
818
1104
|
if (!params) {
|
|
819
1105
|
return;
|
|
820
1106
|
}
|
|
821
|
-
this.ID = 'ID' in params ? params.ID : null;
|
|
822
|
-
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
823
|
-
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
824
|
-
this.Status = 'Status' in params ? params.Status : null;
|
|
825
|
-
this.StatusDesc = 'StatusDesc' in params ? params.StatusDesc : null;
|
|
826
|
-
|
|
827
|
-
if (params.InstanceStateInfo) {
|
|
828
|
-
let obj = new InstanceStateInfo();
|
|
829
|
-
obj.deserialize(params.InstanceStateInfo)
|
|
830
|
-
this.InstanceStateInfo = obj;
|
|
831
|
-
}
|
|
832
|
-
this.InstanceID = 'InstanceID' in params ? params.InstanceID : null;
|
|
833
|
-
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
834
|
-
this.Region = 'Region' in params ? params.Region : null;
|
|
835
|
-
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
836
|
-
this.RegionDesc = 'RegionDesc' in params ? params.RegionDesc : null;
|
|
837
|
-
this.ZoneDesc = 'ZoneDesc' in params ? params.ZoneDesc : null;
|
|
838
|
-
|
|
839
|
-
if (params.Tags) {
|
|
840
|
-
this.Tags = new Array();
|
|
841
|
-
for (let z in params.Tags) {
|
|
842
|
-
let obj = new Tag();
|
|
843
|
-
obj.deserialize(params.Tags[z]);
|
|
844
|
-
this.Tags.push(obj);
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
this.Version = 'Version' in params ? params.Version : null;
|
|
848
|
-
this.Charset = 'Charset' in params ? params.Charset : null;
|
|
849
|
-
|
|
850
|
-
if (params.CNNodes) {
|
|
851
|
-
this.CNNodes = new Array();
|
|
852
|
-
for (let z in params.CNNodes) {
|
|
853
|
-
let obj = new InstanceNodeGroup();
|
|
854
|
-
obj.deserialize(params.CNNodes[z]);
|
|
855
|
-
this.CNNodes.push(obj);
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
if (params.DNNodes) {
|
|
860
|
-
this.DNNodes = new Array();
|
|
861
|
-
for (let z in params.DNNodes) {
|
|
862
|
-
let obj = new InstanceNodeGroup();
|
|
863
|
-
obj.deserialize(params.DNNodes[z]);
|
|
864
|
-
this.DNNodes.push(obj);
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
this.RegionId = 'RegionId' in params ? params.RegionId : null;
|
|
868
|
-
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
869
|
-
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
870
|
-
this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
|
|
871
|
-
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
872
|
-
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
873
|
-
this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
|
|
874
1107
|
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
this.AccessDetails = new Array();
|
|
878
|
-
for (let z in params.AccessDetails) {
|
|
879
|
-
let obj = new AccessInfo();
|
|
880
|
-
obj.deserialize(params.AccessDetails[z]);
|
|
881
|
-
this.AccessDetails.push(obj);
|
|
882
|
-
}
|
|
883
|
-
}
|
|
1108
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1109
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
884
1110
|
|
|
885
1111
|
}
|
|
886
1112
|
}
|
|
887
1113
|
|
|
888
1114
|
/**
|
|
889
|
-
*
|
|
1115
|
+
* Error log details
|
|
890
1116
|
* @class
|
|
891
1117
|
*/
|
|
892
|
-
class
|
|
1118
|
+
class ErrorLogDetail extends AbstractModel {
|
|
893
1119
|
constructor(){
|
|
894
1120
|
super();
|
|
895
1121
|
|
|
896
1122
|
/**
|
|
897
|
-
*
|
|
1123
|
+
* Username.
|
|
1124
|
+
|
|
898
1125
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
899
|
-
* @type {
|
|
1126
|
+
* @type {string || null}
|
|
900
1127
|
*/
|
|
901
|
-
this.
|
|
1128
|
+
this.UserName = null;
|
|
902
1129
|
|
|
903
1130
|
/**
|
|
904
|
-
*
|
|
1131
|
+
* Database.
|
|
905
1132
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
906
|
-
* @type {
|
|
1133
|
+
* @type {string || null}
|
|
907
1134
|
*/
|
|
908
|
-
this.
|
|
1135
|
+
this.Database = null;
|
|
909
1136
|
|
|
910
1137
|
/**
|
|
911
|
-
*
|
|
1138
|
+
* The time an error was reported.
|
|
1139
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
912
1140
|
* @type {string || null}
|
|
913
1141
|
*/
|
|
914
|
-
this.
|
|
1142
|
+
this.ErrorTime = null;
|
|
915
1143
|
|
|
916
1144
|
/**
|
|
917
|
-
*
|
|
1145
|
+
* Error message.
|
|
1146
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
918
1147
|
* @type {string || null}
|
|
919
1148
|
*/
|
|
920
|
-
this.
|
|
1149
|
+
this.ErrorMessage = null;
|
|
921
1150
|
|
|
922
1151
|
}
|
|
923
1152
|
|
|
@@ -928,71 +1157,94 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
928
1157
|
if (!params) {
|
|
929
1158
|
return;
|
|
930
1159
|
}
|
|
931
|
-
this.
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
for (let z in params.InstancesList) {
|
|
936
|
-
let obj = new InstanceInfo();
|
|
937
|
-
obj.deserialize(params.InstancesList[z]);
|
|
938
|
-
this.InstancesList.push(obj);
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
942
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1160
|
+
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
1161
|
+
this.Database = 'Database' in params ? params.Database : null;
|
|
1162
|
+
this.ErrorTime = 'ErrorTime' in params ? params.ErrorTime : null;
|
|
1163
|
+
this.ErrorMessage = 'ErrorMessage' in params ? params.ErrorMessage : null;
|
|
943
1164
|
|
|
944
1165
|
}
|
|
945
1166
|
}
|
|
946
1167
|
|
|
947
1168
|
/**
|
|
948
|
-
*
|
|
1169
|
+
* DescribeDBParams request structure.
|
|
949
1170
|
* @class
|
|
950
1171
|
*/
|
|
951
|
-
class
|
|
1172
|
+
class DescribeDBParamsRequest extends AbstractModel {
|
|
952
1173
|
constructor(){
|
|
953
1174
|
super();
|
|
954
1175
|
|
|
955
1176
|
/**
|
|
956
|
-
*
|
|
957
|
-
|
|
958
|
-
* @type {number || null}
|
|
1177
|
+
* cn/dn
|
|
1178
|
+
* @type {Array.<string> || null}
|
|
959
1179
|
*/
|
|
960
|
-
this.
|
|
1180
|
+
this.NodeTypes = null;
|
|
961
1181
|
|
|
962
1182
|
/**
|
|
963
|
-
*
|
|
964
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1183
|
+
* Limit.
|
|
965
1184
|
* @type {number || null}
|
|
966
1185
|
*/
|
|
967
|
-
this.
|
|
1186
|
+
this.Limit = null;
|
|
968
1187
|
|
|
969
1188
|
/**
|
|
970
|
-
*
|
|
971
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1189
|
+
* Offset.
|
|
972
1190
|
* @type {number || null}
|
|
973
1191
|
*/
|
|
974
|
-
this.
|
|
1192
|
+
this.Offset = null;
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* InstanceId.
|
|
1196
|
+
* @type {string || null}
|
|
1197
|
+
*/
|
|
1198
|
+
this.InstanceId = null;
|
|
1199
|
+
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* @private
|
|
1204
|
+
*/
|
|
1205
|
+
deserialize(params) {
|
|
1206
|
+
if (!params) {
|
|
1207
|
+
return;
|
|
1208
|
+
}
|
|
1209
|
+
this.NodeTypes = 'NodeTypes' in params ? params.NodeTypes : null;
|
|
1210
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1211
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1212
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1213
|
+
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* Disk specifications.
|
|
1219
|
+
* @class
|
|
1220
|
+
*/
|
|
1221
|
+
class CBSSpec extends AbstractModel {
|
|
1222
|
+
constructor(){
|
|
1223
|
+
super();
|
|
975
1224
|
|
|
976
1225
|
/**
|
|
977
|
-
* Disk
|
|
1226
|
+
* Disk type.
|
|
1227
|
+
|
|
978
1228
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
979
1229
|
* @type {string || null}
|
|
980
1230
|
*/
|
|
981
1231
|
this.DiskType = null;
|
|
982
1232
|
|
|
983
1233
|
/**
|
|
984
|
-
*
|
|
1234
|
+
* Size.
|
|
1235
|
+
|
|
985
1236
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
986
|
-
* @type {
|
|
1237
|
+
* @type {number || null}
|
|
987
1238
|
*/
|
|
988
|
-
this.
|
|
1239
|
+
this.DiskSize = null;
|
|
989
1240
|
|
|
990
1241
|
/**
|
|
991
|
-
*
|
|
1242
|
+
* Number.
|
|
1243
|
+
|
|
992
1244
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
993
|
-
* @type {
|
|
1245
|
+
* @type {number || null}
|
|
994
1246
|
*/
|
|
995
|
-
this.
|
|
1247
|
+
this.DiskCount = null;
|
|
996
1248
|
|
|
997
1249
|
}
|
|
998
1250
|
|
|
@@ -1003,53 +1255,2167 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1003
1255
|
if (!params) {
|
|
1004
1256
|
return;
|
|
1005
1257
|
}
|
|
1006
|
-
this.DiskCount = 'DiskCount' in params ? params.DiskCount : null;
|
|
1007
|
-
this.MaxDiskSize = 'MaxDiskSize' in params ? params.MaxDiskSize : null;
|
|
1008
|
-
this.MinDiskSize = 'MinDiskSize' in params ? params.MinDiskSize : null;
|
|
1009
1258
|
this.DiskType = 'DiskType' in params ? params.DiskType : null;
|
|
1010
|
-
this.
|
|
1011
|
-
this.
|
|
1259
|
+
this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
|
|
1260
|
+
this.DiskCount = 'DiskCount' in params ? params.DiskCount : null;
|
|
1012
1261
|
|
|
1013
1262
|
}
|
|
1014
1263
|
}
|
|
1015
1264
|
|
|
1016
1265
|
/**
|
|
1017
|
-
*
|
|
1266
|
+
* DescribeInstanceNodes response structure.
|
|
1018
1267
|
* @class
|
|
1019
1268
|
*/
|
|
1020
|
-
class
|
|
1269
|
+
class DescribeInstanceNodesResponse extends AbstractModel {
|
|
1021
1270
|
constructor(){
|
|
1022
1271
|
super();
|
|
1023
1272
|
|
|
1024
1273
|
/**
|
|
1025
|
-
*
|
|
1274
|
+
* error msg
|
|
1275
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1026
1276
|
* @type {string || null}
|
|
1027
1277
|
*/
|
|
1028
|
-
this.
|
|
1278
|
+
this.ErrorMsg = null;
|
|
1029
1279
|
|
|
1030
1280
|
/**
|
|
1031
|
-
*
|
|
1032
|
-
|
|
1281
|
+
* Node list.
|
|
1282
|
+
|
|
1283
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1284
|
+
* @type {Array.<InstanceNode> || null}
|
|
1033
1285
|
*/
|
|
1034
|
-
this.
|
|
1286
|
+
this.InstanceNodes = null;
|
|
1035
1287
|
|
|
1036
1288
|
/**
|
|
1037
|
-
*
|
|
1038
|
-
* @type {
|
|
1289
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1290
|
+
* @type {string || null}
|
|
1291
|
+
*/
|
|
1292
|
+
this.RequestId = null;
|
|
1293
|
+
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* @private
|
|
1298
|
+
*/
|
|
1299
|
+
deserialize(params) {
|
|
1300
|
+
if (!params) {
|
|
1301
|
+
return;
|
|
1302
|
+
}
|
|
1303
|
+
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
1304
|
+
|
|
1305
|
+
if (params.InstanceNodes) {
|
|
1306
|
+
this.InstanceNodes = new Array();
|
|
1307
|
+
for (let z in params.InstanceNodes) {
|
|
1308
|
+
let obj = new InstanceNode();
|
|
1309
|
+
obj.deserialize(params.InstanceNodes[z]);
|
|
1310
|
+
this.InstanceNodes.push(obj);
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1314
|
+
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* ModifyInstance request structure.
|
|
1320
|
+
* @class
|
|
1321
|
+
*/
|
|
1322
|
+
class ModifyInstanceRequest extends AbstractModel {
|
|
1323
|
+
constructor(){
|
|
1324
|
+
super();
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* InstanceId.
|
|
1328
|
+
* @type {string || null}
|
|
1329
|
+
*/
|
|
1330
|
+
this.InstanceId = null;
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* Name of the newly modified instance.
|
|
1334
|
+
* @type {string || null}
|
|
1335
|
+
*/
|
|
1336
|
+
this.InstanceName = null;
|
|
1337
|
+
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* @private
|
|
1342
|
+
*/
|
|
1343
|
+
deserialize(params) {
|
|
1344
|
+
if (!params) {
|
|
1345
|
+
return;
|
|
1346
|
+
}
|
|
1347
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1348
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
1349
|
+
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* DescribeSimpleInstances response structure.
|
|
1355
|
+
* @class
|
|
1356
|
+
*/
|
|
1357
|
+
class DescribeSimpleInstancesResponse extends AbstractModel {
|
|
1358
|
+
constructor(){
|
|
1359
|
+
super();
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* Total count of instance lists.
|
|
1363
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1364
|
+
* @type {number || null}
|
|
1365
|
+
*/
|
|
1366
|
+
this.TotalCount = null;
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* Instance list details.
|
|
1370
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1371
|
+
* @type {Array.<InstanceSimpleInfoNew> || null}
|
|
1372
|
+
*/
|
|
1373
|
+
this.InstancesList = null;
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* Error message.
|
|
1377
|
+
|
|
1378
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1379
|
+
* @type {string || null}
|
|
1380
|
+
*/
|
|
1381
|
+
this.ErrorMsg = null;
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1385
|
+
* @type {string || null}
|
|
1386
|
+
*/
|
|
1387
|
+
this.RequestId = null;
|
|
1388
|
+
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* @private
|
|
1393
|
+
*/
|
|
1394
|
+
deserialize(params) {
|
|
1395
|
+
if (!params) {
|
|
1396
|
+
return;
|
|
1397
|
+
}
|
|
1398
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1399
|
+
|
|
1400
|
+
if (params.InstancesList) {
|
|
1401
|
+
this.InstancesList = new Array();
|
|
1402
|
+
for (let z in params.InstancesList) {
|
|
1403
|
+
let obj = new InstanceSimpleInfoNew();
|
|
1404
|
+
obj.deserialize(params.InstancesList[z]);
|
|
1405
|
+
this.InstancesList.push(obj);
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
1409
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1410
|
+
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* UpgradeInstance request structure.
|
|
1416
|
+
* @class
|
|
1417
|
+
*/
|
|
1418
|
+
class UpgradeInstanceRequest extends AbstractModel {
|
|
1419
|
+
constructor(){
|
|
1420
|
+
super();
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* InstanceId.
|
|
1424
|
+
* @type {string || null}
|
|
1425
|
+
*/
|
|
1426
|
+
this.InstanceId = null;
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* Installation package version.
|
|
1430
|
+
* @type {string || null}
|
|
1431
|
+
*/
|
|
1432
|
+
this.PackageVersion = null;
|
|
1433
|
+
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* @private
|
|
1438
|
+
*/
|
|
1439
|
+
deserialize(params) {
|
|
1440
|
+
if (!params) {
|
|
1441
|
+
return;
|
|
1442
|
+
}
|
|
1443
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1444
|
+
this.PackageVersion = 'PackageVersion' in params ? params.PackageVersion : null;
|
|
1445
|
+
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* DescribeSlowLog response structure.
|
|
1451
|
+
* @class
|
|
1452
|
+
*/
|
|
1453
|
+
class DescribeSlowLogResponse extends AbstractModel {
|
|
1454
|
+
constructor(){
|
|
1455
|
+
super();
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* Total count of messages returned.
|
|
1459
|
+
* @type {number || null}
|
|
1460
|
+
*/
|
|
1461
|
+
this.TotalCount = null;
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* Slow SQL log details.
|
|
1465
|
+
* @type {SlowLogDetail || null}
|
|
1466
|
+
*/
|
|
1467
|
+
this.SlowLogDetails = null;
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1471
|
+
* @type {string || null}
|
|
1472
|
+
*/
|
|
1473
|
+
this.RequestId = null;
|
|
1474
|
+
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* @private
|
|
1479
|
+
*/
|
|
1480
|
+
deserialize(params) {
|
|
1481
|
+
if (!params) {
|
|
1482
|
+
return;
|
|
1483
|
+
}
|
|
1484
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1485
|
+
|
|
1486
|
+
if (params.SlowLogDetails) {
|
|
1487
|
+
let obj = new SlowLogDetail();
|
|
1488
|
+
obj.deserialize(params.SlowLogDetails)
|
|
1489
|
+
this.SlowLogDetails = obj;
|
|
1490
|
+
}
|
|
1491
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1492
|
+
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/**
|
|
1497
|
+
* ModifyUserHba response structure.
|
|
1498
|
+
* @class
|
|
1499
|
+
*/
|
|
1500
|
+
class ModifyUserHbaResponse extends AbstractModel {
|
|
1501
|
+
constructor(){
|
|
1502
|
+
super();
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Task ID.
|
|
1506
|
+
|
|
1507
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1508
|
+
* @type {number || null}
|
|
1509
|
+
*/
|
|
1510
|
+
this.TaskId = null;
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* Error message.
|
|
1514
|
+
|
|
1515
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1516
|
+
* @type {string || null}
|
|
1517
|
+
*/
|
|
1518
|
+
this.ErrorMsg = null;
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1522
|
+
* @type {string || null}
|
|
1523
|
+
*/
|
|
1524
|
+
this.RequestId = null;
|
|
1525
|
+
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* @private
|
|
1530
|
+
*/
|
|
1531
|
+
deserialize(params) {
|
|
1532
|
+
if (!params) {
|
|
1533
|
+
return;
|
|
1534
|
+
}
|
|
1535
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
1536
|
+
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
1537
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1538
|
+
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* Node parameter
|
|
1544
|
+
* @class
|
|
1545
|
+
*/
|
|
1546
|
+
class NodeConfigParams extends AbstractModel {
|
|
1547
|
+
constructor(){
|
|
1548
|
+
super();
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* Node type.
|
|
1552
|
+
* @type {string || null}
|
|
1553
|
+
*/
|
|
1554
|
+
this.NodeType = null;
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* Parameter.
|
|
1558
|
+
* @type {Array.<ConfigParams> || null}
|
|
1559
|
+
*/
|
|
1560
|
+
this.ConfigParams = null;
|
|
1561
|
+
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* @private
|
|
1566
|
+
*/
|
|
1567
|
+
deserialize(params) {
|
|
1568
|
+
if (!params) {
|
|
1569
|
+
return;
|
|
1570
|
+
}
|
|
1571
|
+
this.NodeType = 'NodeType' in params ? params.NodeType : null;
|
|
1572
|
+
|
|
1573
|
+
if (params.ConfigParams) {
|
|
1574
|
+
this.ConfigParams = new Array();
|
|
1575
|
+
for (let z in params.ConfigParams) {
|
|
1576
|
+
let obj = new ConfigParams();
|
|
1577
|
+
obj.deserialize(params.ConfigParams[z]);
|
|
1578
|
+
this.ConfigParams.push(obj);
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* instance information.
|
|
1587
|
+
* @class
|
|
1588
|
+
*/
|
|
1589
|
+
class InstanceInfo extends AbstractModel {
|
|
1590
|
+
constructor(){
|
|
1591
|
+
super();
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
* Instance ID
|
|
1595
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1596
|
+
* @type {number || null}
|
|
1597
|
+
*/
|
|
1598
|
+
this.ID = null;
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* Kernel version type.
|
|
1602
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1603
|
+
* @type {string || null}
|
|
1604
|
+
*/
|
|
1605
|
+
this.InstanceType = null;
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* Cluster name.
|
|
1609
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1610
|
+
* @type {string || null}
|
|
1611
|
+
*/
|
|
1612
|
+
this.InstanceName = null;
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* Cluster status.
|
|
1616
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1617
|
+
* @type {string || null}
|
|
1618
|
+
*/
|
|
1619
|
+
this.Status = null;
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* Cluster status details.Note: This field may return null, indicating that no valid values can be obtained.
|
|
1623
|
+
* @type {string || null}
|
|
1624
|
+
*/
|
|
1625
|
+
this.StatusDesc = null;
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* Cluster status information.
|
|
1629
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1630
|
+
* @type {InstanceStateInfo || null}
|
|
1631
|
+
*/
|
|
1632
|
+
this.InstanceStateInfo = null;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* Cluster ID.
|
|
1636
|
+
|
|
1637
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1638
|
+
* @type {string || null}
|
|
1639
|
+
*/
|
|
1640
|
+
this.InstanceID = null;
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* Creation time.
|
|
1644
|
+
|
|
1645
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1646
|
+
* @type {string || null}
|
|
1647
|
+
*/
|
|
1648
|
+
this.CreateTime = null;
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* Region.
|
|
1652
|
+
|
|
1653
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1654
|
+
* @type {string || null}
|
|
1655
|
+
*/
|
|
1656
|
+
this.Region = null;
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* Region.
|
|
1660
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1661
|
+
* @type {string || null}
|
|
1662
|
+
*/
|
|
1663
|
+
this.Zone = null;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* Region details.
|
|
1667
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1668
|
+
* @type {string || null}
|
|
1669
|
+
*/
|
|
1670
|
+
this.RegionDesc = null;
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* Region details.
|
|
1674
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1675
|
+
* @type {string || null}
|
|
1676
|
+
*/
|
|
1677
|
+
this.ZoneDesc = null;
|
|
1678
|
+
|
|
1679
|
+
/**
|
|
1680
|
+
* Tag.Note: This field may return null, indicating that no valid values can be obtained.
|
|
1681
|
+
* @type {Array.<Tag> || null}
|
|
1682
|
+
*/
|
|
1683
|
+
this.Tags = null;
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* Kernel version.
|
|
1687
|
+
|
|
1688
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1689
|
+
* @type {string || null}
|
|
1690
|
+
*/
|
|
1691
|
+
this.Version = null;
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* Character set.
|
|
1695
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1696
|
+
* @type {string || null}
|
|
1697
|
+
*/
|
|
1698
|
+
this.Charset = null;
|
|
1699
|
+
|
|
1700
|
+
/**
|
|
1701
|
+
* CN node list.
|
|
1702
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1703
|
+
* @type {Array.<InstanceNodeGroup> || null}
|
|
1704
|
+
*/
|
|
1705
|
+
this.CNNodes = null;
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* DN node list.
|
|
1709
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1710
|
+
* @type {Array.<InstanceNodeGroup> || null}
|
|
1711
|
+
*/
|
|
1712
|
+
this.DNNodes = null;
|
|
1713
|
+
|
|
1714
|
+
/**
|
|
1715
|
+
* Region ID.
|
|
1716
|
+
|
|
1717
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1718
|
+
* @type {number || null}
|
|
1719
|
+
*/
|
|
1720
|
+
this.RegionId = null;
|
|
1721
|
+
|
|
1722
|
+
/**
|
|
1723
|
+
* Region ID.
|
|
1724
|
+
|
|
1725
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1726
|
+
* @type {number || null}
|
|
1727
|
+
*/
|
|
1728
|
+
this.ZoneId = null;
|
|
1729
|
+
|
|
1730
|
+
/**
|
|
1731
|
+
* Virtual Private Cloud (VPC).
|
|
1732
|
+
|
|
1733
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1734
|
+
* @type {string || null}
|
|
1735
|
+
*/
|
|
1736
|
+
this.VpcId = null;
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
* Subnet.
|
|
1740
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1741
|
+
* @type {string || null}
|
|
1742
|
+
*/
|
|
1743
|
+
this.SubnetId = null;
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* Expiration time.
|
|
1747
|
+
|
|
1748
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1749
|
+
* @type {string || null}
|
|
1750
|
+
*/
|
|
1751
|
+
this.ExpireTime = null;
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* Billing mode.
|
|
1755
|
+
|
|
1756
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1757
|
+
* @type {string || null}
|
|
1758
|
+
*/
|
|
1759
|
+
this.PayMode = null;
|
|
1760
|
+
|
|
1761
|
+
/**
|
|
1762
|
+
* Automatic renewal.
|
|
1763
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1764
|
+
* @type {boolean || null}
|
|
1765
|
+
*/
|
|
1766
|
+
this.RenewFlag = null;
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* Cluster ID.
|
|
1770
|
+
|
|
1771
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1772
|
+
* @type {string || null}
|
|
1773
|
+
*/
|
|
1774
|
+
this.InstanceId = null;
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* Access information.
|
|
1778
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1779
|
+
* @type {Array.<AccessInfo> || null}
|
|
1780
|
+
*/
|
|
1781
|
+
this.AccessDetails = null;
|
|
1782
|
+
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* @private
|
|
1787
|
+
*/
|
|
1788
|
+
deserialize(params) {
|
|
1789
|
+
if (!params) {
|
|
1790
|
+
return;
|
|
1791
|
+
}
|
|
1792
|
+
this.ID = 'ID' in params ? params.ID : null;
|
|
1793
|
+
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
1794
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
1795
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1796
|
+
this.StatusDesc = 'StatusDesc' in params ? params.StatusDesc : null;
|
|
1797
|
+
|
|
1798
|
+
if (params.InstanceStateInfo) {
|
|
1799
|
+
let obj = new InstanceStateInfo();
|
|
1800
|
+
obj.deserialize(params.InstanceStateInfo)
|
|
1801
|
+
this.InstanceStateInfo = obj;
|
|
1802
|
+
}
|
|
1803
|
+
this.InstanceID = 'InstanceID' in params ? params.InstanceID : null;
|
|
1804
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1805
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
1806
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
1807
|
+
this.RegionDesc = 'RegionDesc' in params ? params.RegionDesc : null;
|
|
1808
|
+
this.ZoneDesc = 'ZoneDesc' in params ? params.ZoneDesc : null;
|
|
1809
|
+
|
|
1810
|
+
if (params.Tags) {
|
|
1811
|
+
this.Tags = new Array();
|
|
1812
|
+
for (let z in params.Tags) {
|
|
1813
|
+
let obj = new Tag();
|
|
1814
|
+
obj.deserialize(params.Tags[z]);
|
|
1815
|
+
this.Tags.push(obj);
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
this.Version = 'Version' in params ? params.Version : null;
|
|
1819
|
+
this.Charset = 'Charset' in params ? params.Charset : null;
|
|
1820
|
+
|
|
1821
|
+
if (params.CNNodes) {
|
|
1822
|
+
this.CNNodes = new Array();
|
|
1823
|
+
for (let z in params.CNNodes) {
|
|
1824
|
+
let obj = new InstanceNodeGroup();
|
|
1825
|
+
obj.deserialize(params.CNNodes[z]);
|
|
1826
|
+
this.CNNodes.push(obj);
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
if (params.DNNodes) {
|
|
1831
|
+
this.DNNodes = new Array();
|
|
1832
|
+
for (let z in params.DNNodes) {
|
|
1833
|
+
let obj = new InstanceNodeGroup();
|
|
1834
|
+
obj.deserialize(params.DNNodes[z]);
|
|
1835
|
+
this.DNNodes.push(obj);
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
this.RegionId = 'RegionId' in params ? params.RegionId : null;
|
|
1839
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
1840
|
+
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
1841
|
+
this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
|
|
1842
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
1843
|
+
this.PayMode = 'PayMode' in params ? params.PayMode : null;
|
|
1844
|
+
this.RenewFlag = 'RenewFlag' in params ? params.RenewFlag : null;
|
|
1845
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1846
|
+
|
|
1847
|
+
if (params.AccessDetails) {
|
|
1848
|
+
this.AccessDetails = new Array();
|
|
1849
|
+
for (let z in params.AccessDetails) {
|
|
1850
|
+
let obj = new AccessInfo();
|
|
1851
|
+
obj.deserialize(params.AccessDetails[z]);
|
|
1852
|
+
this.AccessDetails.push(obj);
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
/**
|
|
1860
|
+
* DescribeDBParams response structure.
|
|
1861
|
+
* @class
|
|
1862
|
+
*/
|
|
1863
|
+
class DescribeDBParamsResponse extends AbstractModel {
|
|
1864
|
+
constructor(){
|
|
1865
|
+
super();
|
|
1866
|
+
|
|
1867
|
+
/**
|
|
1868
|
+
* Total count.
|
|
1869
|
+
* @type {number || null}
|
|
1870
|
+
*/
|
|
1871
|
+
this.TotalCount = null;
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* Parameters information.
|
|
1875
|
+
* @type {Array.<ParamItem> || null}
|
|
1876
|
+
*/
|
|
1877
|
+
this.Items = null;
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1881
|
+
* @type {string || null}
|
|
1882
|
+
*/
|
|
1883
|
+
this.RequestId = null;
|
|
1884
|
+
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* @private
|
|
1889
|
+
*/
|
|
1890
|
+
deserialize(params) {
|
|
1891
|
+
if (!params) {
|
|
1892
|
+
return;
|
|
1893
|
+
}
|
|
1894
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1895
|
+
|
|
1896
|
+
if (params.Items) {
|
|
1897
|
+
this.Items = new Array();
|
|
1898
|
+
for (let z in params.Items) {
|
|
1899
|
+
let obj = new ParamItem();
|
|
1900
|
+
obj.deserialize(params.Items[z]);
|
|
1901
|
+
this.Items.push(obj);
|
|
1902
|
+
}
|
|
1903
|
+
}
|
|
1904
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1905
|
+
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
/**
|
|
1910
|
+
* ParamDetail
|
|
1911
|
+
* @class
|
|
1912
|
+
*/
|
|
1913
|
+
class ParamDetail extends AbstractModel {
|
|
1914
|
+
constructor(){
|
|
1915
|
+
super();
|
|
1916
|
+
|
|
1917
|
+
/**
|
|
1918
|
+
* Parameter name.
|
|
1919
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1920
|
+
* @type {string || null}
|
|
1921
|
+
*/
|
|
1922
|
+
this.ParamName = null;
|
|
1923
|
+
|
|
1924
|
+
/**
|
|
1925
|
+
* Default value.
|
|
1926
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1927
|
+
* @type {string || null}
|
|
1928
|
+
*/
|
|
1929
|
+
this.DefaultValue = null;
|
|
1930
|
+
|
|
1931
|
+
/**
|
|
1932
|
+
* Indicates whether the restart is required.
|
|
1933
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1934
|
+
* @type {boolean || null}
|
|
1935
|
+
*/
|
|
1936
|
+
this.NeedRestart = null;
|
|
1937
|
+
|
|
1938
|
+
/**
|
|
1939
|
+
* Current value.
|
|
1940
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1941
|
+
* @type {string || null}
|
|
1942
|
+
*/
|
|
1943
|
+
this.RunningValue = null;
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* Value range.
|
|
1947
|
+
* @type {ValueRange || null}
|
|
1948
|
+
*/
|
|
1949
|
+
this.ValueRange = null;
|
|
1950
|
+
|
|
1951
|
+
/**
|
|
1952
|
+
* Unit.
|
|
1953
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1954
|
+
* @type {string || null}
|
|
1955
|
+
*/
|
|
1956
|
+
this.Unit = null;
|
|
1957
|
+
|
|
1958
|
+
/**
|
|
1959
|
+
* Introduction in English.
|
|
1960
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1961
|
+
* @type {string || null}
|
|
1962
|
+
*/
|
|
1963
|
+
this.ShortDesc = null;
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* Parameter name.
|
|
1967
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1968
|
+
* @type {string || null}
|
|
1969
|
+
*/
|
|
1970
|
+
this.ParameterName = null;
|
|
1971
|
+
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
/**
|
|
1975
|
+
* @private
|
|
1976
|
+
*/
|
|
1977
|
+
deserialize(params) {
|
|
1978
|
+
if (!params) {
|
|
1979
|
+
return;
|
|
1980
|
+
}
|
|
1981
|
+
this.ParamName = 'ParamName' in params ? params.ParamName : null;
|
|
1982
|
+
this.DefaultValue = 'DefaultValue' in params ? params.DefaultValue : null;
|
|
1983
|
+
this.NeedRestart = 'NeedRestart' in params ? params.NeedRestart : null;
|
|
1984
|
+
this.RunningValue = 'RunningValue' in params ? params.RunningValue : null;
|
|
1985
|
+
|
|
1986
|
+
if (params.ValueRange) {
|
|
1987
|
+
let obj = new ValueRange();
|
|
1988
|
+
obj.deserialize(params.ValueRange)
|
|
1989
|
+
this.ValueRange = obj;
|
|
1990
|
+
}
|
|
1991
|
+
this.Unit = 'Unit' in params ? params.Unit : null;
|
|
1992
|
+
this.ShortDesc = 'ShortDesc' in params ? params.ShortDesc : null;
|
|
1993
|
+
this.ParameterName = 'ParameterName' in params ? params.ParameterName : null;
|
|
1994
|
+
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* DescribeInstances response structure.
|
|
2000
|
+
* @class
|
|
2001
|
+
*/
|
|
2002
|
+
class DescribeInstancesResponse extends AbstractModel {
|
|
2003
|
+
constructor(){
|
|
2004
|
+
super();
|
|
2005
|
+
|
|
2006
|
+
/**
|
|
2007
|
+
* Total count of instances.
|
|
2008
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2009
|
+
* @type {number || null}
|
|
2010
|
+
*/
|
|
2011
|
+
this.TotalCount = null;
|
|
2012
|
+
|
|
2013
|
+
/**
|
|
2014
|
+
* Instance array.
|
|
2015
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2016
|
+
* @type {Array.<InstanceInfo> || null}
|
|
2017
|
+
*/
|
|
2018
|
+
this.InstancesList = null;
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* Error message.
|
|
2022
|
+
|
|
2023
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2024
|
+
* @type {string || null}
|
|
2025
|
+
*/
|
|
2026
|
+
this.ErrorMsg = null;
|
|
2027
|
+
|
|
2028
|
+
/**
|
|
2029
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2030
|
+
* @type {string || null}
|
|
2031
|
+
*/
|
|
2032
|
+
this.RequestId = null;
|
|
2033
|
+
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
/**
|
|
2037
|
+
* @private
|
|
2038
|
+
*/
|
|
2039
|
+
deserialize(params) {
|
|
2040
|
+
if (!params) {
|
|
2041
|
+
return;
|
|
2042
|
+
}
|
|
2043
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2044
|
+
|
|
2045
|
+
if (params.InstancesList) {
|
|
2046
|
+
this.InstancesList = new Array();
|
|
2047
|
+
for (let z in params.InstancesList) {
|
|
2048
|
+
let obj = new InstanceInfo();
|
|
2049
|
+
obj.deserialize(params.InstancesList[z]);
|
|
2050
|
+
this.InstancesList.push(obj);
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
2054
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2055
|
+
|
|
2056
|
+
}
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* ConfigHistory1
|
|
2061
|
+
* @class
|
|
2062
|
+
*/
|
|
2063
|
+
class ConfigHistory extends AbstractModel {
|
|
2064
|
+
constructor(){
|
|
2065
|
+
super();
|
|
2066
|
+
|
|
2067
|
+
/**
|
|
2068
|
+
* id
|
|
2069
|
+
* @type {number || null}
|
|
2070
|
+
*/
|
|
2071
|
+
this.Id = null;
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* Instance name.
|
|
2075
|
+
* @type {string || null}
|
|
2076
|
+
*/
|
|
2077
|
+
this.InstanceId = null;
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* Creation time.
|
|
2081
|
+
|
|
2082
|
+
|
|
2083
|
+
* @type {string || null}
|
|
2084
|
+
*/
|
|
2085
|
+
this.CreatedAt = null;
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
* Update time.
|
|
2089
|
+
* @type {string || null}
|
|
2090
|
+
*/
|
|
2091
|
+
this.UpdatedAt = null;
|
|
2092
|
+
|
|
2093
|
+
/**
|
|
2094
|
+
* dn/cn
|
|
2095
|
+
* @type {string || null}
|
|
2096
|
+
*/
|
|
2097
|
+
this.NodeType = null;
|
|
2098
|
+
|
|
2099
|
+
/**
|
|
2100
|
+
* Parameter name.
|
|
2101
|
+
* @type {string || null}
|
|
2102
|
+
*/
|
|
2103
|
+
this.ParamName = null;
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* New parameter value.
|
|
2107
|
+
* @type {string || null}
|
|
2108
|
+
*/
|
|
2109
|
+
this.ParamNewValue = null;
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* Old parameter value.
|
|
2113
|
+
* @type {string || null}
|
|
2114
|
+
*/
|
|
2115
|
+
this.ParamOldValue = null;
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* Status. Valid values: doing and success.
|
|
2119
|
+
* @type {string || null}
|
|
2120
|
+
*/
|
|
2121
|
+
this.Status = null;
|
|
2122
|
+
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* @private
|
|
2127
|
+
*/
|
|
2128
|
+
deserialize(params) {
|
|
2129
|
+
if (!params) {
|
|
2130
|
+
return;
|
|
2131
|
+
}
|
|
2132
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
2133
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2134
|
+
this.CreatedAt = 'CreatedAt' in params ? params.CreatedAt : null;
|
|
2135
|
+
this.UpdatedAt = 'UpdatedAt' in params ? params.UpdatedAt : null;
|
|
2136
|
+
this.NodeType = 'NodeType' in params ? params.NodeType : null;
|
|
2137
|
+
this.ParamName = 'ParamName' in params ? params.ParamName : null;
|
|
2138
|
+
this.ParamNewValue = 'ParamNewValue' in params ? params.ParamNewValue : null;
|
|
2139
|
+
this.ParamOldValue = 'ParamOldValue' in params ? params.ParamOldValue : null;
|
|
2140
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2141
|
+
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* ResetAccountPassword response structure.
|
|
2147
|
+
* @class
|
|
2148
|
+
*/
|
|
2149
|
+
class ResetAccountPasswordResponse extends AbstractModel {
|
|
2150
|
+
constructor(){
|
|
2151
|
+
super();
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* Error message.
|
|
2155
|
+
|
|
2156
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2157
|
+
* @type {string || null}
|
|
2158
|
+
*/
|
|
2159
|
+
this.ErrorMsg = null;
|
|
2160
|
+
|
|
2161
|
+
/**
|
|
2162
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2163
|
+
* @type {string || null}
|
|
2164
|
+
*/
|
|
2165
|
+
this.RequestId = null;
|
|
2166
|
+
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* @private
|
|
2171
|
+
*/
|
|
2172
|
+
deserialize(params) {
|
|
2173
|
+
if (!params) {
|
|
2174
|
+
return;
|
|
2175
|
+
}
|
|
2176
|
+
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
2177
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2178
|
+
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
/**
|
|
2183
|
+
* Disk specifications.
|
|
2184
|
+
* @class
|
|
2185
|
+
*/
|
|
2186
|
+
class DiskSpecPlus extends AbstractModel {
|
|
2187
|
+
constructor(){
|
|
2188
|
+
super();
|
|
2189
|
+
|
|
2190
|
+
/**
|
|
2191
|
+
* Number of disks.
|
|
2192
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2193
|
+
* @type {number || null}
|
|
2194
|
+
*/
|
|
2195
|
+
this.DiskCount = null;
|
|
2196
|
+
|
|
2197
|
+
/**
|
|
2198
|
+
* Maximum disk capacity.
|
|
2199
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2200
|
+
* @type {number || null}
|
|
2201
|
+
*/
|
|
2202
|
+
this.MaxDiskSize = null;
|
|
2203
|
+
|
|
2204
|
+
/**
|
|
2205
|
+
* Minimum disk capacity.
|
|
2206
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2207
|
+
* @type {number || null}
|
|
2208
|
+
*/
|
|
2209
|
+
this.MinDiskSize = null;
|
|
2210
|
+
|
|
2211
|
+
/**
|
|
2212
|
+
* Disk type.
|
|
2213
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2214
|
+
* @type {string || null}
|
|
2215
|
+
*/
|
|
2216
|
+
this.DiskType = null;
|
|
2217
|
+
|
|
2218
|
+
/**
|
|
2219
|
+
* Disk type details.
|
|
2220
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2221
|
+
* @type {string || null}
|
|
2222
|
+
*/
|
|
2223
|
+
this.DiskDesc = null;
|
|
2224
|
+
|
|
2225
|
+
/**
|
|
2226
|
+
* Model type.
|
|
2227
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2228
|
+
* @type {string || null}
|
|
2229
|
+
*/
|
|
2230
|
+
this.CvmClass = null;
|
|
2231
|
+
|
|
2232
|
+
}
|
|
2233
|
+
|
|
2234
|
+
/**
|
|
2235
|
+
* @private
|
|
2236
|
+
*/
|
|
2237
|
+
deserialize(params) {
|
|
2238
|
+
if (!params) {
|
|
2239
|
+
return;
|
|
2240
|
+
}
|
|
2241
|
+
this.DiskCount = 'DiskCount' in params ? params.DiskCount : null;
|
|
2242
|
+
this.MaxDiskSize = 'MaxDiskSize' in params ? params.MaxDiskSize : null;
|
|
2243
|
+
this.MinDiskSize = 'MinDiskSize' in params ? params.MinDiskSize : null;
|
|
2244
|
+
this.DiskType = 'DiskType' in params ? params.DiskType : null;
|
|
2245
|
+
this.DiskDesc = 'DiskDesc' in params ? params.DiskDesc : null;
|
|
2246
|
+
this.CvmClass = 'CvmClass' in params ? params.CvmClass : null;
|
|
2247
|
+
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
/**
|
|
2252
|
+
* ResetAccountPassword request structure.
|
|
2253
|
+
* @class
|
|
2254
|
+
*/
|
|
2255
|
+
class ResetAccountPasswordRequest extends AbstractModel {
|
|
2256
|
+
constructor(){
|
|
2257
|
+
super();
|
|
2258
|
+
|
|
2259
|
+
/**
|
|
2260
|
+
* Instanceid.
|
|
2261
|
+
* @type {string || null}
|
|
2262
|
+
*/
|
|
2263
|
+
this.InstanceId = null;
|
|
2264
|
+
|
|
2265
|
+
/**
|
|
2266
|
+
* The username to be modified.
|
|
2267
|
+
* @type {string || null}
|
|
2268
|
+
*/
|
|
2269
|
+
this.UserName = null;
|
|
2270
|
+
|
|
2271
|
+
/**
|
|
2272
|
+
* New password.
|
|
2273
|
+
* @type {string || null}
|
|
2274
|
+
*/
|
|
2275
|
+
this.NewPassword = null;
|
|
2276
|
+
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
/**
|
|
2280
|
+
* @private
|
|
2281
|
+
*/
|
|
2282
|
+
deserialize(params) {
|
|
2283
|
+
if (!params) {
|
|
2284
|
+
return;
|
|
2285
|
+
}
|
|
2286
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2287
|
+
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
2288
|
+
this.NewPassword = 'NewPassword' in params ? params.NewPassword : null;
|
|
2289
|
+
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* RestartInstance request structure.
|
|
2295
|
+
* @class
|
|
2296
|
+
*/
|
|
2297
|
+
class RestartInstanceRequest extends AbstractModel {
|
|
2298
|
+
constructor(){
|
|
2299
|
+
super();
|
|
2300
|
+
|
|
2301
|
+
/**
|
|
2302
|
+
* Instance name. Example: cdwpg-xxxx.
|
|
2303
|
+
* @type {string || null}
|
|
2304
|
+
*/
|
|
2305
|
+
this.InstanceId = null;
|
|
2306
|
+
|
|
2307
|
+
/**
|
|
2308
|
+
* Types of node that need to restart. Valid values: gtm, cn, dn and fn.
|
|
2309
|
+
* @type {Array.<string> || null}
|
|
2310
|
+
*/
|
|
2311
|
+
this.NodeTypes = null;
|
|
2312
|
+
|
|
2313
|
+
/**
|
|
2314
|
+
* Specifies th ID of nodes that need to restart.
|
|
2315
|
+
* @type {Array.<string> || null}
|
|
2316
|
+
*/
|
|
2317
|
+
this.NodeIds = null;
|
|
2318
|
+
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
/**
|
|
2322
|
+
* @private
|
|
2323
|
+
*/
|
|
2324
|
+
deserialize(params) {
|
|
2325
|
+
if (!params) {
|
|
2326
|
+
return;
|
|
2327
|
+
}
|
|
2328
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2329
|
+
this.NodeTypes = 'NodeTypes' in params ? params.NodeTypes : null;
|
|
2330
|
+
this.NodeIds = 'NodeIds' in params ? params.NodeIds : null;
|
|
2331
|
+
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
/**
|
|
2336
|
+
* DescribeUpgradeList request structure.
|
|
2337
|
+
* @class
|
|
2338
|
+
*/
|
|
2339
|
+
class DescribeUpgradeListRequest extends AbstractModel {
|
|
2340
|
+
constructor(){
|
|
2341
|
+
super();
|
|
2342
|
+
|
|
2343
|
+
/**
|
|
2344
|
+
* InstanceId.
|
|
2345
|
+
* @type {string || null}
|
|
2346
|
+
*/
|
|
2347
|
+
this.InstanceId = null;
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* Offset.
|
|
2351
|
+
* @type {number || null}
|
|
2352
|
+
*/
|
|
2353
|
+
this.Offset = null;
|
|
2354
|
+
|
|
2355
|
+
/**
|
|
2356
|
+
* Limit.
|
|
2357
|
+
* @type {number || null}
|
|
2358
|
+
*/
|
|
2359
|
+
this.Limit = null;
|
|
2360
|
+
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
/**
|
|
2364
|
+
* @private
|
|
2365
|
+
*/
|
|
2366
|
+
deserialize(params) {
|
|
2367
|
+
if (!params) {
|
|
2368
|
+
return;
|
|
2369
|
+
}
|
|
2370
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2371
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2372
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2373
|
+
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
/**
|
|
2378
|
+
* Resource information.
|
|
2379
|
+
* @class
|
|
2380
|
+
*/
|
|
2381
|
+
class ResourceInfo extends AbstractModel {
|
|
2382
|
+
constructor(){
|
|
2383
|
+
super();
|
|
2384
|
+
|
|
2385
|
+
/**
|
|
2386
|
+
* Resource name.
|
|
2387
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2388
|
+
* @type {string || null}
|
|
2389
|
+
*/
|
|
2390
|
+
this.SpecName = null;
|
|
2391
|
+
|
|
2392
|
+
/**
|
|
2393
|
+
* Resource count.
|
|
2394
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2395
|
+
* @type {number || null}
|
|
2396
|
+
*/
|
|
2397
|
+
this.Count = null;
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* Disk information.
|
|
2401
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2402
|
+
* @type {CBSSpecInfo || null}
|
|
2403
|
+
*/
|
|
2404
|
+
this.DiskSpec = null;
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* Node type. Valid values: cn and dn.
|
|
2408
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2409
|
+
* @type {string || null}
|
|
2410
|
+
*/
|
|
2411
|
+
this.Type = null;
|
|
2412
|
+
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2415
|
+
/**
|
|
2416
|
+
* @private
|
|
2417
|
+
*/
|
|
2418
|
+
deserialize(params) {
|
|
2419
|
+
if (!params) {
|
|
2420
|
+
return;
|
|
2421
|
+
}
|
|
2422
|
+
this.SpecName = 'SpecName' in params ? params.SpecName : null;
|
|
2423
|
+
this.Count = 'Count' in params ? params.Count : null;
|
|
2424
|
+
|
|
2425
|
+
if (params.DiskSpec) {
|
|
2426
|
+
let obj = new CBSSpecInfo();
|
|
2427
|
+
obj.deserialize(params.DiskSpec)
|
|
2428
|
+
this.DiskSpec = obj;
|
|
2429
|
+
}
|
|
2430
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
2431
|
+
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* DescribeInstances request structure.
|
|
2437
|
+
* @class
|
|
2438
|
+
*/
|
|
2439
|
+
class DescribeInstancesRequest extends AbstractModel {
|
|
2440
|
+
constructor(){
|
|
2441
|
+
super();
|
|
2442
|
+
|
|
2443
|
+
/**
|
|
2444
|
+
* Searches by instance ID.
|
|
2445
|
+
* @type {string || null}
|
|
2446
|
+
*/
|
|
2447
|
+
this.SearchInstanceId = null;
|
|
2448
|
+
|
|
2449
|
+
/**
|
|
2450
|
+
* Searches by instance name.
|
|
2451
|
+
* @type {string || null}
|
|
2452
|
+
*/
|
|
2453
|
+
this.SearchInstanceName = null;
|
|
2454
|
+
|
|
2455
|
+
/**
|
|
2456
|
+
* Offset.
|
|
2457
|
+
* @type {number || null}
|
|
2458
|
+
*/
|
|
2459
|
+
this.Offset = null;
|
|
2460
|
+
|
|
2461
|
+
/**
|
|
2462
|
+
* Limit.
|
|
2463
|
+
* @type {number || null}
|
|
2464
|
+
*/
|
|
2465
|
+
this.Limit = null;
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* Searched tag list.
|
|
2469
|
+
* @type {Array.<SearchTags> || null}
|
|
2470
|
+
*/
|
|
2471
|
+
this.SearchTags = null;
|
|
2472
|
+
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* @private
|
|
2477
|
+
*/
|
|
2478
|
+
deserialize(params) {
|
|
2479
|
+
if (!params) {
|
|
2480
|
+
return;
|
|
2481
|
+
}
|
|
2482
|
+
this.SearchInstanceId = 'SearchInstanceId' in params ? params.SearchInstanceId : null;
|
|
2483
|
+
this.SearchInstanceName = 'SearchInstanceName' in params ? params.SearchInstanceName : null;
|
|
2484
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2485
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2486
|
+
|
|
2487
|
+
if (params.SearchTags) {
|
|
2488
|
+
this.SearchTags = new Array();
|
|
2489
|
+
for (let z in params.SearchTags) {
|
|
2490
|
+
let obj = new SearchTags();
|
|
2491
|
+
obj.deserialize(params.SearchTags[z]);
|
|
2492
|
+
this.SearchTags.push(obj);
|
|
2493
|
+
}
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* UpgradeInstance response structure.
|
|
2501
|
+
* @class
|
|
2502
|
+
*/
|
|
2503
|
+
class UpgradeInstanceResponse extends AbstractModel {
|
|
2504
|
+
constructor(){
|
|
2505
|
+
super();
|
|
2506
|
+
|
|
2507
|
+
/**
|
|
2508
|
+
* FlowId.
|
|
2509
|
+
* @type {number || null}
|
|
2510
|
+
*/
|
|
2511
|
+
this.FlowId = null;
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* Error message.
|
|
2515
|
+
* @type {string || null}
|
|
2516
|
+
*/
|
|
2517
|
+
this.ErrorMsg = null;
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2521
|
+
* @type {string || null}
|
|
2522
|
+
*/
|
|
2523
|
+
this.RequestId = null;
|
|
2524
|
+
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2527
|
+
/**
|
|
2528
|
+
* @private
|
|
2529
|
+
*/
|
|
2530
|
+
deserialize(params) {
|
|
2531
|
+
if (!params) {
|
|
2532
|
+
return;
|
|
2533
|
+
}
|
|
2534
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
2535
|
+
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
2536
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2537
|
+
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2541
|
+
/**
|
|
2542
|
+
* DescribeInstanceOperations response structure.
|
|
2543
|
+
* @class
|
|
2544
|
+
*/
|
|
2545
|
+
class DescribeInstanceOperationsResponse extends AbstractModel {
|
|
2546
|
+
constructor(){
|
|
2547
|
+
super();
|
|
2548
|
+
|
|
2549
|
+
/**
|
|
2550
|
+
* Total count of operation records.
|
|
2551
|
+
* @type {number || null}
|
|
2552
|
+
*/
|
|
2553
|
+
this.TotalCount = null;
|
|
2554
|
+
|
|
2555
|
+
/**
|
|
2556
|
+
* operation records.
|
|
2557
|
+
|
|
2558
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2559
|
+
* @type {Array.<InstanceOperation> || null}
|
|
2560
|
+
*/
|
|
2561
|
+
this.Operations = null;
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2565
|
+
* @type {string || null}
|
|
2566
|
+
*/
|
|
2567
|
+
this.RequestId = null;
|
|
2568
|
+
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* @private
|
|
2573
|
+
*/
|
|
2574
|
+
deserialize(params) {
|
|
2575
|
+
if (!params) {
|
|
2576
|
+
return;
|
|
2577
|
+
}
|
|
2578
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2579
|
+
|
|
2580
|
+
if (params.Operations) {
|
|
2581
|
+
this.Operations = new Array();
|
|
2582
|
+
for (let z in params.Operations) {
|
|
2583
|
+
let obj = new InstanceOperation();
|
|
2584
|
+
obj.deserialize(params.Operations[z]);
|
|
2585
|
+
this.Operations.push(obj);
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2589
|
+
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* CreateInstanceByApi response structure.
|
|
2595
|
+
* @class
|
|
2596
|
+
*/
|
|
2597
|
+
class CreateInstanceByApiResponse extends AbstractModel {
|
|
2598
|
+
constructor(){
|
|
2599
|
+
super();
|
|
2600
|
+
|
|
2601
|
+
/**
|
|
2602
|
+
* Process ID.Note: This field may return null, indicating that no valid values can be obtained.
|
|
2603
|
+
* @type {string || null}
|
|
2604
|
+
*/
|
|
2605
|
+
this.FlowId = null;
|
|
2606
|
+
|
|
2607
|
+
/**
|
|
2608
|
+
* Instance ID.
|
|
2609
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2610
|
+
* @type {string || null}
|
|
2611
|
+
*/
|
|
2612
|
+
this.InstanceId = null;
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* Error message.
|
|
2616
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2617
|
+
* @type {string || null}
|
|
2618
|
+
*/
|
|
2619
|
+
this.ErrorMsg = null;
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2623
|
+
* @type {string || null}
|
|
2624
|
+
*/
|
|
2625
|
+
this.RequestId = null;
|
|
2626
|
+
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
/**
|
|
2630
|
+
* @private
|
|
2631
|
+
*/
|
|
2632
|
+
deserialize(params) {
|
|
2633
|
+
if (!params) {
|
|
2634
|
+
return;
|
|
2635
|
+
}
|
|
2636
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
2637
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2638
|
+
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
2639
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2640
|
+
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
/**
|
|
2645
|
+
* DescribeSlowLog request structure.
|
|
2646
|
+
* @class
|
|
2647
|
+
*/
|
|
2648
|
+
class DescribeSlowLogRequest extends AbstractModel {
|
|
2649
|
+
constructor(){
|
|
2650
|
+
super();
|
|
2651
|
+
|
|
2652
|
+
/**
|
|
2653
|
+
* InstanceId.
|
|
2654
|
+
* @type {string || null}
|
|
2655
|
+
*/
|
|
2656
|
+
this.InstanceId = null;
|
|
2657
|
+
|
|
2658
|
+
/**
|
|
2659
|
+
* Start time.
|
|
2660
|
+
* @type {string || null}
|
|
2661
|
+
*/
|
|
2662
|
+
this.StartTime = null;
|
|
2663
|
+
|
|
2664
|
+
/**
|
|
2665
|
+
* End time.
|
|
2666
|
+
* @type {string || null}
|
|
2667
|
+
*/
|
|
2668
|
+
this.EndTime = null;
|
|
2669
|
+
|
|
2670
|
+
/**
|
|
2671
|
+
* Limit.
|
|
2672
|
+
* @type {number || null}
|
|
2673
|
+
*/
|
|
2674
|
+
this.Limit = null;
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* Offset.
|
|
2678
|
+
* @type {number || null}
|
|
2679
|
+
*/
|
|
2680
|
+
this.Offset = null;
|
|
2681
|
+
|
|
2682
|
+
/**
|
|
2683
|
+
* Database.
|
|
2684
|
+
* @type {string || null}
|
|
2685
|
+
*/
|
|
2686
|
+
this.Database = null;
|
|
2687
|
+
|
|
2688
|
+
/**
|
|
2689
|
+
* Sorting method.
|
|
2690
|
+
* @type {string || null}
|
|
2691
|
+
*/
|
|
2692
|
+
this.OrderBy = null;
|
|
2693
|
+
|
|
2694
|
+
/**
|
|
2695
|
+
* Ascending or descending order.
|
|
2696
|
+
* @type {string || null}
|
|
2697
|
+
*/
|
|
2698
|
+
this.OrderByType = null;
|
|
2699
|
+
|
|
2700
|
+
/**
|
|
2701
|
+
* Duration.
|
|
2702
|
+
* @type {number || null}
|
|
2703
|
+
*/
|
|
2704
|
+
this.Duration = null;
|
|
2705
|
+
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
/**
|
|
2709
|
+
* @private
|
|
2710
|
+
*/
|
|
2711
|
+
deserialize(params) {
|
|
2712
|
+
if (!params) {
|
|
2713
|
+
return;
|
|
2714
|
+
}
|
|
2715
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2716
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
2717
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
2718
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2719
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2720
|
+
this.Database = 'Database' in params ? params.Database : null;
|
|
2721
|
+
this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
|
|
2722
|
+
this.OrderByType = 'OrderByType' in params ? params.OrderByType : null;
|
|
2723
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
2724
|
+
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
/**
|
|
2729
|
+
* DescribeUpgradeList response structure.
|
|
2730
|
+
* @class
|
|
2731
|
+
*/
|
|
2732
|
+
class DescribeUpgradeListResponse extends AbstractModel {
|
|
2733
|
+
constructor(){
|
|
2734
|
+
super();
|
|
2735
|
+
|
|
2736
|
+
/**
|
|
2737
|
+
* Details of instance upgrade records.Note: This field may return null, indicating that no valid values can be obtained.
|
|
2738
|
+
* @type {Array.<UpgradeItem> || null}
|
|
2739
|
+
*/
|
|
2740
|
+
this.UpgradeItems = null;
|
|
2741
|
+
|
|
2742
|
+
/**
|
|
2743
|
+
* Total count of upgrade records.
|
|
2744
|
+
* @type {string || null}
|
|
2745
|
+
*/
|
|
2746
|
+
this.TotalCount = null;
|
|
2747
|
+
|
|
2748
|
+
/**
|
|
2749
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2750
|
+
* @type {string || null}
|
|
2751
|
+
*/
|
|
2752
|
+
this.RequestId = null;
|
|
2753
|
+
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* @private
|
|
2758
|
+
*/
|
|
2759
|
+
deserialize(params) {
|
|
2760
|
+
if (!params) {
|
|
2761
|
+
return;
|
|
2762
|
+
}
|
|
2763
|
+
|
|
2764
|
+
if (params.UpgradeItems) {
|
|
2765
|
+
this.UpgradeItems = new Array();
|
|
2766
|
+
for (let z in params.UpgradeItems) {
|
|
2767
|
+
let obj = new UpgradeItem();
|
|
2768
|
+
obj.deserialize(params.UpgradeItems[z]);
|
|
2769
|
+
this.UpgradeItems.push(obj);
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2772
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2773
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2774
|
+
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
/**
|
|
2779
|
+
* ScaleOutInstance request structure.
|
|
2780
|
+
* @class
|
|
2781
|
+
*/
|
|
2782
|
+
class ScaleOutInstanceRequest extends AbstractModel {
|
|
2783
|
+
constructor(){
|
|
2784
|
+
super();
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* InstanceId.
|
|
2788
|
+
* @type {string || null}
|
|
2789
|
+
*/
|
|
2790
|
+
this.InstanceId = null;
|
|
2791
|
+
|
|
2792
|
+
/**
|
|
2793
|
+
* Node type.
|
|
2794
|
+
* @type {string || null}
|
|
2795
|
+
*/
|
|
2796
|
+
this.NodeType = null;
|
|
2797
|
+
|
|
2798
|
+
/**
|
|
2799
|
+
* Number of scale-out nodes.
|
|
2800
|
+
* @type {number || null}
|
|
2801
|
+
*/
|
|
2802
|
+
this.ScaleOutCount = null;
|
|
2803
|
+
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
/**
|
|
2807
|
+
* @private
|
|
2808
|
+
*/
|
|
2809
|
+
deserialize(params) {
|
|
2810
|
+
if (!params) {
|
|
2811
|
+
return;
|
|
2812
|
+
}
|
|
2813
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2814
|
+
this.NodeType = 'NodeType' in params ? params.NodeType : null;
|
|
2815
|
+
this.ScaleOutCount = 'ScaleOutCount' in params ? params.ScaleOutCount : null;
|
|
2816
|
+
|
|
2817
|
+
}
|
|
2818
|
+
}
|
|
2819
|
+
|
|
2820
|
+
/**
|
|
2821
|
+
* DescribeAccounts response structure.
|
|
2822
|
+
* @class
|
|
2823
|
+
*/
|
|
2824
|
+
class DescribeAccountsResponse extends AbstractModel {
|
|
2825
|
+
constructor(){
|
|
2826
|
+
super();
|
|
2827
|
+
|
|
2828
|
+
/**
|
|
2829
|
+
* Total number of instances.
|
|
2830
|
+
|
|
2831
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2832
|
+
* @type {number || null}
|
|
2833
|
+
*/
|
|
2834
|
+
this.TotalCount = null;
|
|
2835
|
+
|
|
2836
|
+
/**
|
|
2837
|
+
* Account array.
|
|
2838
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2839
|
+
* @type {Array.<AccountInfo> || null}
|
|
2840
|
+
*/
|
|
2841
|
+
this.Accounts = null;
|
|
2842
|
+
|
|
2843
|
+
/**
|
|
2844
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2845
|
+
* @type {string || null}
|
|
2846
|
+
*/
|
|
2847
|
+
this.RequestId = null;
|
|
2848
|
+
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* @private
|
|
2853
|
+
*/
|
|
2854
|
+
deserialize(params) {
|
|
2855
|
+
if (!params) {
|
|
2856
|
+
return;
|
|
2857
|
+
}
|
|
2858
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2859
|
+
|
|
2860
|
+
if (params.Accounts) {
|
|
2861
|
+
this.Accounts = new Array();
|
|
2862
|
+
for (let z in params.Accounts) {
|
|
2863
|
+
let obj = new AccountInfo();
|
|
2864
|
+
obj.deserialize(params.Accounts[z]);
|
|
2865
|
+
this.Accounts.push(obj);
|
|
2866
|
+
}
|
|
2867
|
+
}
|
|
2868
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2869
|
+
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
/**
|
|
2874
|
+
* List of tags searched on the list page.
|
|
2875
|
+
* @class
|
|
2876
|
+
*/
|
|
2877
|
+
class SearchTags extends AbstractModel {
|
|
2878
|
+
constructor(){
|
|
2879
|
+
super();
|
|
2880
|
+
|
|
2881
|
+
/**
|
|
2882
|
+
* Tag key.
|
|
2883
|
+
* @type {string || null}
|
|
2884
|
+
*/
|
|
2885
|
+
this.TagKey = null;
|
|
2886
|
+
|
|
2887
|
+
/**
|
|
2888
|
+
* Tag value.
|
|
2889
|
+
* @type {string || null}
|
|
2890
|
+
*/
|
|
2891
|
+
this.TagValue = null;
|
|
2892
|
+
|
|
2893
|
+
/**
|
|
2894
|
+
* 1 means only the Tag key is entered without a value, and 0 means both the key and the value are entered.
|
|
2895
|
+
* @type {number || null}
|
|
2896
|
+
*/
|
|
2897
|
+
this.AllValue = null;
|
|
2898
|
+
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
/**
|
|
2902
|
+
* @private
|
|
2903
|
+
*/
|
|
2904
|
+
deserialize(params) {
|
|
2905
|
+
if (!params) {
|
|
2906
|
+
return;
|
|
2907
|
+
}
|
|
2908
|
+
this.TagKey = 'TagKey' in params ? params.TagKey : null;
|
|
2909
|
+
this.TagValue = 'TagValue' in params ? params.TagValue : null;
|
|
2910
|
+
this.AllValue = 'AllValue' in params ? params.AllValue : null;
|
|
2911
|
+
|
|
2912
|
+
}
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
/**
|
|
2916
|
+
* Range
|
|
2917
|
+
* @class
|
|
2918
|
+
*/
|
|
2919
|
+
class Range extends AbstractModel {
|
|
2920
|
+
constructor(){
|
|
2921
|
+
super();
|
|
2922
|
+
|
|
2923
|
+
/**
|
|
2924
|
+
* Minimum value.
|
|
2925
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2926
|
+
* @type {string || null}
|
|
2927
|
+
*/
|
|
2928
|
+
this.Min = null;
|
|
2929
|
+
|
|
2930
|
+
/**
|
|
2931
|
+
* Maximum value.
|
|
2932
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2933
|
+
* @type {string || null}
|
|
2934
|
+
*/
|
|
2935
|
+
this.Max = null;
|
|
2936
|
+
|
|
2937
|
+
}
|
|
2938
|
+
|
|
2939
|
+
/**
|
|
2940
|
+
* @private
|
|
2941
|
+
*/
|
|
2942
|
+
deserialize(params) {
|
|
2943
|
+
if (!params) {
|
|
2944
|
+
return;
|
|
2945
|
+
}
|
|
2946
|
+
this.Min = 'Min' in params ? params.Min : null;
|
|
2947
|
+
this.Max = 'Max' in params ? params.Max : null;
|
|
2948
|
+
|
|
2949
|
+
}
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
/**
|
|
2953
|
+
* Instance node information.
|
|
2954
|
+
* @class
|
|
2955
|
+
*/
|
|
2956
|
+
class InstanceNodeGroup extends AbstractModel {
|
|
2957
|
+
constructor(){
|
|
2958
|
+
super();
|
|
2959
|
+
|
|
2960
|
+
/**
|
|
2961
|
+
* Model.
|
|
2962
|
+
|
|
2963
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2964
|
+
* @type {string || null}
|
|
2965
|
+
*/
|
|
2966
|
+
this.SpecName = null;
|
|
2967
|
+
|
|
2968
|
+
/**
|
|
2969
|
+
* Disk information.
|
|
2970
|
+
|
|
2971
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2972
|
+
* @type {DiskSpecPlus || null}
|
|
2973
|
+
*/
|
|
2974
|
+
this.DataDisk = null;
|
|
2975
|
+
|
|
2976
|
+
/**
|
|
2977
|
+
* Number of machines.
|
|
2978
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2979
|
+
* @type {number || null}
|
|
2980
|
+
*/
|
|
2981
|
+
this.CvmCount = null;
|
|
2982
|
+
|
|
2983
|
+
}
|
|
2984
|
+
|
|
2985
|
+
/**
|
|
2986
|
+
* @private
|
|
2987
|
+
*/
|
|
2988
|
+
deserialize(params) {
|
|
2989
|
+
if (!params) {
|
|
2990
|
+
return;
|
|
2991
|
+
}
|
|
2992
|
+
this.SpecName = 'SpecName' in params ? params.SpecName : null;
|
|
2993
|
+
|
|
2994
|
+
if (params.DataDisk) {
|
|
2995
|
+
let obj = new DiskSpecPlus();
|
|
2996
|
+
obj.deserialize(params.DataDisk)
|
|
2997
|
+
this.DataDisk = obj;
|
|
2998
|
+
}
|
|
2999
|
+
this.CvmCount = 'CvmCount' in params ? params.CvmCount : null;
|
|
3000
|
+
|
|
3001
|
+
}
|
|
3002
|
+
}
|
|
3003
|
+
|
|
3004
|
+
/**
|
|
3005
|
+
* DescribeInstance response structure.
|
|
3006
|
+
* @class
|
|
3007
|
+
*/
|
|
3008
|
+
class DescribeInstanceResponse extends AbstractModel {
|
|
3009
|
+
constructor(){
|
|
3010
|
+
super();
|
|
3011
|
+
|
|
3012
|
+
/**
|
|
3013
|
+
* Instance description information.
|
|
3014
|
+
* @type {InstanceInfo || null}
|
|
3015
|
+
*/
|
|
3016
|
+
this.InstanceInfo = null;
|
|
3017
|
+
|
|
3018
|
+
/**
|
|
3019
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3020
|
+
* @type {string || null}
|
|
3021
|
+
*/
|
|
3022
|
+
this.RequestId = null;
|
|
3023
|
+
|
|
3024
|
+
}
|
|
3025
|
+
|
|
3026
|
+
/**
|
|
3027
|
+
* @private
|
|
3028
|
+
*/
|
|
3029
|
+
deserialize(params) {
|
|
3030
|
+
if (!params) {
|
|
3031
|
+
return;
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
if (params.InstanceInfo) {
|
|
3035
|
+
let obj = new InstanceInfo();
|
|
3036
|
+
obj.deserialize(params.InstanceInfo)
|
|
3037
|
+
this.InstanceInfo = obj;
|
|
3038
|
+
}
|
|
3039
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3040
|
+
|
|
3041
|
+
}
|
|
3042
|
+
}
|
|
3043
|
+
|
|
3044
|
+
/**
|
|
3045
|
+
* ModifyDBParameters request structure.
|
|
3046
|
+
* @class
|
|
3047
|
+
*/
|
|
3048
|
+
class ModifyDBParametersRequest extends AbstractModel {
|
|
3049
|
+
constructor(){
|
|
3050
|
+
super();
|
|
3051
|
+
|
|
3052
|
+
/**
|
|
3053
|
+
* InstanceId.
|
|
3054
|
+
* @type {string || null}
|
|
3055
|
+
*/
|
|
3056
|
+
this.InstanceId = null;
|
|
3057
|
+
|
|
3058
|
+
/**
|
|
3059
|
+
* Node parameter.
|
|
3060
|
+
* @type {Array.<NodeConfigParams> || null}
|
|
3061
|
+
*/
|
|
3062
|
+
this.NodeConfigParams = null;
|
|
3063
|
+
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
/**
|
|
3067
|
+
* @private
|
|
3068
|
+
*/
|
|
3069
|
+
deserialize(params) {
|
|
3070
|
+
if (!params) {
|
|
3071
|
+
return;
|
|
3072
|
+
}
|
|
3073
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3074
|
+
|
|
3075
|
+
if (params.NodeConfigParams) {
|
|
3076
|
+
this.NodeConfigParams = new Array();
|
|
3077
|
+
for (let z in params.NodeConfigParams) {
|
|
3078
|
+
let obj = new NodeConfigParams();
|
|
3079
|
+
obj.deserialize(params.NodeConfigParams[z]);
|
|
3080
|
+
this.NodeConfigParams.push(obj);
|
|
3081
|
+
}
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
/**
|
|
3088
|
+
* DescribeErrorLog response structure.
|
|
3089
|
+
* @class
|
|
3090
|
+
*/
|
|
3091
|
+
class DescribeErrorLogResponse extends AbstractModel {
|
|
3092
|
+
constructor(){
|
|
3093
|
+
super();
|
|
3094
|
+
|
|
3095
|
+
/**
|
|
3096
|
+
* Total count of messages returned.
|
|
3097
|
+
* @type {number || null}
|
|
3098
|
+
*/
|
|
3099
|
+
this.TotalCount = null;
|
|
3100
|
+
|
|
3101
|
+
/**
|
|
3102
|
+
* Error log details.
|
|
3103
|
+
* @type {Array.<ErrorLogDetail> || null}
|
|
3104
|
+
*/
|
|
3105
|
+
this.ErrorLogDetails = null;
|
|
3106
|
+
|
|
3107
|
+
/**
|
|
3108
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3109
|
+
* @type {string || null}
|
|
3110
|
+
*/
|
|
3111
|
+
this.RequestId = null;
|
|
3112
|
+
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* @private
|
|
3117
|
+
*/
|
|
3118
|
+
deserialize(params) {
|
|
3119
|
+
if (!params) {
|
|
3120
|
+
return;
|
|
3121
|
+
}
|
|
3122
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
3123
|
+
|
|
3124
|
+
if (params.ErrorLogDetails) {
|
|
3125
|
+
this.ErrorLogDetails = new Array();
|
|
3126
|
+
for (let z in params.ErrorLogDetails) {
|
|
3127
|
+
let obj = new ErrorLogDetail();
|
|
3128
|
+
obj.deserialize(params.ErrorLogDetails[z]);
|
|
3129
|
+
this.ErrorLogDetails.push(obj);
|
|
3130
|
+
}
|
|
3131
|
+
}
|
|
3132
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3133
|
+
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
/**
|
|
3138
|
+
* ModifyUserHba request structure.
|
|
3139
|
+
* @class
|
|
3140
|
+
*/
|
|
3141
|
+
class ModifyUserHbaRequest extends AbstractModel {
|
|
3142
|
+
constructor(){
|
|
3143
|
+
super();
|
|
3144
|
+
|
|
3145
|
+
/**
|
|
3146
|
+
* InstanceId.
|
|
3147
|
+
* @type {string || null}
|
|
3148
|
+
*/
|
|
3149
|
+
this.InstanceId = null;
|
|
3150
|
+
|
|
3151
|
+
/**
|
|
3152
|
+
* Hba array.
|
|
3153
|
+
* @type {Array.<HbaConfig> || null}
|
|
3154
|
+
*/
|
|
3155
|
+
this.HbaConfigs = null;
|
|
3156
|
+
|
|
3157
|
+
}
|
|
3158
|
+
|
|
3159
|
+
/**
|
|
3160
|
+
* @private
|
|
3161
|
+
*/
|
|
3162
|
+
deserialize(params) {
|
|
3163
|
+
if (!params) {
|
|
3164
|
+
return;
|
|
3165
|
+
}
|
|
3166
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3167
|
+
|
|
3168
|
+
if (params.HbaConfigs) {
|
|
3169
|
+
this.HbaConfigs = new Array();
|
|
3170
|
+
for (let z in params.HbaConfigs) {
|
|
3171
|
+
let obj = new HbaConfig();
|
|
3172
|
+
obj.deserialize(params.HbaConfigs[z]);
|
|
3173
|
+
this.HbaConfigs.push(obj);
|
|
3174
|
+
}
|
|
3175
|
+
}
|
|
3176
|
+
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3180
|
+
/**
|
|
3181
|
+
* ScaleUpInstance request structure.
|
|
3182
|
+
* @class
|
|
3183
|
+
*/
|
|
3184
|
+
class ScaleUpInstanceRequest extends AbstractModel {
|
|
3185
|
+
constructor(){
|
|
3186
|
+
super();
|
|
3187
|
+
|
|
3188
|
+
/**
|
|
3189
|
+
* InstanceId.
|
|
3190
|
+
* @type {string || null}
|
|
3191
|
+
*/
|
|
3192
|
+
this.InstanceId = null;
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* Modifies the resource type.
|
|
3196
|
+
* @type {string || null}
|
|
3197
|
+
*/
|
|
3198
|
+
this.Case = null;
|
|
3199
|
+
|
|
3200
|
+
/**
|
|
3201
|
+
* Modified parameters.
|
|
3202
|
+
* @type {CNResourceSpec || null}
|
|
3203
|
+
*/
|
|
3204
|
+
this.ModifySpec = null;
|
|
3205
|
+
|
|
3206
|
+
/**
|
|
3207
|
+
* Instance name.
|
|
3208
|
+
* @type {string || null}
|
|
3209
|
+
*/
|
|
3210
|
+
this.InstanceName = null;
|
|
3211
|
+
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
/**
|
|
3215
|
+
* @private
|
|
3216
|
+
*/
|
|
3217
|
+
deserialize(params) {
|
|
3218
|
+
if (!params) {
|
|
3219
|
+
return;
|
|
3220
|
+
}
|
|
3221
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3222
|
+
this.Case = 'Case' in params ? params.Case : null;
|
|
3223
|
+
|
|
3224
|
+
if (params.ModifySpec) {
|
|
3225
|
+
let obj = new CNResourceSpec();
|
|
3226
|
+
obj.deserialize(params.ModifySpec)
|
|
3227
|
+
this.ModifySpec = obj;
|
|
3228
|
+
}
|
|
3229
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
3230
|
+
|
|
3231
|
+
}
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
/**
|
|
3235
|
+
* Description of resource specifications
|
|
3236
|
+
* @class
|
|
3237
|
+
*/
|
|
3238
|
+
class CNResourceSpec extends AbstractModel {
|
|
3239
|
+
constructor(){
|
|
3240
|
+
super();
|
|
3241
|
+
|
|
3242
|
+
/**
|
|
3243
|
+
* Node type.
|
|
3244
|
+
* @type {string || null}
|
|
3245
|
+
*/
|
|
3246
|
+
this.Type = null;
|
|
3247
|
+
|
|
3248
|
+
/**
|
|
3249
|
+
* Model.
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
* @type {string || null}
|
|
3253
|
+
*/
|
|
3254
|
+
this.SpecName = null;
|
|
3255
|
+
|
|
3256
|
+
/**
|
|
3257
|
+
* Number of nodes.
|
|
3258
|
+
* @type {number || null}
|
|
3259
|
+
*/
|
|
3260
|
+
this.Count = null;
|
|
3261
|
+
|
|
3262
|
+
/**
|
|
3263
|
+
* Disk information.
|
|
3264
|
+
* @type {CBSSpec || null}
|
|
3265
|
+
*/
|
|
3266
|
+
this.DiskSpec = null;
|
|
3267
|
+
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
* @private
|
|
3272
|
+
*/
|
|
3273
|
+
deserialize(params) {
|
|
3274
|
+
if (!params) {
|
|
3275
|
+
return;
|
|
3276
|
+
}
|
|
3277
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
3278
|
+
this.SpecName = 'SpecName' in params ? params.SpecName : null;
|
|
3279
|
+
this.Count = 'Count' in params ? params.Count : null;
|
|
3280
|
+
|
|
3281
|
+
if (params.DiskSpec) {
|
|
3282
|
+
let obj = new CBSSpec();
|
|
3283
|
+
obj.deserialize(params.DiskSpec)
|
|
3284
|
+
this.DiskSpec = obj;
|
|
3285
|
+
}
|
|
3286
|
+
|
|
3287
|
+
}
|
|
3288
|
+
}
|
|
3289
|
+
|
|
3290
|
+
/**
|
|
3291
|
+
* DestroyInstanceByApi response structure.
|
|
3292
|
+
* @class
|
|
3293
|
+
*/
|
|
3294
|
+
class DestroyInstanceByApiResponse extends AbstractModel {
|
|
3295
|
+
constructor(){
|
|
3296
|
+
super();
|
|
3297
|
+
|
|
3298
|
+
/**
|
|
3299
|
+
* Destroy process ID.
|
|
3300
|
+
* @type {string || null}
|
|
3301
|
+
*/
|
|
3302
|
+
this.FlowId = null;
|
|
3303
|
+
|
|
3304
|
+
/**
|
|
3305
|
+
* Error message.
|
|
3306
|
+
* @type {string || null}
|
|
3307
|
+
*/
|
|
3308
|
+
this.ErrorMsg = null;
|
|
3309
|
+
|
|
3310
|
+
/**
|
|
3311
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3312
|
+
* @type {string || null}
|
|
3313
|
+
*/
|
|
3314
|
+
this.RequestId = null;
|
|
3315
|
+
|
|
3316
|
+
}
|
|
3317
|
+
|
|
3318
|
+
/**
|
|
3319
|
+
* @private
|
|
3320
|
+
*/
|
|
3321
|
+
deserialize(params) {
|
|
3322
|
+
if (!params) {
|
|
3323
|
+
return;
|
|
3324
|
+
}
|
|
3325
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
3326
|
+
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
3327
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3328
|
+
|
|
3329
|
+
}
|
|
3330
|
+
}
|
|
3331
|
+
|
|
3332
|
+
/**
|
|
3333
|
+
* ParamItem information
|
|
3334
|
+
* @class
|
|
3335
|
+
*/
|
|
3336
|
+
class ParamItem extends AbstractModel {
|
|
3337
|
+
constructor(){
|
|
3338
|
+
super();
|
|
3339
|
+
|
|
3340
|
+
/**
|
|
3341
|
+
* Node type. Valid values: cn and dn.
|
|
3342
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3343
|
+
* @type {string || null}
|
|
3344
|
+
*/
|
|
3345
|
+
this.NodeType = null;
|
|
3346
|
+
|
|
3347
|
+
/**
|
|
3348
|
+
* Node name.
|
|
3349
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3350
|
+
* @type {string || null}
|
|
3351
|
+
*/
|
|
3352
|
+
this.NodeName = null;
|
|
3353
|
+
|
|
3354
|
+
/**
|
|
3355
|
+
* Number of parameters.
|
|
3356
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3357
|
+
* @type {number || null}
|
|
3358
|
+
*/
|
|
3359
|
+
this.TotalCount = null;
|
|
3360
|
+
|
|
3361
|
+
/**
|
|
3362
|
+
* Parameter information.
|
|
3363
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3364
|
+
* @type {Array.<ParamDetail> || null}
|
|
3365
|
+
*/
|
|
3366
|
+
this.Details = null;
|
|
3367
|
+
|
|
3368
|
+
}
|
|
3369
|
+
|
|
3370
|
+
/**
|
|
3371
|
+
* @private
|
|
3372
|
+
*/
|
|
3373
|
+
deserialize(params) {
|
|
3374
|
+
if (!params) {
|
|
3375
|
+
return;
|
|
3376
|
+
}
|
|
3377
|
+
this.NodeType = 'NodeType' in params ? params.NodeType : null;
|
|
3378
|
+
this.NodeName = 'NodeName' in params ? params.NodeName : null;
|
|
3379
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
3380
|
+
|
|
3381
|
+
if (params.Details) {
|
|
3382
|
+
this.Details = new Array();
|
|
3383
|
+
for (let z in params.Details) {
|
|
3384
|
+
let obj = new ParamDetail();
|
|
3385
|
+
obj.deserialize(params.Details[z]);
|
|
3386
|
+
this.Details.push(obj);
|
|
3387
|
+
}
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
}
|
|
3391
|
+
}
|
|
3392
|
+
|
|
3393
|
+
/**
|
|
3394
|
+
* Disk information.
|
|
3395
|
+
* @class
|
|
3396
|
+
*/
|
|
3397
|
+
class CBSSpecInfo extends AbstractModel {
|
|
3398
|
+
constructor(){
|
|
3399
|
+
super();
|
|
3400
|
+
|
|
3401
|
+
/**
|
|
3402
|
+
* Disk type.Note: This field may return null, indicating that no valid values can be obtained.
|
|
3403
|
+
* @type {string || null}
|
|
1039
3404
|
*/
|
|
1040
|
-
this.
|
|
3405
|
+
this.DiskType = null;
|
|
1041
3406
|
|
|
1042
3407
|
/**
|
|
1043
|
-
*
|
|
3408
|
+
* Size.
|
|
3409
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1044
3410
|
* @type {number || null}
|
|
1045
3411
|
*/
|
|
1046
|
-
this.
|
|
3412
|
+
this.DiskSize = null;
|
|
1047
3413
|
|
|
1048
3414
|
/**
|
|
1049
|
-
*
|
|
1050
|
-
* @type {
|
|
3415
|
+
* Number.Note: This field may return null, indicating that no valid values can be obtained.
|
|
3416
|
+
* @type {number || null}
|
|
1051
3417
|
*/
|
|
1052
|
-
this.
|
|
3418
|
+
this.DiskCount = null;
|
|
1053
3419
|
|
|
1054
3420
|
}
|
|
1055
3421
|
|
|
@@ -1060,56 +3426,57 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
1060
3426
|
if (!params) {
|
|
1061
3427
|
return;
|
|
1062
3428
|
}
|
|
1063
|
-
this.
|
|
1064
|
-
this.
|
|
1065
|
-
this.
|
|
1066
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1067
|
-
|
|
1068
|
-
if (params.SearchTags) {
|
|
1069
|
-
this.SearchTags = new Array();
|
|
1070
|
-
for (let z in params.SearchTags) {
|
|
1071
|
-
let obj = new SearchTags();
|
|
1072
|
-
obj.deserialize(params.SearchTags[z]);
|
|
1073
|
-
this.SearchTags.push(obj);
|
|
1074
|
-
}
|
|
1075
|
-
}
|
|
3429
|
+
this.DiskType = 'DiskType' in params ? params.DiskType : null;
|
|
3430
|
+
this.DiskSize = 'DiskSize' in params ? params.DiskSize : null;
|
|
3431
|
+
this.DiskCount = 'DiskCount' in params ? params.DiskCount : null;
|
|
1076
3432
|
|
|
1077
3433
|
}
|
|
1078
3434
|
}
|
|
1079
3435
|
|
|
1080
3436
|
/**
|
|
1081
|
-
*
|
|
3437
|
+
* user_config
|
|
1082
3438
|
* @class
|
|
1083
3439
|
*/
|
|
1084
|
-
class
|
|
3440
|
+
class HbaConfig extends AbstractModel {
|
|
1085
3441
|
constructor(){
|
|
1086
3442
|
super();
|
|
1087
3443
|
|
|
1088
3444
|
/**
|
|
1089
|
-
*
|
|
3445
|
+
* Type.
|
|
1090
3446
|
* @type {string || null}
|
|
1091
3447
|
*/
|
|
1092
|
-
this.
|
|
3448
|
+
this.Type = null;
|
|
1093
3449
|
|
|
1094
3450
|
/**
|
|
1095
|
-
*
|
|
1096
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3451
|
+
* Database.
|
|
1097
3452
|
* @type {string || null}
|
|
1098
3453
|
*/
|
|
1099
|
-
this.
|
|
3454
|
+
this.Database = null;
|
|
1100
3455
|
|
|
1101
3456
|
/**
|
|
1102
|
-
*
|
|
1103
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3457
|
+
* User.
|
|
1104
3458
|
* @type {string || null}
|
|
1105
3459
|
*/
|
|
1106
|
-
this.
|
|
3460
|
+
this.User = null;
|
|
1107
3461
|
|
|
1108
3462
|
/**
|
|
1109
|
-
*
|
|
3463
|
+
* IP address.
|
|
1110
3464
|
* @type {string || null}
|
|
1111
3465
|
*/
|
|
1112
|
-
this.
|
|
3466
|
+
this.Address = null;
|
|
3467
|
+
|
|
3468
|
+
/**
|
|
3469
|
+
* Method.
|
|
3470
|
+
* @type {string || null}
|
|
3471
|
+
*/
|
|
3472
|
+
this.Method = null;
|
|
3473
|
+
|
|
3474
|
+
/**
|
|
3475
|
+
* Indicates whether to perform overwriting.
|
|
3476
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3477
|
+
* @type {string || null}
|
|
3478
|
+
*/
|
|
3479
|
+
this.Mask = null;
|
|
1113
3480
|
|
|
1114
3481
|
}
|
|
1115
3482
|
|
|
@@ -1120,10 +3487,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1120
3487
|
if (!params) {
|
|
1121
3488
|
return;
|
|
1122
3489
|
}
|
|
1123
|
-
this.
|
|
1124
|
-
this.
|
|
1125
|
-
this.
|
|
1126
|
-
this.
|
|
3490
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
3491
|
+
this.Database = 'Database' in params ? params.Database : null;
|
|
3492
|
+
this.User = 'User' in params ? params.User : null;
|
|
3493
|
+
this.Address = 'Address' in params ? params.Address : null;
|
|
3494
|
+
this.Method = 'Method' in params ? params.Method : null;
|
|
3495
|
+
this.Mask = 'Mask' in params ? params.Mask : null;
|
|
1127
3496
|
|
|
1128
3497
|
}
|
|
1129
3498
|
}
|
|
@@ -1144,105 +3513,113 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1144
3513
|
this.ID = null;
|
|
1145
3514
|
|
|
1146
3515
|
/**
|
|
1147
|
-
*
|
|
3516
|
+
* Cluster ID.
|
|
3517
|
+
|
|
1148
3518
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1149
3519
|
* @type {string || null}
|
|
1150
3520
|
*/
|
|
1151
3521
|
this.InstanceId = null;
|
|
1152
3522
|
|
|
1153
3523
|
/**
|
|
1154
|
-
*
|
|
3524
|
+
* Cluster name.
|
|
1155
3525
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1156
3526
|
* @type {string || null}
|
|
1157
3527
|
*/
|
|
1158
3528
|
this.InstanceName = null;
|
|
1159
3529
|
|
|
1160
3530
|
/**
|
|
1161
|
-
*
|
|
3531
|
+
* Kernel version.
|
|
3532
|
+
|
|
1162
3533
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1163
3534
|
* @type {string || null}
|
|
1164
3535
|
*/
|
|
1165
3536
|
this.Version = null;
|
|
1166
3537
|
|
|
1167
3538
|
/**
|
|
1168
|
-
* Region
|
|
3539
|
+
* Region.
|
|
3540
|
+
|
|
1169
3541
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1170
3542
|
* @type {string || null}
|
|
1171
3543
|
*/
|
|
1172
3544
|
this.Region = null;
|
|
1173
3545
|
|
|
1174
3546
|
/**
|
|
1175
|
-
*
|
|
3547
|
+
* Region.
|
|
1176
3548
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1177
3549
|
* @type {string || null}
|
|
1178
3550
|
*/
|
|
1179
3551
|
this.Zone = null;
|
|
1180
3552
|
|
|
1181
3553
|
/**
|
|
1182
|
-
*
|
|
3554
|
+
* Virtual Private Cloud (VPC).
|
|
3555
|
+
|
|
1183
3556
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1184
3557
|
* @type {string || null}
|
|
1185
3558
|
*/
|
|
1186
3559
|
this.UserVPCID = null;
|
|
1187
3560
|
|
|
1188
3561
|
/**
|
|
1189
|
-
*
|
|
3562
|
+
* Subnet.
|
|
1190
3563
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1191
3564
|
* @type {string || null}
|
|
1192
3565
|
*/
|
|
1193
3566
|
this.UserSubnetID = null;
|
|
1194
3567
|
|
|
1195
3568
|
/**
|
|
1196
|
-
*
|
|
3569
|
+
* Start time.
|
|
3570
|
+
|
|
1197
3571
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1198
3572
|
* @type {string || null}
|
|
1199
3573
|
*/
|
|
1200
3574
|
this.CreateTime = null;
|
|
1201
3575
|
|
|
1202
3576
|
/**
|
|
1203
|
-
*
|
|
3577
|
+
* Expiration time.
|
|
3578
|
+
|
|
1204
3579
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1205
3580
|
* @type {string || null}
|
|
1206
3581
|
*/
|
|
1207
3582
|
this.ExpireTime = null;
|
|
1208
3583
|
|
|
1209
3584
|
/**
|
|
1210
|
-
* Access
|
|
3585
|
+
* Access address.
|
|
1211
3586
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1212
3587
|
* @type {string || null}
|
|
1213
3588
|
*/
|
|
1214
3589
|
this.AccessInfo = null;
|
|
1215
3590
|
|
|
1216
3591
|
/**
|
|
1217
|
-
*
|
|
3592
|
+
* Automatic renewal switch. 0 indicates automatic renewal is not enabled, and 1 indicates automatic renewal is enabled.
|
|
1218
3593
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1219
3594
|
* @type {number || null}
|
|
1220
3595
|
*/
|
|
1221
3596
|
this.RenewFlag = null;
|
|
1222
3597
|
|
|
1223
3598
|
/**
|
|
1224
|
-
*
|
|
3599
|
+
* Billing mode.
|
|
3600
|
+
|
|
1225
3601
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1226
3602
|
* @type {ChargeProperties || null}
|
|
1227
3603
|
*/
|
|
1228
3604
|
this.ChargeProperties = null;
|
|
1229
3605
|
|
|
1230
3606
|
/**
|
|
1231
|
-
*
|
|
3607
|
+
* Resource collection.
|
|
1232
3608
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1233
3609
|
* @type {Array.<ResourceInfo> || null}
|
|
1234
3610
|
*/
|
|
1235
3611
|
this.Resources = null;
|
|
1236
3612
|
|
|
1237
3613
|
/**
|
|
1238
|
-
*
|
|
3614
|
+
* Tag list.
|
|
3615
|
+
|
|
1239
3616
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1240
3617
|
* @type {Array.<Tag> || null}
|
|
1241
3618
|
*/
|
|
1242
3619
|
this.Tags = null;
|
|
1243
3620
|
|
|
1244
3621
|
/**
|
|
1245
|
-
*
|
|
3622
|
+
* Cluster status.
|
|
1246
3623
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1247
3624
|
* @type {number || null}
|
|
1248
3625
|
*/
|
|
@@ -1299,113 +3676,72 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1299
3676
|
}
|
|
1300
3677
|
|
|
1301
3678
|
/**
|
|
1302
|
-
*
|
|
3679
|
+
* CreateInstanceByApi request structure.
|
|
1303
3680
|
* @class
|
|
1304
3681
|
*/
|
|
1305
|
-
class
|
|
3682
|
+
class CreateInstanceByApiRequest extends AbstractModel {
|
|
1306
3683
|
constructor(){
|
|
1307
3684
|
super();
|
|
1308
3685
|
|
|
1309
3686
|
/**
|
|
1310
|
-
* Instance
|
|
1311
|
-
* @type {
|
|
3687
|
+
* Instance name.
|
|
3688
|
+
* @type {string || null}
|
|
1312
3689
|
*/
|
|
1313
|
-
this.
|
|
3690
|
+
this.InstanceName = null;
|
|
1314
3691
|
|
|
1315
3692
|
/**
|
|
1316
|
-
*
|
|
3693
|
+
* Availability zone.
|
|
1317
3694
|
* @type {string || null}
|
|
1318
3695
|
*/
|
|
1319
|
-
this.
|
|
1320
|
-
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
|
-
/**
|
|
1324
|
-
* @private
|
|
1325
|
-
*/
|
|
1326
|
-
deserialize(params) {
|
|
1327
|
-
if (!params) {
|
|
1328
|
-
return;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
if (params.InstanceInfo) {
|
|
1332
|
-
let obj = new InstanceInfo();
|
|
1333
|
-
obj.deserialize(params.InstanceInfo)
|
|
1334
|
-
this.InstanceInfo = obj;
|
|
1335
|
-
}
|
|
1336
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1337
|
-
|
|
1338
|
-
}
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
/**
|
|
1342
|
-
* DestroyInstanceByApi response structure.
|
|
1343
|
-
* @class
|
|
1344
|
-
*/
|
|
1345
|
-
class DestroyInstanceByApiResponse extends AbstractModel {
|
|
1346
|
-
constructor(){
|
|
1347
|
-
super();
|
|
3696
|
+
this.Zone = null;
|
|
1348
3697
|
|
|
1349
3698
|
/**
|
|
1350
|
-
*
|
|
3699
|
+
* Virtual Private Cloud (VPC).
|
|
1351
3700
|
* @type {string || null}
|
|
1352
3701
|
*/
|
|
1353
|
-
this.
|
|
3702
|
+
this.UserVPCId = null;
|
|
1354
3703
|
|
|
1355
3704
|
/**
|
|
1356
|
-
*
|
|
3705
|
+
* Subnet.
|
|
1357
3706
|
* @type {string || null}
|
|
1358
3707
|
*/
|
|
1359
|
-
this.
|
|
3708
|
+
this.UserSubnetId = null;
|
|
1360
3709
|
|
|
1361
3710
|
/**
|
|
1362
|
-
*
|
|
1363
|
-
* @type {
|
|
3711
|
+
* Billing method.
|
|
3712
|
+
* @type {ChargeProperties || null}
|
|
1364
3713
|
*/
|
|
1365
|
-
this.
|
|
1366
|
-
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
/**
|
|
1370
|
-
* @private
|
|
1371
|
-
*/
|
|
1372
|
-
deserialize(params) {
|
|
1373
|
-
if (!params) {
|
|
1374
|
-
return;
|
|
1375
|
-
}
|
|
1376
|
-
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
1377
|
-
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
1378
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3714
|
+
this.ChargeProperties = null;
|
|
1379
3715
|
|
|
1380
|
-
|
|
1381
|
-
|
|
3716
|
+
/**
|
|
3717
|
+
* Instance password.
|
|
3718
|
+
* @type {string || null}
|
|
3719
|
+
*/
|
|
3720
|
+
this.AdminPassword = null;
|
|
1382
3721
|
|
|
1383
|
-
/**
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
constructor(){
|
|
1389
|
-
super();
|
|
3722
|
+
/**
|
|
3723
|
+
* Resource information.
|
|
3724
|
+
* @type {Array.<ResourceSpecNew> || null}
|
|
3725
|
+
*/
|
|
3726
|
+
this.Resources = null;
|
|
1390
3727
|
|
|
1391
3728
|
/**
|
|
1392
|
-
*
|
|
1393
|
-
* @type {
|
|
3729
|
+
* Tag list.Deprecated, use TagItems.
|
|
3730
|
+
* @type {Tag || null}
|
|
1394
3731
|
*/
|
|
1395
|
-
this.
|
|
3732
|
+
this.Tags = null;
|
|
1396
3733
|
|
|
1397
3734
|
/**
|
|
1398
|
-
*
|
|
1399
|
-
|
|
1400
|
-
* @type {number || null}
|
|
3735
|
+
* Version.
|
|
3736
|
+
* @type {string || null}
|
|
1401
3737
|
*/
|
|
1402
|
-
this.
|
|
3738
|
+
this.ProductVersion = null;
|
|
1403
3739
|
|
|
1404
3740
|
/**
|
|
1405
|
-
*
|
|
1406
|
-
* @type {
|
|
3741
|
+
* TagItems list.
|
|
3742
|
+
* @type {Array.<Tag> || null}
|
|
1407
3743
|
*/
|
|
1408
|
-
this.
|
|
3744
|
+
this.TagItems = null;
|
|
1409
3745
|
|
|
1410
3746
|
}
|
|
1411
3747
|
|
|
@@ -1416,74 +3752,115 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1416
3752
|
if (!params) {
|
|
1417
3753
|
return;
|
|
1418
3754
|
}
|
|
1419
|
-
this.
|
|
1420
|
-
this.
|
|
1421
|
-
this.
|
|
3755
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
3756
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
3757
|
+
this.UserVPCId = 'UserVPCId' in params ? params.UserVPCId : null;
|
|
3758
|
+
this.UserSubnetId = 'UserSubnetId' in params ? params.UserSubnetId : null;
|
|
3759
|
+
|
|
3760
|
+
if (params.ChargeProperties) {
|
|
3761
|
+
let obj = new ChargeProperties();
|
|
3762
|
+
obj.deserialize(params.ChargeProperties)
|
|
3763
|
+
this.ChargeProperties = obj;
|
|
3764
|
+
}
|
|
3765
|
+
this.AdminPassword = 'AdminPassword' in params ? params.AdminPassword : null;
|
|
3766
|
+
|
|
3767
|
+
if (params.Resources) {
|
|
3768
|
+
this.Resources = new Array();
|
|
3769
|
+
for (let z in params.Resources) {
|
|
3770
|
+
let obj = new ResourceSpecNew();
|
|
3771
|
+
obj.deserialize(params.Resources[z]);
|
|
3772
|
+
this.Resources.push(obj);
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
3775
|
+
|
|
3776
|
+
if (params.Tags) {
|
|
3777
|
+
let obj = new Tag();
|
|
3778
|
+
obj.deserialize(params.Tags)
|
|
3779
|
+
this.Tags = obj;
|
|
3780
|
+
}
|
|
3781
|
+
this.ProductVersion = 'ProductVersion' in params ? params.ProductVersion : null;
|
|
3782
|
+
|
|
3783
|
+
if (params.TagItems) {
|
|
3784
|
+
this.TagItems = new Array();
|
|
3785
|
+
for (let z in params.TagItems) {
|
|
3786
|
+
let obj = new Tag();
|
|
3787
|
+
obj.deserialize(params.TagItems[z]);
|
|
3788
|
+
this.TagItems.push(obj);
|
|
3789
|
+
}
|
|
3790
|
+
}
|
|
1422
3791
|
|
|
1423
3792
|
}
|
|
1424
3793
|
}
|
|
1425
3794
|
|
|
1426
3795
|
/**
|
|
1427
|
-
*
|
|
3796
|
+
* DescribeInstanceOperations request structure.
|
|
1428
3797
|
* @class
|
|
1429
3798
|
*/
|
|
1430
|
-
class
|
|
3799
|
+
class DescribeInstanceOperationsRequest extends AbstractModel {
|
|
1431
3800
|
constructor(){
|
|
1432
3801
|
super();
|
|
1433
3802
|
|
|
1434
3803
|
/**
|
|
1435
|
-
*
|
|
3804
|
+
* InstanceId.
|
|
1436
3805
|
* @type {string || null}
|
|
1437
3806
|
*/
|
|
1438
|
-
this.
|
|
3807
|
+
this.InstanceId = null;
|
|
1439
3808
|
|
|
1440
3809
|
/**
|
|
1441
|
-
*
|
|
1442
|
-
* @type {
|
|
3810
|
+
* Offset.
|
|
3811
|
+
* @type {number || null}
|
|
1443
3812
|
*/
|
|
1444
|
-
this.
|
|
3813
|
+
this.Offset = null;
|
|
1445
3814
|
|
|
1446
3815
|
/**
|
|
1447
|
-
*
|
|
1448
|
-
* @type {
|
|
3816
|
+
* Limit.
|
|
3817
|
+
* @type {number || null}
|
|
1449
3818
|
*/
|
|
1450
|
-
this.
|
|
3819
|
+
this.Limit = null;
|
|
1451
3820
|
|
|
1452
3821
|
/**
|
|
1453
|
-
*
|
|
3822
|
+
* Start time.
|
|
1454
3823
|
* @type {string || null}
|
|
1455
3824
|
*/
|
|
1456
|
-
this.
|
|
1457
|
-
|
|
1458
|
-
/**
|
|
1459
|
-
* Billing method.
|
|
1460
|
-
* @type {ChargeProperties || null}
|
|
1461
|
-
*/
|
|
1462
|
-
this.ChargeProperties = null;
|
|
3825
|
+
this.StartTime = null;
|
|
1463
3826
|
|
|
1464
3827
|
/**
|
|
1465
|
-
*
|
|
3828
|
+
* End time.
|
|
1466
3829
|
* @type {string || null}
|
|
1467
3830
|
*/
|
|
1468
|
-
this.
|
|
3831
|
+
this.EndTime = null;
|
|
1469
3832
|
|
|
1470
|
-
|
|
1471
|
-
* Resource information.
|
|
1472
|
-
* @type {Array.<ResourceSpecNew> || null}
|
|
1473
|
-
*/
|
|
1474
|
-
this.Resources = null;
|
|
3833
|
+
}
|
|
1475
3834
|
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
3835
|
+
/**
|
|
3836
|
+
* @private
|
|
3837
|
+
*/
|
|
3838
|
+
deserialize(params) {
|
|
3839
|
+
if (!params) {
|
|
3840
|
+
return;
|
|
3841
|
+
}
|
|
3842
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
3843
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
3844
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
3845
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
3846
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
3847
|
+
|
|
3848
|
+
}
|
|
3849
|
+
}
|
|
3850
|
+
|
|
3851
|
+
/**
|
|
3852
|
+
* DescribeInstance request structure.
|
|
3853
|
+
* @class
|
|
3854
|
+
*/
|
|
3855
|
+
class DescribeInstanceRequest extends AbstractModel {
|
|
3856
|
+
constructor(){
|
|
3857
|
+
super();
|
|
1481
3858
|
|
|
1482
3859
|
/**
|
|
1483
|
-
*
|
|
3860
|
+
* instance ID.
|
|
1484
3861
|
* @type {string || null}
|
|
1485
3862
|
*/
|
|
1486
|
-
this.
|
|
3863
|
+
this.InstanceId = null;
|
|
1487
3864
|
|
|
1488
3865
|
}
|
|
1489
3866
|
|
|
@@ -1494,62 +3871,36 @@ class CreateInstanceByApiRequest extends AbstractModel {
|
|
|
1494
3871
|
if (!params) {
|
|
1495
3872
|
return;
|
|
1496
3873
|
}
|
|
1497
|
-
this.
|
|
1498
|
-
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
1499
|
-
this.UserVPCId = 'UserVPCId' in params ? params.UserVPCId : null;
|
|
1500
|
-
this.UserSubnetId = 'UserSubnetId' in params ? params.UserSubnetId : null;
|
|
1501
|
-
|
|
1502
|
-
if (params.ChargeProperties) {
|
|
1503
|
-
let obj = new ChargeProperties();
|
|
1504
|
-
obj.deserialize(params.ChargeProperties)
|
|
1505
|
-
this.ChargeProperties = obj;
|
|
1506
|
-
}
|
|
1507
|
-
this.AdminPassword = 'AdminPassword' in params ? params.AdminPassword : null;
|
|
1508
|
-
|
|
1509
|
-
if (params.Resources) {
|
|
1510
|
-
this.Resources = new Array();
|
|
1511
|
-
for (let z in params.Resources) {
|
|
1512
|
-
let obj = new ResourceSpecNew();
|
|
1513
|
-
obj.deserialize(params.Resources[z]);
|
|
1514
|
-
this.Resources.push(obj);
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
if (params.Tags) {
|
|
1519
|
-
let obj = new Tag();
|
|
1520
|
-
obj.deserialize(params.Tags)
|
|
1521
|
-
this.Tags = obj;
|
|
1522
|
-
}
|
|
1523
|
-
this.ProductVersion = 'ProductVersion' in params ? params.ProductVersion : null;
|
|
3874
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1524
3875
|
|
|
1525
3876
|
}
|
|
1526
3877
|
}
|
|
1527
3878
|
|
|
1528
3879
|
/**
|
|
1529
|
-
*
|
|
3880
|
+
* Slow SQL logs
|
|
1530
3881
|
* @class
|
|
1531
3882
|
*/
|
|
1532
|
-
class
|
|
3883
|
+
class SlowLogDetail extends AbstractModel {
|
|
1533
3884
|
constructor(){
|
|
1534
3885
|
super();
|
|
1535
3886
|
|
|
1536
3887
|
/**
|
|
1537
|
-
*
|
|
1538
|
-
* @type {
|
|
3888
|
+
* Total consumption time.
|
|
3889
|
+
* @type {number || null}
|
|
1539
3890
|
*/
|
|
1540
|
-
this.
|
|
3891
|
+
this.TotalTime = null;
|
|
1541
3892
|
|
|
1542
3893
|
/**
|
|
1543
|
-
*
|
|
1544
|
-
* @type {
|
|
3894
|
+
* Total number of calls.
|
|
3895
|
+
* @type {number || null}
|
|
1545
3896
|
*/
|
|
1546
|
-
this.
|
|
3897
|
+
this.TotalCallTimes = null;
|
|
1547
3898
|
|
|
1548
3899
|
/**
|
|
1549
|
-
*
|
|
1550
|
-
* @type {
|
|
3900
|
+
* Slow SQL.
|
|
3901
|
+
* @type {Array.<NormQueryItem> || null}
|
|
1551
3902
|
*/
|
|
1552
|
-
this.
|
|
3903
|
+
this.NormalQuerys = null;
|
|
1553
3904
|
|
|
1554
3905
|
}
|
|
1555
3906
|
|
|
@@ -1560,26 +3911,53 @@ class SearchTags extends AbstractModel {
|
|
|
1560
3911
|
if (!params) {
|
|
1561
3912
|
return;
|
|
1562
3913
|
}
|
|
1563
|
-
this.
|
|
1564
|
-
this.
|
|
1565
|
-
|
|
3914
|
+
this.TotalTime = 'TotalTime' in params ? params.TotalTime : null;
|
|
3915
|
+
this.TotalCallTimes = 'TotalCallTimes' in params ? params.TotalCallTimes : null;
|
|
3916
|
+
|
|
3917
|
+
if (params.NormalQuerys) {
|
|
3918
|
+
this.NormalQuerys = new Array();
|
|
3919
|
+
for (let z in params.NormalQuerys) {
|
|
3920
|
+
let obj = new NormQueryItem();
|
|
3921
|
+
obj.deserialize(params.NormalQuerys[z]);
|
|
3922
|
+
this.NormalQuerys.push(obj);
|
|
3923
|
+
}
|
|
3924
|
+
}
|
|
1566
3925
|
|
|
1567
3926
|
}
|
|
1568
3927
|
}
|
|
1569
3928
|
|
|
1570
3929
|
/**
|
|
1571
|
-
*
|
|
3930
|
+
* ValueRange
|
|
1572
3931
|
* @class
|
|
1573
3932
|
*/
|
|
1574
|
-
class
|
|
3933
|
+
class ValueRange extends AbstractModel {
|
|
1575
3934
|
constructor(){
|
|
1576
3935
|
super();
|
|
1577
3936
|
|
|
1578
3937
|
/**
|
|
1579
|
-
*
|
|
3938
|
+
* Parameter types. Valid values: enum, string, and section. Enum indicates enumeration, namely utf8, latin1, gbk. String indicates that the returned parameter value is a string. Section indicates that the returned parameter value is a value range, for example, 4-8.
|
|
3939
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1580
3940
|
* @type {string || null}
|
|
1581
3941
|
*/
|
|
1582
|
-
this.
|
|
3942
|
+
this.Type = null;
|
|
3943
|
+
|
|
3944
|
+
/**
|
|
3945
|
+
* Response parameter when the type is a section.Note: This field may return null, indicating that no valid values can be obtained.
|
|
3946
|
+
* @type {Range || null}
|
|
3947
|
+
*/
|
|
3948
|
+
this.Range = null;
|
|
3949
|
+
|
|
3950
|
+
/**
|
|
3951
|
+
* Response parameter when the type is an enum.Note: This field may return null, indicating that no valid values can be obtained.
|
|
3952
|
+
* @type {Array.<string> || null}
|
|
3953
|
+
*/
|
|
3954
|
+
this.Enum = null;
|
|
3955
|
+
|
|
3956
|
+
/**
|
|
3957
|
+
* Response parameter when the type is a string.Note: This field may return null, indicating that no valid values can be obtained.
|
|
3958
|
+
* @type {string || null}
|
|
3959
|
+
*/
|
|
3960
|
+
this.String = null;
|
|
1583
3961
|
|
|
1584
3962
|
}
|
|
1585
3963
|
|
|
@@ -1590,7 +3968,15 @@ class DescribeInstanceRequest extends AbstractModel {
|
|
|
1590
3968
|
if (!params) {
|
|
1591
3969
|
return;
|
|
1592
3970
|
}
|
|
1593
|
-
this.
|
|
3971
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
3972
|
+
|
|
3973
|
+
if (params.Range) {
|
|
3974
|
+
let obj = new Range();
|
|
3975
|
+
obj.deserialize(params.Range)
|
|
3976
|
+
this.Range = obj;
|
|
3977
|
+
}
|
|
3978
|
+
this.Enum = 'Enum' in params ? params.Enum : null;
|
|
3979
|
+
this.String = 'String' in params ? params.String : null;
|
|
1594
3980
|
|
|
1595
3981
|
}
|
|
1596
3982
|
}
|
|
@@ -1663,7 +4049,7 @@ class DescribeInstanceStateResponse extends AbstractModel {
|
|
|
1663
4049
|
this.FlowProgress = null;
|
|
1664
4050
|
|
|
1665
4051
|
/**
|
|
1666
|
-
*
|
|
4052
|
+
* Instance status description. Example: running.Note: This field may return null, indicating that no valid values can be obtained.
|
|
1667
4053
|
* @type {string || null}
|
|
1668
4054
|
*/
|
|
1669
4055
|
this.InstanceStateDesc = null;
|
|
@@ -1715,6 +4101,103 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1715
4101
|
}
|
|
1716
4102
|
}
|
|
1717
4103
|
|
|
4104
|
+
/**
|
|
4105
|
+
* Cluster operation description
|
|
4106
|
+
* @class
|
|
4107
|
+
*/
|
|
4108
|
+
class InstanceOperation extends AbstractModel {
|
|
4109
|
+
constructor(){
|
|
4110
|
+
super();
|
|
4111
|
+
|
|
4112
|
+
/**
|
|
4113
|
+
* Operation name, such as create_instance, and scaleout_instance
|
|
4114
|
+
* @type {number || null}
|
|
4115
|
+
*/
|
|
4116
|
+
this.Id = null;
|
|
4117
|
+
|
|
4118
|
+
/**
|
|
4119
|
+
* Cluster ID.
|
|
4120
|
+
|
|
4121
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4122
|
+
* @type {string || null}
|
|
4123
|
+
*/
|
|
4124
|
+
this.InstanceId = null;
|
|
4125
|
+
|
|
4126
|
+
/**
|
|
4127
|
+
* Operation name description, such as creating, and modifying the cluster name.
|
|
4128
|
+
|
|
4129
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4130
|
+
* @type {string || null}
|
|
4131
|
+
*/
|
|
4132
|
+
this.Action = null;
|
|
4133
|
+
|
|
4134
|
+
/**
|
|
4135
|
+
* Status.
|
|
4136
|
+
|
|
4137
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4138
|
+
* @type {number || null}
|
|
4139
|
+
*/
|
|
4140
|
+
this.Status = null;
|
|
4141
|
+
|
|
4142
|
+
/**
|
|
4143
|
+
* Operation start time.
|
|
4144
|
+
|
|
4145
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4146
|
+
* @type {string || null}
|
|
4147
|
+
*/
|
|
4148
|
+
this.StartTime = null;
|
|
4149
|
+
|
|
4150
|
+
/**
|
|
4151
|
+
* Operation end time.
|
|
4152
|
+
|
|
4153
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4154
|
+
* @type {string || null}
|
|
4155
|
+
*/
|
|
4156
|
+
this.EndTime = null;
|
|
4157
|
+
|
|
4158
|
+
/**
|
|
4159
|
+
* Operation context.
|
|
4160
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4161
|
+
* @type {string || null}
|
|
4162
|
+
*/
|
|
4163
|
+
this.Context = null;
|
|
4164
|
+
|
|
4165
|
+
/**
|
|
4166
|
+
* Operation update time.
|
|
4167
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4168
|
+
* @type {string || null}
|
|
4169
|
+
*/
|
|
4170
|
+
this.UpdateTime = null;
|
|
4171
|
+
|
|
4172
|
+
/**
|
|
4173
|
+
* Operation UIN.
|
|
4174
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4175
|
+
* @type {string || null}
|
|
4176
|
+
*/
|
|
4177
|
+
this.Uin = null;
|
|
4178
|
+
|
|
4179
|
+
}
|
|
4180
|
+
|
|
4181
|
+
/**
|
|
4182
|
+
* @private
|
|
4183
|
+
*/
|
|
4184
|
+
deserialize(params) {
|
|
4185
|
+
if (!params) {
|
|
4186
|
+
return;
|
|
4187
|
+
}
|
|
4188
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
4189
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4190
|
+
this.Action = 'Action' in params ? params.Action : null;
|
|
4191
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
4192
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
4193
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
4194
|
+
this.Context = 'Context' in params ? params.Context : null;
|
|
4195
|
+
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
4196
|
+
this.Uin = 'Uin' in params ? params.Uin : null;
|
|
4197
|
+
|
|
4198
|
+
}
|
|
4199
|
+
}
|
|
4200
|
+
|
|
1718
4201
|
/**
|
|
1719
4202
|
* Simplified instance information.
|
|
1720
4203
|
* @class
|
|
@@ -1731,112 +4214,120 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1731
4214
|
this.ID = null;
|
|
1732
4215
|
|
|
1733
4216
|
/**
|
|
1734
|
-
*
|
|
4217
|
+
* Cluster ID.
|
|
4218
|
+
|
|
1735
4219
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1736
4220
|
* @type {string || null}
|
|
1737
4221
|
*/
|
|
1738
4222
|
this.InstanceId = null;
|
|
1739
4223
|
|
|
1740
4224
|
/**
|
|
1741
|
-
*
|
|
4225
|
+
* Cluster name.
|
|
1742
4226
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1743
4227
|
* @type {string || null}
|
|
1744
4228
|
*/
|
|
1745
4229
|
this.InstanceName = null;
|
|
1746
4230
|
|
|
1747
4231
|
/**
|
|
1748
|
-
*
|
|
4232
|
+
* Kernel version.
|
|
4233
|
+
|
|
1749
4234
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1750
4235
|
* @type {string || null}
|
|
1751
4236
|
*/
|
|
1752
4237
|
this.Version = null;
|
|
1753
4238
|
|
|
1754
4239
|
/**
|
|
1755
|
-
* Region
|
|
4240
|
+
* Region.
|
|
4241
|
+
|
|
1756
4242
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1757
4243
|
* @type {string || null}
|
|
1758
4244
|
*/
|
|
1759
4245
|
this.Region = null;
|
|
1760
4246
|
|
|
1761
4247
|
/**
|
|
1762
|
-
* Region
|
|
4248
|
+
* Region ID.
|
|
1763
4249
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1764
4250
|
* @type {number || null}
|
|
1765
4251
|
*/
|
|
1766
4252
|
this.RegionId = null;
|
|
1767
4253
|
|
|
1768
4254
|
/**
|
|
1769
|
-
* Region
|
|
4255
|
+
* Region details.
|
|
1770
4256
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1771
4257
|
* @type {string || null}
|
|
1772
4258
|
*/
|
|
1773
4259
|
this.RegionDesc = null;
|
|
1774
4260
|
|
|
1775
4261
|
/**
|
|
1776
|
-
*
|
|
4262
|
+
* Region.
|
|
1777
4263
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1778
4264
|
* @type {string || null}
|
|
1779
4265
|
*/
|
|
1780
4266
|
this.Zone = null;
|
|
1781
4267
|
|
|
1782
4268
|
/**
|
|
1783
|
-
*
|
|
4269
|
+
* Region ID.
|
|
4270
|
+
|
|
1784
4271
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1785
4272
|
* @type {number || null}
|
|
1786
4273
|
*/
|
|
1787
4274
|
this.ZoneId = null;
|
|
1788
4275
|
|
|
1789
4276
|
/**
|
|
1790
|
-
*
|
|
4277
|
+
* Region details.
|
|
1791
4278
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1792
4279
|
* @type {string || null}
|
|
1793
4280
|
*/
|
|
1794
4281
|
this.ZoneDesc = null;
|
|
1795
4282
|
|
|
1796
4283
|
/**
|
|
1797
|
-
*
|
|
4284
|
+
* Virtual Private Cloud (VPC).
|
|
4285
|
+
|
|
1798
4286
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1799
4287
|
* @type {string || null}
|
|
1800
4288
|
*/
|
|
1801
4289
|
this.VpcId = null;
|
|
1802
4290
|
|
|
1803
4291
|
/**
|
|
1804
|
-
* Subnet
|
|
4292
|
+
* Subnet.
|
|
1805
4293
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1806
4294
|
* @type {string || null}
|
|
1807
4295
|
*/
|
|
1808
4296
|
this.SubnetId = null;
|
|
1809
4297
|
|
|
1810
4298
|
/**
|
|
1811
|
-
*
|
|
4299
|
+
* Start time.
|
|
4300
|
+
|
|
1812
4301
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1813
4302
|
* @type {string || null}
|
|
1814
4303
|
*/
|
|
1815
4304
|
this.CreateTime = null;
|
|
1816
4305
|
|
|
1817
4306
|
/**
|
|
1818
|
-
*
|
|
4307
|
+
* Expiration time.
|
|
4308
|
+
|
|
1819
4309
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1820
4310
|
* @type {string || null}
|
|
1821
4311
|
*/
|
|
1822
4312
|
this.ExpireTime = null;
|
|
1823
4313
|
|
|
1824
4314
|
/**
|
|
1825
|
-
* Access
|
|
4315
|
+
* Access address.
|
|
1826
4316
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1827
4317
|
* @type {string || null}
|
|
1828
4318
|
*/
|
|
1829
4319
|
this.AccessInfo = null;
|
|
1830
4320
|
|
|
1831
4321
|
/**
|
|
1832
|
-
*
|
|
4322
|
+
* Billing mode.
|
|
4323
|
+
|
|
1833
4324
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1834
4325
|
* @type {string || null}
|
|
1835
4326
|
*/
|
|
1836
4327
|
this.PayMode = null;
|
|
1837
4328
|
|
|
1838
4329
|
/**
|
|
1839
|
-
*
|
|
4330
|
+
* Automatic renewal.
|
|
1840
4331
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1841
4332
|
* @type {boolean || null}
|
|
1842
4333
|
*/
|
|
@@ -1881,32 +4372,31 @@ class DescribeSimpleInstancesRequest extends AbstractModel {
|
|
|
1881
4372
|
super();
|
|
1882
4373
|
|
|
1883
4374
|
/**
|
|
1884
|
-
*
|
|
4375
|
+
* Searches by instance ID.
|
|
1885
4376
|
* @type {string || null}
|
|
1886
4377
|
*/
|
|
1887
4378
|
this.SearchInstanceId = null;
|
|
1888
4379
|
|
|
1889
4380
|
/**
|
|
1890
|
-
*
|
|
4381
|
+
* Searches by instance name.
|
|
1891
4382
|
* @type {string || null}
|
|
1892
4383
|
*/
|
|
1893
4384
|
this.SearchInstanceName = null;
|
|
1894
4385
|
|
|
1895
4386
|
/**
|
|
1896
|
-
*
|
|
1897
|
-
Offset
|
|
4387
|
+
* Offset.
|
|
1898
4388
|
* @type {number || null}
|
|
1899
4389
|
*/
|
|
1900
4390
|
this.Offset = null;
|
|
1901
4391
|
|
|
1902
4392
|
/**
|
|
1903
|
-
* Limit
|
|
4393
|
+
* Limit.
|
|
1904
4394
|
* @type {number || null}
|
|
1905
4395
|
*/
|
|
1906
4396
|
this.Limit = null;
|
|
1907
4397
|
|
|
1908
4398
|
/**
|
|
1909
|
-
*
|
|
4399
|
+
* Searches by tag list.
|
|
1910
4400
|
* @type {Array.<string> || null}
|
|
1911
4401
|
*/
|
|
1912
4402
|
this.SearchTags = null;
|
|
@@ -1929,6 +4419,104 @@ Offset
|
|
|
1929
4419
|
}
|
|
1930
4420
|
}
|
|
1931
4421
|
|
|
4422
|
+
/**
|
|
4423
|
+
* DescribeErrorLog request structure.
|
|
4424
|
+
* @class
|
|
4425
|
+
*/
|
|
4426
|
+
class DescribeErrorLogRequest extends AbstractModel {
|
|
4427
|
+
constructor(){
|
|
4428
|
+
super();
|
|
4429
|
+
|
|
4430
|
+
/**
|
|
4431
|
+
* Instance ID.
|
|
4432
|
+
* @type {string || null}
|
|
4433
|
+
*/
|
|
4434
|
+
this.InstanceId = null;
|
|
4435
|
+
|
|
4436
|
+
/**
|
|
4437
|
+
* Start time.
|
|
4438
|
+
* @type {string || null}
|
|
4439
|
+
*/
|
|
4440
|
+
this.StartTime = null;
|
|
4441
|
+
|
|
4442
|
+
/**
|
|
4443
|
+
* End time.
|
|
4444
|
+
* @type {string || null}
|
|
4445
|
+
*/
|
|
4446
|
+
this.EndTime = null;
|
|
4447
|
+
|
|
4448
|
+
/**
|
|
4449
|
+
* Limit.
|
|
4450
|
+
* @type {number || null}
|
|
4451
|
+
*/
|
|
4452
|
+
this.Limit = null;
|
|
4453
|
+
|
|
4454
|
+
/**
|
|
4455
|
+
* Offset.
|
|
4456
|
+
* @type {number || null}
|
|
4457
|
+
*/
|
|
4458
|
+
this.Offset = null;
|
|
4459
|
+
|
|
4460
|
+
}
|
|
4461
|
+
|
|
4462
|
+
/**
|
|
4463
|
+
* @private
|
|
4464
|
+
*/
|
|
4465
|
+
deserialize(params) {
|
|
4466
|
+
if (!params) {
|
|
4467
|
+
return;
|
|
4468
|
+
}
|
|
4469
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4470
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
4471
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
4472
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4473
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4474
|
+
|
|
4475
|
+
}
|
|
4476
|
+
}
|
|
4477
|
+
|
|
4478
|
+
/**
|
|
4479
|
+
* ScaleUpInstance response structure.
|
|
4480
|
+
* @class
|
|
4481
|
+
*/
|
|
4482
|
+
class ScaleUpInstanceResponse extends AbstractModel {
|
|
4483
|
+
constructor(){
|
|
4484
|
+
super();
|
|
4485
|
+
|
|
4486
|
+
/**
|
|
4487
|
+
* FlowId.
|
|
4488
|
+
* @type {number || null}
|
|
4489
|
+
*/
|
|
4490
|
+
this.FlowId = null;
|
|
4491
|
+
|
|
4492
|
+
/**
|
|
4493
|
+
* Specific error.
|
|
4494
|
+
* @type {string || null}
|
|
4495
|
+
*/
|
|
4496
|
+
this.ErrorMsg = null;
|
|
4497
|
+
|
|
4498
|
+
/**
|
|
4499
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4500
|
+
* @type {string || null}
|
|
4501
|
+
*/
|
|
4502
|
+
this.RequestId = null;
|
|
4503
|
+
|
|
4504
|
+
}
|
|
4505
|
+
|
|
4506
|
+
/**
|
|
4507
|
+
* @private
|
|
4508
|
+
*/
|
|
4509
|
+
deserialize(params) {
|
|
4510
|
+
if (!params) {
|
|
4511
|
+
return;
|
|
4512
|
+
}
|
|
4513
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
4514
|
+
this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
|
|
4515
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4516
|
+
|
|
4517
|
+
}
|
|
4518
|
+
}
|
|
4519
|
+
|
|
1932
4520
|
/**
|
|
1933
4521
|
* DescribeInstanceInfo response structure.
|
|
1934
4522
|
* @class
|
|
@@ -1938,13 +4526,13 @@ class DescribeInstanceInfoResponse extends AbstractModel {
|
|
|
1938
4526
|
super();
|
|
1939
4527
|
|
|
1940
4528
|
/**
|
|
1941
|
-
* Instance
|
|
4529
|
+
* Instance description information.
|
|
1942
4530
|
* @type {SimpleInstanceInfo || null}
|
|
1943
4531
|
*/
|
|
1944
4532
|
this.SimpleInstanceInfo = null;
|
|
1945
4533
|
|
|
1946
4534
|
/**
|
|
1947
|
-
* Error
|
|
4535
|
+
* Error message.
|
|
1948
4536
|
* @type {string || null}
|
|
1949
4537
|
*/
|
|
1950
4538
|
this.ErrorMsg = null;
|
|
@@ -1977,35 +4565,83 @@ class DescribeInstanceInfoResponse extends AbstractModel {
|
|
|
1977
4565
|
}
|
|
1978
4566
|
|
|
1979
4567
|
module.exports = {
|
|
4568
|
+
ConfigParams: ConfigParams,
|
|
1980
4569
|
ModifyInstanceResponse: ModifyInstanceResponse,
|
|
1981
4570
|
DescribeInstanceInfoRequest: DescribeInstanceInfoRequest,
|
|
4571
|
+
DescribeUserHbaConfigResponse: DescribeUserHbaConfigResponse,
|
|
1982
4572
|
AccessInfo: AccessInfo,
|
|
4573
|
+
DescribeUserHbaConfigRequest: DescribeUserHbaConfigRequest,
|
|
4574
|
+
ModifyDBParametersResponse: ModifyDBParametersResponse,
|
|
1983
4575
|
InstanceStateInfo: InstanceStateInfo,
|
|
4576
|
+
NormQueryItem: NormQueryItem,
|
|
1984
4577
|
DescribeInstanceStateRequest: DescribeInstanceStateRequest,
|
|
4578
|
+
AccountInfo: AccountInfo,
|
|
4579
|
+
DescribeAccountsRequest: DescribeAccountsRequest,
|
|
4580
|
+
ScaleOutInstanceResponse: ScaleOutInstanceResponse,
|
|
4581
|
+
DescribeInstanceNodesRequest: DescribeInstanceNodesRequest,
|
|
4582
|
+
RestartInstanceResponse: RestartInstanceResponse,
|
|
1985
4583
|
ChargeProperties: ChargeProperties,
|
|
1986
4584
|
DestroyInstanceByApiRequest: DestroyInstanceByApiRequest,
|
|
4585
|
+
UpgradeItem: UpgradeItem,
|
|
4586
|
+
DescribeDBConfigHistoryResponse: DescribeDBConfigHistoryResponse,
|
|
1987
4587
|
ResourceSpecNew: ResourceSpecNew,
|
|
1988
|
-
|
|
4588
|
+
InstanceNode: InstanceNode,
|
|
4589
|
+
DescribeDBConfigHistoryRequest: DescribeDBConfigHistoryRequest,
|
|
4590
|
+
ErrorLogDetail: ErrorLogDetail,
|
|
4591
|
+
DescribeDBParamsRequest: DescribeDBParamsRequest,
|
|
1989
4592
|
CBSSpec: CBSSpec,
|
|
4593
|
+
DescribeInstanceNodesResponse: DescribeInstanceNodesResponse,
|
|
1990
4594
|
ModifyInstanceRequest: ModifyInstanceRequest,
|
|
1991
4595
|
DescribeSimpleInstancesResponse: DescribeSimpleInstancesResponse,
|
|
1992
|
-
|
|
4596
|
+
UpgradeInstanceRequest: UpgradeInstanceRequest,
|
|
4597
|
+
DescribeSlowLogResponse: DescribeSlowLogResponse,
|
|
4598
|
+
ModifyUserHbaResponse: ModifyUserHbaResponse,
|
|
4599
|
+
NodeConfigParams: NodeConfigParams,
|
|
1993
4600
|
InstanceInfo: InstanceInfo,
|
|
4601
|
+
DescribeDBParamsResponse: DescribeDBParamsResponse,
|
|
4602
|
+
ParamDetail: ParamDetail,
|
|
1994
4603
|
DescribeInstancesResponse: DescribeInstancesResponse,
|
|
4604
|
+
ConfigHistory: ConfigHistory,
|
|
4605
|
+
ResetAccountPasswordResponse: ResetAccountPasswordResponse,
|
|
1995
4606
|
DiskSpecPlus: DiskSpecPlus,
|
|
4607
|
+
ResetAccountPasswordRequest: ResetAccountPasswordRequest,
|
|
4608
|
+
RestartInstanceRequest: RestartInstanceRequest,
|
|
4609
|
+
DescribeUpgradeListRequest: DescribeUpgradeListRequest,
|
|
4610
|
+
ResourceInfo: ResourceInfo,
|
|
1996
4611
|
DescribeInstancesRequest: DescribeInstancesRequest,
|
|
4612
|
+
UpgradeInstanceResponse: UpgradeInstanceResponse,
|
|
4613
|
+
DescribeInstanceOperationsResponse: DescribeInstanceOperationsResponse,
|
|
1997
4614
|
CreateInstanceByApiResponse: CreateInstanceByApiResponse,
|
|
1998
|
-
|
|
4615
|
+
DescribeSlowLogRequest: DescribeSlowLogRequest,
|
|
4616
|
+
DescribeUpgradeListResponse: DescribeUpgradeListResponse,
|
|
4617
|
+
ScaleOutInstanceRequest: ScaleOutInstanceRequest,
|
|
4618
|
+
DescribeAccountsResponse: DescribeAccountsResponse,
|
|
4619
|
+
SearchTags: SearchTags,
|
|
4620
|
+
Range: Range,
|
|
4621
|
+
InstanceNodeGroup: InstanceNodeGroup,
|
|
1999
4622
|
DescribeInstanceResponse: DescribeInstanceResponse,
|
|
4623
|
+
ModifyDBParametersRequest: ModifyDBParametersRequest,
|
|
4624
|
+
DescribeErrorLogResponse: DescribeErrorLogResponse,
|
|
4625
|
+
ModifyUserHbaRequest: ModifyUserHbaRequest,
|
|
4626
|
+
ScaleUpInstanceRequest: ScaleUpInstanceRequest,
|
|
4627
|
+
CNResourceSpec: CNResourceSpec,
|
|
2000
4628
|
DestroyInstanceByApiResponse: DestroyInstanceByApiResponse,
|
|
4629
|
+
ParamItem: ParamItem,
|
|
2001
4630
|
CBSSpecInfo: CBSSpecInfo,
|
|
4631
|
+
HbaConfig: HbaConfig,
|
|
4632
|
+
SimpleInstanceInfo: SimpleInstanceInfo,
|
|
2002
4633
|
CreateInstanceByApiRequest: CreateInstanceByApiRequest,
|
|
2003
|
-
|
|
4634
|
+
DescribeInstanceOperationsRequest: DescribeInstanceOperationsRequest,
|
|
2004
4635
|
DescribeInstanceRequest: DescribeInstanceRequest,
|
|
4636
|
+
SlowLogDetail: SlowLogDetail,
|
|
4637
|
+
ValueRange: ValueRange,
|
|
2005
4638
|
Tag: Tag,
|
|
2006
4639
|
DescribeInstanceStateResponse: DescribeInstanceStateResponse,
|
|
4640
|
+
InstanceOperation: InstanceOperation,
|
|
2007
4641
|
InstanceSimpleInfoNew: InstanceSimpleInfoNew,
|
|
2008
4642
|
DescribeSimpleInstancesRequest: DescribeSimpleInstancesRequest,
|
|
4643
|
+
DescribeErrorLogRequest: DescribeErrorLogRequest,
|
|
4644
|
+
ScaleUpInstanceResponse: ScaleUpInstanceResponse,
|
|
2009
4645
|
DescribeInstanceInfoResponse: DescribeInstanceInfoResponse,
|
|
2010
4646
|
|
|
2011
4647
|
}
|