tencentcloud-sdk-nodejs-intl-en 3.0.1321 → 3.0.1322
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/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/models.js +6 -2
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/tdmysql/index.js +3 -0
- package/tencentcloud/tdmysql/v20211122/index.js +4 -0
- package/tencentcloud/tdmysql/v20211122/models.js +2476 -0
- package/tencentcloud/tdmysql/v20211122/tdmysql_client.js +313 -0
- package/tencentcloud/wedata/v20250806/models.js +161 -17
- package/tencentcloud/wedata/v20250806/wedata_client.js +21 -7
|
@@ -0,0 +1,2476 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 Tencent. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
const AbstractModel = require("../../common/abstract_model");
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Recoverable time interval.
|
|
21
|
+
* @class
|
|
22
|
+
*/
|
|
23
|
+
class ArchiveLogInterval extends AbstractModel {
|
|
24
|
+
constructor(){
|
|
25
|
+
super();
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* End time.
|
|
29
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
30
|
+
* @type {string || null}
|
|
31
|
+
*/
|
|
32
|
+
this.EndTime = null;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Major version.
|
|
36
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
37
|
+
* @type {string || null}
|
|
38
|
+
*/
|
|
39
|
+
this.MajorVersion = null;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Minor version.
|
|
43
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
44
|
+
* @type {string || null}
|
|
45
|
+
*/
|
|
46
|
+
this.MinorVersion = null;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Start time.
|
|
50
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
51
|
+
* @type {string || null}
|
|
52
|
+
*/
|
|
53
|
+
this.StartTime = null;
|
|
54
|
+
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @private
|
|
59
|
+
*/
|
|
60
|
+
deserialize(params) {
|
|
61
|
+
if (!params) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
65
|
+
this.MajorVersion = 'MajorVersion' in params ? params.MajorVersion : null;
|
|
66
|
+
this.MinorVersion = 'MinorVersion' in params ? params.MinorVersion : null;
|
|
67
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* IsolateDBInstance request structure.
|
|
74
|
+
* @class
|
|
75
|
+
*/
|
|
76
|
+
class IsolateDBInstanceRequest extends AbstractModel {
|
|
77
|
+
constructor(){
|
|
78
|
+
super();
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* List of isolated instance ids required.
|
|
82
|
+
* @type {Array.<string> || null}
|
|
83
|
+
*/
|
|
84
|
+
this.InstanceIds = null;
|
|
85
|
+
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @private
|
|
90
|
+
*/
|
|
91
|
+
deserialize(params) {
|
|
92
|
+
if (!params) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
96
|
+
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* ModifyBinlogStatus response structure.
|
|
102
|
+
* @class
|
|
103
|
+
*/
|
|
104
|
+
class ModifyBinlogStatusResponse extends AbstractModel {
|
|
105
|
+
constructor(){
|
|
106
|
+
super();
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Process id of the flow.
|
|
110
|
+
* @type {number || null}
|
|
111
|
+
*/
|
|
112
|
+
this.FlowId = null;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* 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.
|
|
116
|
+
* @type {string || null}
|
|
117
|
+
*/
|
|
118
|
+
this.RequestId = null;
|
|
119
|
+
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @private
|
|
124
|
+
*/
|
|
125
|
+
deserialize(params) {
|
|
126
|
+
if (!params) {
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
130
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
131
|
+
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* DescribeFlow request structure.
|
|
137
|
+
* @class
|
|
138
|
+
*/
|
|
139
|
+
class DescribeFlowRequest extends AbstractModel {
|
|
140
|
+
constructor(){
|
|
141
|
+
super();
|
|
142
|
+
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @private
|
|
147
|
+
*/
|
|
148
|
+
deserialize(params) {
|
|
149
|
+
if (!params) {
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* ModifyDBSBackupSetComment response structure.
|
|
158
|
+
* @class
|
|
159
|
+
*/
|
|
160
|
+
class ModifyDBSBackupSetCommentResponse extends AbstractModel {
|
|
161
|
+
constructor(){
|
|
162
|
+
super();
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* <P>Whether it is successful</p>.
|
|
166
|
+
* @type {boolean || null}
|
|
167
|
+
*/
|
|
168
|
+
this.IsSuccess = null;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* <P>Modify information</p>.
|
|
172
|
+
* @type {string || null}
|
|
173
|
+
*/
|
|
174
|
+
this.Msg = null;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* 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.
|
|
178
|
+
* @type {string || null}
|
|
179
|
+
*/
|
|
180
|
+
this.RequestId = null;
|
|
181
|
+
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @private
|
|
186
|
+
*/
|
|
187
|
+
deserialize(params) {
|
|
188
|
+
if (!params) {
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
this.IsSuccess = 'IsSuccess' in params ? params.IsSuccess : null;
|
|
192
|
+
this.Msg = 'Msg' in params ? params.Msg : null;
|
|
193
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
194
|
+
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* ModifyInstanceName response structure.
|
|
200
|
+
* @class
|
|
201
|
+
*/
|
|
202
|
+
class ModifyInstanceNameResponse extends AbstractModel {
|
|
203
|
+
constructor(){
|
|
204
|
+
super();
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* 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.
|
|
208
|
+
* @type {string || null}
|
|
209
|
+
*/
|
|
210
|
+
this.RequestId = null;
|
|
211
|
+
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @private
|
|
216
|
+
*/
|
|
217
|
+
deserialize(params) {
|
|
218
|
+
if (!params) {
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
222
|
+
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* DescribeDatabaseTable request structure.
|
|
228
|
+
* @class
|
|
229
|
+
*/
|
|
230
|
+
class DescribeDatabaseTableRequest extends AbstractModel {
|
|
231
|
+
constructor(){
|
|
232
|
+
super();
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Instance ID, for example: tdsql3-ow7t8lmc.
|
|
236
|
+
* @type {string || null}
|
|
237
|
+
*/
|
|
238
|
+
this.InstanceId = null;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Database name, obtained via the DescribeDatabases api.
|
|
242
|
+
* @type {string || null}
|
|
243
|
+
*/
|
|
244
|
+
this.DbName = null;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Table name, obtained through the DescribeDatabaseObjects api.
|
|
248
|
+
* @type {string || null}
|
|
249
|
+
*/
|
|
250
|
+
this.Table = null;
|
|
251
|
+
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @private
|
|
256
|
+
*/
|
|
257
|
+
deserialize(params) {
|
|
258
|
+
if (!params) {
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
262
|
+
this.DbName = 'DbName' in params ? params.DbName : null;
|
|
263
|
+
this.Table = 'Table' in params ? params.Table : null;
|
|
264
|
+
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* ModifyDBInstanceSecurityGroups response structure.
|
|
270
|
+
* @class
|
|
271
|
+
*/
|
|
272
|
+
class ModifyDBInstanceSecurityGroupsResponse extends AbstractModel {
|
|
273
|
+
constructor(){
|
|
274
|
+
super();
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* 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.
|
|
278
|
+
* @type {string || null}
|
|
279
|
+
*/
|
|
280
|
+
this.RequestId = null;
|
|
281
|
+
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @private
|
|
286
|
+
*/
|
|
287
|
+
deserialize(params) {
|
|
288
|
+
if (!params) {
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
292
|
+
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* DescribeDBParameters request structure.
|
|
298
|
+
* @class
|
|
299
|
+
*/
|
|
300
|
+
class DescribeDBParametersRequest extends AbstractModel {
|
|
301
|
+
constructor(){
|
|
302
|
+
super();
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Instance ID, for example: tdsql3-ow728lmc.
|
|
306
|
+
* @type {string || null}
|
|
307
|
+
*/
|
|
308
|
+
this.InstanceId = null;
|
|
309
|
+
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* @private
|
|
314
|
+
*/
|
|
315
|
+
deserialize(params) {
|
|
316
|
+
if (!params) {
|
|
317
|
+
return;
|
|
318
|
+
}
|
|
319
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
320
|
+
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* DescribeDatabaseTable response structure.
|
|
326
|
+
* @class
|
|
327
|
+
*/
|
|
328
|
+
class DescribeDatabaseTableResponse extends AbstractModel {
|
|
329
|
+
constructor(){
|
|
330
|
+
super();
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Instance name.
|
|
334
|
+
* @type {string || null}
|
|
335
|
+
*/
|
|
336
|
+
this.InstanceId = null;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Database name.
|
|
340
|
+
* @type {string || null}
|
|
341
|
+
*/
|
|
342
|
+
this.DbName = null;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Table name.
|
|
346
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
347
|
+
* @type {string || null}
|
|
348
|
+
*/
|
|
349
|
+
this.Table = null;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Column information.
|
|
353
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
354
|
+
* @type {Array.<TableColumn> || null}
|
|
355
|
+
*/
|
|
356
|
+
this.Cols = null;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* 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.
|
|
360
|
+
* @type {string || null}
|
|
361
|
+
*/
|
|
362
|
+
this.RequestId = null;
|
|
363
|
+
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* @private
|
|
368
|
+
*/
|
|
369
|
+
deserialize(params) {
|
|
370
|
+
if (!params) {
|
|
371
|
+
return;
|
|
372
|
+
}
|
|
373
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
374
|
+
this.DbName = 'DbName' in params ? params.DbName : null;
|
|
375
|
+
this.Table = 'Table' in params ? params.Table : null;
|
|
376
|
+
|
|
377
|
+
if (params.Cols) {
|
|
378
|
+
this.Cols = new Array();
|
|
379
|
+
for (let z in params.Cols) {
|
|
380
|
+
let obj = new TableColumn();
|
|
381
|
+
obj.deserialize(params.Cols[z]);
|
|
382
|
+
this.Cols.push(obj);
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
386
|
+
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* DescribeDatabaseObjects response structure.
|
|
392
|
+
* @class
|
|
393
|
+
*/
|
|
394
|
+
class DescribeDatabaseObjectsResponse extends AbstractModel {
|
|
395
|
+
constructor(){
|
|
396
|
+
super();
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Passthrough input parameter.
|
|
400
|
+
* @type {string || null}
|
|
401
|
+
*/
|
|
402
|
+
this.InstanceId = null;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Database name.
|
|
406
|
+
* @type {string || null}
|
|
407
|
+
*/
|
|
408
|
+
this.DbName = null;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Table list.
|
|
412
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
413
|
+
* @type {Array.<DatabaseTable> || null}
|
|
414
|
+
*/
|
|
415
|
+
this.Tables = null;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* View list.
|
|
419
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
420
|
+
* @type {Array.<DatabaseView> || null}
|
|
421
|
+
*/
|
|
422
|
+
this.Views = null;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Stored procedure list.
|
|
426
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
427
|
+
* @type {Array.<DatabaseProcedure> || null}
|
|
428
|
+
*/
|
|
429
|
+
this.Procs = null;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Function list.
|
|
433
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
434
|
+
* @type {Array.<DatabaseFunction> || null}
|
|
435
|
+
*/
|
|
436
|
+
this.Funcs = null;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* 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.
|
|
440
|
+
* @type {string || null}
|
|
441
|
+
*/
|
|
442
|
+
this.RequestId = null;
|
|
443
|
+
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* @private
|
|
448
|
+
*/
|
|
449
|
+
deserialize(params) {
|
|
450
|
+
if (!params) {
|
|
451
|
+
return;
|
|
452
|
+
}
|
|
453
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
454
|
+
this.DbName = 'DbName' in params ? params.DbName : null;
|
|
455
|
+
|
|
456
|
+
if (params.Tables) {
|
|
457
|
+
this.Tables = new Array();
|
|
458
|
+
for (let z in params.Tables) {
|
|
459
|
+
let obj = new DatabaseTable();
|
|
460
|
+
obj.deserialize(params.Tables[z]);
|
|
461
|
+
this.Tables.push(obj);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
if (params.Views) {
|
|
466
|
+
this.Views = new Array();
|
|
467
|
+
for (let z in params.Views) {
|
|
468
|
+
let obj = new DatabaseView();
|
|
469
|
+
obj.deserialize(params.Views[z]);
|
|
470
|
+
this.Views.push(obj);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
if (params.Procs) {
|
|
475
|
+
this.Procs = new Array();
|
|
476
|
+
for (let z in params.Procs) {
|
|
477
|
+
let obj = new DatabaseProcedure();
|
|
478
|
+
obj.deserialize(params.Procs[z]);
|
|
479
|
+
this.Procs.push(obj);
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
if (params.Funcs) {
|
|
484
|
+
this.Funcs = new Array();
|
|
485
|
+
for (let z in params.Funcs) {
|
|
486
|
+
let obj = new DatabaseFunction();
|
|
487
|
+
obj.deserialize(params.Funcs[z]);
|
|
488
|
+
this.Funcs.push(obj);
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
492
|
+
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Inbound and outbound rules.
|
|
498
|
+
* @class
|
|
499
|
+
*/
|
|
500
|
+
class SecurityGroupBound extends AbstractModel {
|
|
501
|
+
constructor(){
|
|
502
|
+
super();
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Source IP or IP range, such as 192.168.0.0/16.
|
|
506
|
+
* @type {string || null}
|
|
507
|
+
*/
|
|
508
|
+
this.CidrIp = null;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Policy, ACCEPT or DROP.
|
|
512
|
+
* @type {string || null}
|
|
513
|
+
*/
|
|
514
|
+
this.Action = null;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Port.
|
|
518
|
+
* @type {string || null}
|
|
519
|
+
*/
|
|
520
|
+
this.PortRange = null;
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Network protocol, supports UDP, TCP.
|
|
524
|
+
* @type {string || null}
|
|
525
|
+
*/
|
|
526
|
+
this.IpProtocol = null;
|
|
527
|
+
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @private
|
|
532
|
+
*/
|
|
533
|
+
deserialize(params) {
|
|
534
|
+
if (!params) {
|
|
535
|
+
return;
|
|
536
|
+
}
|
|
537
|
+
this.CidrIp = 'CidrIp' in params ? params.CidrIp : null;
|
|
538
|
+
this.Action = 'Action' in params ? params.Action : null;
|
|
539
|
+
this.PortRange = 'PortRange' in params ? params.PortRange : null;
|
|
540
|
+
this.IpProtocol = 'IpProtocol' in params ? params.IpProtocol : null;
|
|
541
|
+
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* CreateDBSBackup response structure.
|
|
547
|
+
* @class
|
|
548
|
+
*/
|
|
549
|
+
class CreateDBSBackupResponse extends AbstractModel {
|
|
550
|
+
constructor(){
|
|
551
|
+
super();
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* <p>Backup set ID.</p>.
|
|
555
|
+
* @type {number || null}
|
|
556
|
+
*/
|
|
557
|
+
this.BackupSetId = null;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* <P>Whether it is successful</p>.
|
|
561
|
+
* @type {boolean || null}
|
|
562
|
+
*/
|
|
563
|
+
this.IsSuccess = null;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* 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.
|
|
567
|
+
* @type {string || null}
|
|
568
|
+
*/
|
|
569
|
+
this.RequestId = null;
|
|
570
|
+
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* @private
|
|
575
|
+
*/
|
|
576
|
+
deserialize(params) {
|
|
577
|
+
if (!params) {
|
|
578
|
+
return;
|
|
579
|
+
}
|
|
580
|
+
this.BackupSetId = 'BackupSetId' in params ? params.BackupSetId : null;
|
|
581
|
+
this.IsSuccess = 'IsSuccess' in params ? params.IsSuccess : null;
|
|
582
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
583
|
+
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* CreateDBSBackup request structure.
|
|
589
|
+
* @class
|
|
590
|
+
*/
|
|
591
|
+
class CreateDBSBackupRequest extends AbstractModel {
|
|
592
|
+
constructor(){
|
|
593
|
+
super();
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* <p>Backup method: physical, snapshot. this value should be consistent with the backupMethod in the api response of DescribeDBSBackupPolicy.</p>enumeration value:<ul><li> physical: physical backup</li><li> snapshot: snapshot backup</li></ul>
|
|
597
|
+
* @type {string || null}
|
|
598
|
+
*/
|
|
599
|
+
this.BackupMethod = null;
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* <P>Backup type: currently, only supports full.</p>
|
|
603
|
+
* @type {string || null}
|
|
604
|
+
*/
|
|
605
|
+
this.BackupType = null;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* <p>Instance ID.</p>
|
|
609
|
+
* @type {string || null}
|
|
610
|
+
*/
|
|
611
|
+
this.InstanceId = null;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* <P>Backup notes.</p>
|
|
615
|
+
* @type {string || null}
|
|
616
|
+
*/
|
|
617
|
+
this.BackupName = null;
|
|
618
|
+
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* @private
|
|
623
|
+
*/
|
|
624
|
+
deserialize(params) {
|
|
625
|
+
if (!params) {
|
|
626
|
+
return;
|
|
627
|
+
}
|
|
628
|
+
this.BackupMethod = 'BackupMethod' in params ? params.BackupMethod : null;
|
|
629
|
+
this.BackupType = 'BackupType' in params ? params.BackupType : null;
|
|
630
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
631
|
+
this.BackupName = 'BackupName' in params ? params.BackupName : null;
|
|
632
|
+
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* DescribeBillingEnable response structure.
|
|
638
|
+
* @class
|
|
639
|
+
*/
|
|
640
|
+
class DescribeBillingEnableResponse extends AbstractModel {
|
|
641
|
+
constructor(){
|
|
642
|
+
super();
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* 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.
|
|
646
|
+
* @type {string || null}
|
|
647
|
+
*/
|
|
648
|
+
this.RequestId = null;
|
|
649
|
+
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* @private
|
|
654
|
+
*/
|
|
655
|
+
deserialize(params) {
|
|
656
|
+
if (!params) {
|
|
657
|
+
return;
|
|
658
|
+
}
|
|
659
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
660
|
+
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* DestroyInstances request structure.
|
|
666
|
+
* @class
|
|
667
|
+
*/
|
|
668
|
+
class DestroyInstancesRequest extends AbstractModel {
|
|
669
|
+
constructor(){
|
|
670
|
+
super();
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* List of isolated instance ids required.
|
|
674
|
+
* @type {Array.<string> || null}
|
|
675
|
+
*/
|
|
676
|
+
this.InstanceIds = null;
|
|
677
|
+
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* @private
|
|
682
|
+
*/
|
|
683
|
+
deserialize(params) {
|
|
684
|
+
if (!params) {
|
|
685
|
+
return;
|
|
686
|
+
}
|
|
687
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
688
|
+
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* DescribeBillingEnable request structure.
|
|
694
|
+
* @class
|
|
695
|
+
*/
|
|
696
|
+
class DescribeBillingEnableRequest extends AbstractModel {
|
|
697
|
+
constructor(){
|
|
698
|
+
super();
|
|
699
|
+
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* @private
|
|
704
|
+
*/
|
|
705
|
+
deserialize(params) {
|
|
706
|
+
if (!params) {
|
|
707
|
+
return;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* DescribeDBSecurityGroups request structure.
|
|
715
|
+
* @class
|
|
716
|
+
*/
|
|
717
|
+
class DescribeDBSecurityGroupsRequest extends AbstractModel {
|
|
718
|
+
constructor(){
|
|
719
|
+
super();
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Instance ID.
|
|
723
|
+
* @type {string || null}
|
|
724
|
+
*/
|
|
725
|
+
this.InstanceId = null;
|
|
726
|
+
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* @private
|
|
731
|
+
*/
|
|
732
|
+
deserialize(params) {
|
|
733
|
+
if (!params) {
|
|
734
|
+
return;
|
|
735
|
+
}
|
|
736
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
737
|
+
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* Database column information.
|
|
743
|
+
* @class
|
|
744
|
+
*/
|
|
745
|
+
class TableColumn extends AbstractModel {
|
|
746
|
+
constructor(){
|
|
747
|
+
super();
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Column name.
|
|
751
|
+
* @type {string || null}
|
|
752
|
+
*/
|
|
753
|
+
this.Col = null;
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Column type
|
|
757
|
+
* @type {string || null}
|
|
758
|
+
*/
|
|
759
|
+
this.Type = null;
|
|
760
|
+
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* @private
|
|
765
|
+
*/
|
|
766
|
+
deserialize(params) {
|
|
767
|
+
if (!params) {
|
|
768
|
+
return;
|
|
769
|
+
}
|
|
770
|
+
this.Col = 'Col' in params ? params.Col : null;
|
|
771
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
772
|
+
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* ModifyDBParameters response structure.
|
|
778
|
+
* @class
|
|
779
|
+
*/
|
|
780
|
+
class ModifyDBParametersResponse extends AbstractModel {
|
|
781
|
+
constructor(){
|
|
782
|
+
super();
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Task id.
|
|
786
|
+
* @type {number || null}
|
|
787
|
+
*/
|
|
788
|
+
this.TaskID = null;
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* 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.
|
|
792
|
+
* @type {string || null}
|
|
793
|
+
*/
|
|
794
|
+
this.RequestId = null;
|
|
795
|
+
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* @private
|
|
800
|
+
*/
|
|
801
|
+
deserialize(params) {
|
|
802
|
+
if (!params) {
|
|
803
|
+
return;
|
|
804
|
+
}
|
|
805
|
+
this.TaskID = 'TaskID' in params ? params.TaskID : null;
|
|
806
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
807
|
+
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* ModifyInstanceName request structure.
|
|
813
|
+
* @class
|
|
814
|
+
*/
|
|
815
|
+
class ModifyInstanceNameRequest extends AbstractModel {
|
|
816
|
+
constructor(){
|
|
817
|
+
super();
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Instance id that needs to be modified.
|
|
821
|
+
* @type {string || null}
|
|
822
|
+
*/
|
|
823
|
+
this.InstanceId = null;
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Modified instance name. required length: 1-60. can contain chinese, english uppercase and lowercase letters, digits, -, _.
|
|
827
|
+
* @type {string || null}
|
|
828
|
+
*/
|
|
829
|
+
this.InstanceName = null;
|
|
830
|
+
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* @private
|
|
835
|
+
*/
|
|
836
|
+
deserialize(params) {
|
|
837
|
+
if (!params) {
|
|
838
|
+
return;
|
|
839
|
+
}
|
|
840
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
841
|
+
this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
|
|
842
|
+
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* DB parameter description.
|
|
848
|
+
* @class
|
|
849
|
+
*/
|
|
850
|
+
class ParamDesc extends AbstractModel {
|
|
851
|
+
constructor(){
|
|
852
|
+
super();
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* Parameter name.
|
|
856
|
+
* @type {string || null}
|
|
857
|
+
*/
|
|
858
|
+
this.Param = null;
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* Current parameter value.
|
|
862
|
+
* @type {string || null}
|
|
863
|
+
*/
|
|
864
|
+
this.Value = null;
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* The configured value is the same as the value once the parameter takes effect.
|
|
868
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
869
|
+
* @type {string || null}
|
|
870
|
+
*/
|
|
871
|
+
this.SetValue = null;
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* System default value.
|
|
875
|
+
* @type {string || null}
|
|
876
|
+
*/
|
|
877
|
+
this.Default = null;
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* Parameter limits.
|
|
881
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
882
|
+
* @type {ParamConstraint || null}
|
|
883
|
+
*/
|
|
884
|
+
this.Constraint = null;
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Whether a value has been set. false: not set. true: has set.
|
|
888
|
+
* @type {boolean || null}
|
|
889
|
+
*/
|
|
890
|
+
this.HaveSetValue = null;
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* true: restart required.
|
|
894
|
+
* @type {boolean || null}
|
|
895
|
+
*/
|
|
896
|
+
this.NeedRestart = null;
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* Parameter description.
|
|
900
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
901
|
+
* @type {string || null}
|
|
902
|
+
*/
|
|
903
|
+
this.Description = null;
|
|
904
|
+
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* @private
|
|
909
|
+
*/
|
|
910
|
+
deserialize(params) {
|
|
911
|
+
if (!params) {
|
|
912
|
+
return;
|
|
913
|
+
}
|
|
914
|
+
this.Param = 'Param' in params ? params.Param : null;
|
|
915
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
916
|
+
this.SetValue = 'SetValue' in params ? params.SetValue : null;
|
|
917
|
+
this.Default = 'Default' in params ? params.Default : null;
|
|
918
|
+
|
|
919
|
+
if (params.Constraint) {
|
|
920
|
+
let obj = new ParamConstraint();
|
|
921
|
+
obj.deserialize(params.Constraint)
|
|
922
|
+
this.Constraint = obj;
|
|
923
|
+
}
|
|
924
|
+
this.HaveSetValue = 'HaveSetValue' in params ? params.HaveSetValue : null;
|
|
925
|
+
this.NeedRestart = 'NeedRestart' in params ? params.NeedRestart : null;
|
|
926
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
927
|
+
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* ModifyAutoRenewFlag request structure.
|
|
933
|
+
* @class
|
|
934
|
+
*/
|
|
935
|
+
class ModifyAutoRenewFlagRequest extends AbstractModel {
|
|
936
|
+
constructor(){
|
|
937
|
+
super();
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* Instance list that needs to be modified.
|
|
941
|
+
* @type {Array.<string> || null}
|
|
942
|
+
*/
|
|
943
|
+
this.InstanceIds = null;
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* 1 indicates enable automatic renewal, 0 indicates disable automatic renewal.
|
|
947
|
+
* @type {number || null}
|
|
948
|
+
*/
|
|
949
|
+
this.AutoRenewFlag = null;
|
|
950
|
+
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* @private
|
|
955
|
+
*/
|
|
956
|
+
deserialize(params) {
|
|
957
|
+
if (!params) {
|
|
958
|
+
return;
|
|
959
|
+
}
|
|
960
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
961
|
+
this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
|
|
962
|
+
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* ModifyDBSBackupPolicy response structure.
|
|
968
|
+
* @class
|
|
969
|
+
*/
|
|
970
|
+
class ModifyDBSBackupPolicyResponse extends AbstractModel {
|
|
971
|
+
constructor(){
|
|
972
|
+
super();
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* Success status.
|
|
976
|
+
* @type {boolean || null}
|
|
977
|
+
*/
|
|
978
|
+
this.IsSuccess = null;
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Message.
|
|
982
|
+
* @type {string || null}
|
|
983
|
+
*/
|
|
984
|
+
this.Msg = null;
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* 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.
|
|
988
|
+
* @type {string || null}
|
|
989
|
+
*/
|
|
990
|
+
this.RequestId = null;
|
|
991
|
+
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* @private
|
|
996
|
+
*/
|
|
997
|
+
deserialize(params) {
|
|
998
|
+
if (!params) {
|
|
999
|
+
return;
|
|
1000
|
+
}
|
|
1001
|
+
this.IsSuccess = 'IsSuccess' in params ? params.IsSuccess : null;
|
|
1002
|
+
this.Msg = 'Msg' in params ? params.Msg : null;
|
|
1003
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1004
|
+
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* DescribeDBSCloneInstances response structure.
|
|
1010
|
+
* @class
|
|
1011
|
+
*/
|
|
1012
|
+
class DescribeDBSCloneInstancesResponse extends AbstractModel {
|
|
1013
|
+
constructor(){
|
|
1014
|
+
super();
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* <P>Clone list</p>.
|
|
1018
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1019
|
+
* @type {Array.<CloneInstanceModel> || null}
|
|
1020
|
+
*/
|
|
1021
|
+
this.Items = null;
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* <p>Total</p>
|
|
1025
|
+
* @type {number || null}
|
|
1026
|
+
*/
|
|
1027
|
+
this.TotalCount = null;
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* 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.
|
|
1031
|
+
* @type {string || null}
|
|
1032
|
+
*/
|
|
1033
|
+
this.RequestId = null;
|
|
1034
|
+
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* @private
|
|
1039
|
+
*/
|
|
1040
|
+
deserialize(params) {
|
|
1041
|
+
if (!params) {
|
|
1042
|
+
return;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
if (params.Items) {
|
|
1046
|
+
this.Items = new Array();
|
|
1047
|
+
for (let z in params.Items) {
|
|
1048
|
+
let obj = new CloneInstanceModel();
|
|
1049
|
+
obj.deserialize(params.Items[z]);
|
|
1050
|
+
this.Items.push(obj);
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1053
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1054
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1055
|
+
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* DescribeDBSecurityGroups response structure.
|
|
1061
|
+
* @class
|
|
1062
|
+
*/
|
|
1063
|
+
class DescribeDBSecurityGroupsResponse extends AbstractModel {
|
|
1064
|
+
constructor(){
|
|
1065
|
+
super();
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* Security group description.
|
|
1069
|
+
* @type {Array.<SecurityGroup> || null}
|
|
1070
|
+
*/
|
|
1071
|
+
this.Groups = null;
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* Instance VIP.
|
|
1075
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1076
|
+
* @type {string || null}
|
|
1077
|
+
*/
|
|
1078
|
+
this.VIP = null;
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Instance port.
|
|
1082
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1083
|
+
* @type {string || null}
|
|
1084
|
+
*/
|
|
1085
|
+
this.VPort = null;
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* 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.
|
|
1089
|
+
* @type {string || null}
|
|
1090
|
+
*/
|
|
1091
|
+
this.RequestId = null;
|
|
1092
|
+
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* @private
|
|
1097
|
+
*/
|
|
1098
|
+
deserialize(params) {
|
|
1099
|
+
if (!params) {
|
|
1100
|
+
return;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
if (params.Groups) {
|
|
1104
|
+
this.Groups = new Array();
|
|
1105
|
+
for (let z in params.Groups) {
|
|
1106
|
+
let obj = new SecurityGroup();
|
|
1107
|
+
obj.deserialize(params.Groups[z]);
|
|
1108
|
+
this.Groups.push(obj);
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
this.VIP = 'VIP' in params ? params.VIP : null;
|
|
1112
|
+
this.VPort = 'VPort' in params ? params.VPort : null;
|
|
1113
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1114
|
+
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* Modify backup policy object.
|
|
1120
|
+
* @class
|
|
1121
|
+
*/
|
|
1122
|
+
class BackupPolicyModelInput extends AbstractModel {
|
|
1123
|
+
constructor(){
|
|
1124
|
+
super();
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* <P>Backup end time.</p>.
|
|
1128
|
+
* @type {string || null}
|
|
1129
|
+
*/
|
|
1130
|
+
this.BackupEndTime = null;
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* <P>Backup method: physical physical backup, snapshot snapshot backup</p>.
|
|
1134
|
+
* @type {string || null}
|
|
1135
|
+
*/
|
|
1136
|
+
this.BackupMethod = null;
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* <P>Backup start time</p>.
|
|
1140
|
+
* @type {string || null}
|
|
1141
|
+
*/
|
|
1142
|
+
this.BackupStartTime = null;
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* <P>Whether full backup is enabled</p>.
|
|
1146
|
+
* @type {number || null}
|
|
1147
|
+
*/
|
|
1148
|
+
this.EnableFull = null;
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* <P>Whether to enable log backup</p>.
|
|
1152
|
+
* @type {number || null}
|
|
1153
|
+
*/
|
|
1154
|
+
this.EnableLog = null;
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* <P>Full backup retention time can currently only be set to 7 days.</p>.
|
|
1158
|
+
* @type {number || null}
|
|
1159
|
+
*/
|
|
1160
|
+
this.FullRetentionPeriod = null;
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* <p>Instance ID.</p>.
|
|
1164
|
+
* @type {string || null}
|
|
1165
|
+
*/
|
|
1166
|
+
this.InstanceId = null;
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* <P>Log retention days. currently, can only set retention to 7 days.</p>.
|
|
1170
|
+
* @type {number || null}
|
|
1171
|
+
*/
|
|
1172
|
+
this.LogRetentionPeriod = null;
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* <P>Days of the week to perform backup.</p>.
|
|
1176
|
+
* @type {string || null}
|
|
1177
|
+
*/
|
|
1178
|
+
this.PeriodTime = null;
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* <p>Storage type: COS, SNAPSHOT</p>valid values: <ul><li> COS: COS storage</li><li> SNAPSHOT: cloud disk SNAPSHOT</li></ul>.
|
|
1182
|
+
* @type {string || null}
|
|
1183
|
+
*/
|
|
1184
|
+
this.StorageType = null;
|
|
1185
|
+
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* @private
|
|
1190
|
+
*/
|
|
1191
|
+
deserialize(params) {
|
|
1192
|
+
if (!params) {
|
|
1193
|
+
return;
|
|
1194
|
+
}
|
|
1195
|
+
this.BackupEndTime = 'BackupEndTime' in params ? params.BackupEndTime : null;
|
|
1196
|
+
this.BackupMethod = 'BackupMethod' in params ? params.BackupMethod : null;
|
|
1197
|
+
this.BackupStartTime = 'BackupStartTime' in params ? params.BackupStartTime : null;
|
|
1198
|
+
this.EnableFull = 'EnableFull' in params ? params.EnableFull : null;
|
|
1199
|
+
this.EnableLog = 'EnableLog' in params ? params.EnableLog : null;
|
|
1200
|
+
this.FullRetentionPeriod = 'FullRetentionPeriod' in params ? params.FullRetentionPeriod : null;
|
|
1201
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1202
|
+
this.LogRetentionPeriod = 'LogRetentionPeriod' in params ? params.LogRetentionPeriod : null;
|
|
1203
|
+
this.PeriodTime = 'PeriodTime' in params ? params.PeriodTime : null;
|
|
1204
|
+
this.StorageType = 'StorageType' in params ? params.StorageType : null;
|
|
1205
|
+
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* Database function information.
|
|
1211
|
+
* @class
|
|
1212
|
+
*/
|
|
1213
|
+
class DatabaseFunction extends AbstractModel {
|
|
1214
|
+
constructor(){
|
|
1215
|
+
super();
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* Function name.
|
|
1219
|
+
* @type {string || null}
|
|
1220
|
+
*/
|
|
1221
|
+
this.Func = null;
|
|
1222
|
+
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* @private
|
|
1227
|
+
*/
|
|
1228
|
+
deserialize(params) {
|
|
1229
|
+
if (!params) {
|
|
1230
|
+
return;
|
|
1231
|
+
}
|
|
1232
|
+
this.Func = 'Func' in params ? params.Func : null;
|
|
1233
|
+
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* ModifyDBSBackupPolicy request structure.
|
|
1239
|
+
* @class
|
|
1240
|
+
*/
|
|
1241
|
+
class ModifyDBSBackupPolicyRequest extends AbstractModel {
|
|
1242
|
+
constructor(){
|
|
1243
|
+
super();
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* Backup policy.
|
|
1247
|
+
* @type {BackupPolicyModelInput || null}
|
|
1248
|
+
*/
|
|
1249
|
+
this.BackupPolicy = null;
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* Instance ID.
|
|
1253
|
+
* @type {string || null}
|
|
1254
|
+
*/
|
|
1255
|
+
this.InstanceId = null;
|
|
1256
|
+
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* @private
|
|
1261
|
+
*/
|
|
1262
|
+
deserialize(params) {
|
|
1263
|
+
if (!params) {
|
|
1264
|
+
return;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
if (params.BackupPolicy) {
|
|
1268
|
+
let obj = new BackupPolicyModelInput();
|
|
1269
|
+
obj.deserialize(params.BackupPolicy)
|
|
1270
|
+
this.BackupPolicy = obj;
|
|
1271
|
+
}
|
|
1272
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1273
|
+
|
|
1274
|
+
}
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* DescribeDBSCloneInstances request structure.
|
|
1279
|
+
* @class
|
|
1280
|
+
*/
|
|
1281
|
+
class DescribeDBSCloneInstancesRequest extends AbstractModel {
|
|
1282
|
+
constructor(){
|
|
1283
|
+
super();
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* <p>Source instance ID.</p>
|
|
1287
|
+
* @type {string || null}
|
|
1288
|
+
*/
|
|
1289
|
+
this.SourceInstanceId = null;
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* <P>Engine type</p>
|
|
1293
|
+
* @type {string || null}
|
|
1294
|
+
*/
|
|
1295
|
+
this.DBType = null;
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* <P>Creation end time</p>
|
|
1299
|
+
* @type {string || null}
|
|
1300
|
+
*/
|
|
1301
|
+
this.EndCreateTime = null;
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* <p>Clone kind: PITR time point BackupSet backup set</p>
|
|
1305
|
+
* @type {string || null}
|
|
1306
|
+
*/
|
|
1307
|
+
this.FilterCloneType = null;
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* <P>Query count [0,200]</p>
|
|
1311
|
+
* @type {number || null}
|
|
1312
|
+
*/
|
|
1313
|
+
this.Limit = null;
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* <p>Query offset [0,INF]</p>
|
|
1317
|
+
* @type {number || null}
|
|
1318
|
+
*/
|
|
1319
|
+
this.Offset = null;
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
* <p>Sorting field: CloneTime, CreateTime</p>
|
|
1323
|
+
* @type {string || null}
|
|
1324
|
+
*/
|
|
1325
|
+
this.OrderBy = null;
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* <p>Sorting type: ASC, DESC</p>
|
|
1329
|
+
* @type {string || null}
|
|
1330
|
+
*/
|
|
1331
|
+
this.OrderType = null;
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* <P>Creation start time</p>
|
|
1335
|
+
* @type {string || null}
|
|
1336
|
+
*/
|
|
1337
|
+
this.StartCreateTime = null;
|
|
1338
|
+
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* @private
|
|
1343
|
+
*/
|
|
1344
|
+
deserialize(params) {
|
|
1345
|
+
if (!params) {
|
|
1346
|
+
return;
|
|
1347
|
+
}
|
|
1348
|
+
this.SourceInstanceId = 'SourceInstanceId' in params ? params.SourceInstanceId : null;
|
|
1349
|
+
this.DBType = 'DBType' in params ? params.DBType : null;
|
|
1350
|
+
this.EndCreateTime = 'EndCreateTime' in params ? params.EndCreateTime : null;
|
|
1351
|
+
this.FilterCloneType = 'FilterCloneType' in params ? params.FilterCloneType : null;
|
|
1352
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1353
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1354
|
+
this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
|
|
1355
|
+
this.OrderType = 'OrderType' in params ? params.OrderType : null;
|
|
1356
|
+
this.StartCreateTime = 'StartCreateTime' in params ? params.StartCreateTime : null;
|
|
1357
|
+
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* DescribeDatabaseObjects request structure.
|
|
1363
|
+
* @class
|
|
1364
|
+
*/
|
|
1365
|
+
class DescribeDatabaseObjectsRequest extends AbstractModel {
|
|
1366
|
+
constructor(){
|
|
1367
|
+
super();
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* Instance ID, for example: tdsql3-42f40429.
|
|
1371
|
+
* @type {string || null}
|
|
1372
|
+
*/
|
|
1373
|
+
this.InstanceId = null;
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* Database name, obtained via the DescribeDatabases api.
|
|
1377
|
+
* @type {string || null}
|
|
1378
|
+
*/
|
|
1379
|
+
this.DbName = null;
|
|
1380
|
+
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* @private
|
|
1385
|
+
*/
|
|
1386
|
+
deserialize(params) {
|
|
1387
|
+
if (!params) {
|
|
1388
|
+
return;
|
|
1389
|
+
}
|
|
1390
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1391
|
+
this.DbName = 'DbName' in params ? params.DbName : null;
|
|
1392
|
+
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* DescribeDBSAvailableRecoveryTime response structure.
|
|
1398
|
+
* @class
|
|
1399
|
+
*/
|
|
1400
|
+
class DescribeDBSAvailableRecoveryTimeResponse extends AbstractModel {
|
|
1401
|
+
constructor(){
|
|
1402
|
+
super();
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* <P>End time</p>
|
|
1406
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1407
|
+
* @type {string || null}
|
|
1408
|
+
*/
|
|
1409
|
+
this.EndTime = null;
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* <P>Recoverable time interval.</p>
|
|
1413
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1414
|
+
* @type {Array.<ArchiveLogInterval> || null}
|
|
1415
|
+
*/
|
|
1416
|
+
this.Intervals = null;
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
* <P>Start time</p>
|
|
1420
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1421
|
+
* @type {string || null}
|
|
1422
|
+
*/
|
|
1423
|
+
this.StartTime = null;
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* 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.
|
|
1427
|
+
* @type {string || null}
|
|
1428
|
+
*/
|
|
1429
|
+
this.RequestId = null;
|
|
1430
|
+
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* @private
|
|
1435
|
+
*/
|
|
1436
|
+
deserialize(params) {
|
|
1437
|
+
if (!params) {
|
|
1438
|
+
return;
|
|
1439
|
+
}
|
|
1440
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1441
|
+
|
|
1442
|
+
if (params.Intervals) {
|
|
1443
|
+
this.Intervals = new Array();
|
|
1444
|
+
for (let z in params.Intervals) {
|
|
1445
|
+
let obj = new ArchiveLogInterval();
|
|
1446
|
+
obj.deserialize(params.Intervals[z]);
|
|
1447
|
+
this.Intervals.push(obj);
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1451
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1452
|
+
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* ModifyAutoRenewFlag response structure.
|
|
1458
|
+
* @class
|
|
1459
|
+
*/
|
|
1460
|
+
class ModifyAutoRenewFlagResponse extends AbstractModel {
|
|
1461
|
+
constructor(){
|
|
1462
|
+
super();
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* 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.
|
|
1466
|
+
* @type {string || null}
|
|
1467
|
+
*/
|
|
1468
|
+
this.RequestId = null;
|
|
1469
|
+
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* @private
|
|
1474
|
+
*/
|
|
1475
|
+
deserialize(params) {
|
|
1476
|
+
if (!params) {
|
|
1477
|
+
return;
|
|
1478
|
+
}
|
|
1479
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1480
|
+
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* DestroyInstances response structure.
|
|
1486
|
+
* @class
|
|
1487
|
+
*/
|
|
1488
|
+
class DestroyInstancesResponse extends AbstractModel {
|
|
1489
|
+
constructor(){
|
|
1490
|
+
super();
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* List of successfully isolated instance ids.
|
|
1494
|
+
* @type {Array.<string> || null}
|
|
1495
|
+
*/
|
|
1496
|
+
this.SuccessInstanceIds = null;
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* Isolation removal failed instance Id list.
|
|
1500
|
+
* @type {Array.<string> || null}
|
|
1501
|
+
*/
|
|
1502
|
+
this.FailedInstanceIds = null;
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* 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.
|
|
1506
|
+
* @type {string || null}
|
|
1507
|
+
*/
|
|
1508
|
+
this.RequestId = null;
|
|
1509
|
+
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* @private
|
|
1514
|
+
*/
|
|
1515
|
+
deserialize(params) {
|
|
1516
|
+
if (!params) {
|
|
1517
|
+
return;
|
|
1518
|
+
}
|
|
1519
|
+
this.SuccessInstanceIds = 'SuccessInstanceIds' in params ? params.SuccessInstanceIds : null;
|
|
1520
|
+
this.FailedInstanceIds = 'FailedInstanceIds' in params ? params.FailedInstanceIds : null;
|
|
1521
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1522
|
+
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
* DescribeDBParameters response structure.
|
|
1528
|
+
* @class
|
|
1529
|
+
*/
|
|
1530
|
+
class DescribeDBParametersResponse extends AbstractModel {
|
|
1531
|
+
constructor(){
|
|
1532
|
+
super();
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* Instance ID, for example: tdsql3-ow728lmc.
|
|
1536
|
+
* @type {string || null}
|
|
1537
|
+
*/
|
|
1538
|
+
this.InstanceId = null;
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* Request the current parameter value of the instance.
|
|
1542
|
+
* @type {Array.<ParamDesc> || null}
|
|
1543
|
+
*/
|
|
1544
|
+
this.Params = null;
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* 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.
|
|
1548
|
+
* @type {string || null}
|
|
1549
|
+
*/
|
|
1550
|
+
this.RequestId = null;
|
|
1551
|
+
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* @private
|
|
1556
|
+
*/
|
|
1557
|
+
deserialize(params) {
|
|
1558
|
+
if (!params) {
|
|
1559
|
+
return;
|
|
1560
|
+
}
|
|
1561
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1562
|
+
|
|
1563
|
+
if (params.Params) {
|
|
1564
|
+
this.Params = new Array();
|
|
1565
|
+
for (let z in params.Params) {
|
|
1566
|
+
let obj = new ParamDesc();
|
|
1567
|
+
obj.deserialize(params.Params[z]);
|
|
1568
|
+
this.Params.push(obj);
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1572
|
+
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* Security group details.
|
|
1578
|
+
* @class
|
|
1579
|
+
*/
|
|
1580
|
+
class SecurityGroup extends AbstractModel {
|
|
1581
|
+
constructor(){
|
|
1582
|
+
super();
|
|
1583
|
+
|
|
1584
|
+
/**
|
|
1585
|
+
* Project ID.
|
|
1586
|
+
* @type {number || null}
|
|
1587
|
+
*/
|
|
1588
|
+
this.ProjectId = null;
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* CreationTime, time format: yyyy-mm-dd hh:mm:ss.
|
|
1592
|
+
* @type {string || null}
|
|
1593
|
+
*/
|
|
1594
|
+
this.CreateTime = null;
|
|
1595
|
+
|
|
1596
|
+
/**
|
|
1597
|
+
* Security group ID.
|
|
1598
|
+
* @type {string || null}
|
|
1599
|
+
*/
|
|
1600
|
+
this.SecurityGroupId = null;
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* Security group name.
|
|
1604
|
+
* @type {string || null}
|
|
1605
|
+
*/
|
|
1606
|
+
this.SecurityGroupName = null;
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* Security group remarks
|
|
1610
|
+
* @type {string || null}
|
|
1611
|
+
*/
|
|
1612
|
+
this.SecurityGroupRemark = null;
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* Inbound rule.
|
|
1616
|
+
* @type {Array.<SecurityGroupBound> || null}
|
|
1617
|
+
*/
|
|
1618
|
+
this.Inbound = null;
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* Outbound rule.
|
|
1622
|
+
* @type {Array.<SecurityGroupBound> || null}
|
|
1623
|
+
*/
|
|
1624
|
+
this.Outbound = null;
|
|
1625
|
+
|
|
1626
|
+
}
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* @private
|
|
1630
|
+
*/
|
|
1631
|
+
deserialize(params) {
|
|
1632
|
+
if (!params) {
|
|
1633
|
+
return;
|
|
1634
|
+
}
|
|
1635
|
+
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
|
|
1636
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
1637
|
+
this.SecurityGroupId = 'SecurityGroupId' in params ? params.SecurityGroupId : null;
|
|
1638
|
+
this.SecurityGroupName = 'SecurityGroupName' in params ? params.SecurityGroupName : null;
|
|
1639
|
+
this.SecurityGroupRemark = 'SecurityGroupRemark' in params ? params.SecurityGroupRemark : null;
|
|
1640
|
+
|
|
1641
|
+
if (params.Inbound) {
|
|
1642
|
+
this.Inbound = new Array();
|
|
1643
|
+
for (let z in params.Inbound) {
|
|
1644
|
+
let obj = new SecurityGroupBound();
|
|
1645
|
+
obj.deserialize(params.Inbound[z]);
|
|
1646
|
+
this.Inbound.push(obj);
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
if (params.Outbound) {
|
|
1651
|
+
this.Outbound = new Array();
|
|
1652
|
+
for (let z in params.Outbound) {
|
|
1653
|
+
let obj = new SecurityGroupBound();
|
|
1654
|
+
obj.deserialize(params.Outbound[z]);
|
|
1655
|
+
this.Outbound.push(obj);
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
/**
|
|
1663
|
+
* IsolateDBInstance response structure.
|
|
1664
|
+
* @class
|
|
1665
|
+
*/
|
|
1666
|
+
class IsolateDBInstanceResponse extends AbstractModel {
|
|
1667
|
+
constructor(){
|
|
1668
|
+
super();
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* Isolation successful instance Id list.
|
|
1672
|
+
* @type {Array.<string> || null}
|
|
1673
|
+
*/
|
|
1674
|
+
this.SuccessInstanceIds = null;
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* Isolation failed instance Id list.
|
|
1678
|
+
* @type {Array.<string> || null}
|
|
1679
|
+
*/
|
|
1680
|
+
this.FailedInstanceIds = null;
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* 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.
|
|
1684
|
+
* @type {string || null}
|
|
1685
|
+
*/
|
|
1686
|
+
this.RequestId = null;
|
|
1687
|
+
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* @private
|
|
1692
|
+
*/
|
|
1693
|
+
deserialize(params) {
|
|
1694
|
+
if (!params) {
|
|
1695
|
+
return;
|
|
1696
|
+
}
|
|
1697
|
+
this.SuccessInstanceIds = 'SuccessInstanceIds' in params ? params.SuccessInstanceIds : null;
|
|
1698
|
+
this.FailedInstanceIds = 'FailedInstanceIds' in params ? params.FailedInstanceIds : null;
|
|
1699
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1700
|
+
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* DescribeDBSAvailableRecoveryTime request structure.
|
|
1706
|
+
* @class
|
|
1707
|
+
*/
|
|
1708
|
+
class DescribeDBSAvailableRecoveryTimeRequest extends AbstractModel {
|
|
1709
|
+
constructor(){
|
|
1710
|
+
super();
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* <p>db instance ID.</p>
|
|
1714
|
+
* @type {string || null}
|
|
1715
|
+
*/
|
|
1716
|
+
this.InstanceId = null;
|
|
1717
|
+
|
|
1718
|
+
/**
|
|
1719
|
+
* <p>Backup set ID. the value comes from the DescribeDBSBackupSets api response.</p>
|
|
1720
|
+
* @type {number || null}
|
|
1721
|
+
*/
|
|
1722
|
+
this.BackupSetId = null;
|
|
1723
|
+
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* @private
|
|
1728
|
+
*/
|
|
1729
|
+
deserialize(params) {
|
|
1730
|
+
if (!params) {
|
|
1731
|
+
return;
|
|
1732
|
+
}
|
|
1733
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1734
|
+
this.BackupSetId = 'BackupSetId' in params ? params.BackupSetId : null;
|
|
1735
|
+
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* Database table information.
|
|
1741
|
+
* @class
|
|
1742
|
+
*/
|
|
1743
|
+
class DatabaseTable extends AbstractModel {
|
|
1744
|
+
constructor(){
|
|
1745
|
+
super();
|
|
1746
|
+
|
|
1747
|
+
/**
|
|
1748
|
+
* Table name
|
|
1749
|
+
* @type {string || null}
|
|
1750
|
+
*/
|
|
1751
|
+
this.Table = null;
|
|
1752
|
+
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* @private
|
|
1757
|
+
*/
|
|
1758
|
+
deserialize(params) {
|
|
1759
|
+
if (!params) {
|
|
1760
|
+
return;
|
|
1761
|
+
}
|
|
1762
|
+
this.Table = 'Table' in params ? params.Table : null;
|
|
1763
|
+
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* DeleteDBSBackupSets response structure.
|
|
1769
|
+
* @class
|
|
1770
|
+
*/
|
|
1771
|
+
class DeleteDBSBackupSetsResponse extends AbstractModel {
|
|
1772
|
+
constructor(){
|
|
1773
|
+
super();
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* <P>Number of backups deleted this time.</p>
|
|
1777
|
+
* @type {number || null}
|
|
1778
|
+
*/
|
|
1779
|
+
this.Deleted = null;
|
|
1780
|
+
|
|
1781
|
+
/**
|
|
1782
|
+
* <P>Whether all are deleted successfully.</p>
|
|
1783
|
+
* @type {boolean || null}
|
|
1784
|
+
*/
|
|
1785
|
+
this.IsSuccess = null;
|
|
1786
|
+
|
|
1787
|
+
/**
|
|
1788
|
+
* <P>Total number of backups to be deleted.</p>
|
|
1789
|
+
* @type {number || null}
|
|
1790
|
+
*/
|
|
1791
|
+
this.Total = null;
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* 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.
|
|
1795
|
+
* @type {string || null}
|
|
1796
|
+
*/
|
|
1797
|
+
this.RequestId = null;
|
|
1798
|
+
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
/**
|
|
1802
|
+
* @private
|
|
1803
|
+
*/
|
|
1804
|
+
deserialize(params) {
|
|
1805
|
+
if (!params) {
|
|
1806
|
+
return;
|
|
1807
|
+
}
|
|
1808
|
+
this.Deleted = 'Deleted' in params ? params.Deleted : null;
|
|
1809
|
+
this.IsSuccess = 'IsSuccess' in params ? params.IsSuccess : null;
|
|
1810
|
+
this.Total = 'Total' in params ? params.Total : null;
|
|
1811
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1812
|
+
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* DescribeFlow response structure.
|
|
1818
|
+
* @class
|
|
1819
|
+
*/
|
|
1820
|
+
class DescribeFlowResponse extends AbstractModel {
|
|
1821
|
+
constructor(){
|
|
1822
|
+
super();
|
|
1823
|
+
|
|
1824
|
+
/**
|
|
1825
|
+
* 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.
|
|
1826
|
+
* @type {string || null}
|
|
1827
|
+
*/
|
|
1828
|
+
this.RequestId = null;
|
|
1829
|
+
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* @private
|
|
1834
|
+
*/
|
|
1835
|
+
deserialize(params) {
|
|
1836
|
+
if (!params) {
|
|
1837
|
+
return;
|
|
1838
|
+
}
|
|
1839
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1840
|
+
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* Value range of the constraint type.
|
|
1846
|
+
* @class
|
|
1847
|
+
*/
|
|
1848
|
+
class ConstraintRange extends AbstractModel {
|
|
1849
|
+
constructor(){
|
|
1850
|
+
super();
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* Minimum value when the constraint type is section.
|
|
1854
|
+
* @type {string || null}
|
|
1855
|
+
*/
|
|
1856
|
+
this.Min = null;
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* Specifies the maximum value when the constraint type is section.
|
|
1860
|
+
* @type {string || null}
|
|
1861
|
+
*/
|
|
1862
|
+
this.Max = null;
|
|
1863
|
+
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
/**
|
|
1867
|
+
* @private
|
|
1868
|
+
*/
|
|
1869
|
+
deserialize(params) {
|
|
1870
|
+
if (!params) {
|
|
1871
|
+
return;
|
|
1872
|
+
}
|
|
1873
|
+
this.Min = 'Min' in params ? params.Min : null;
|
|
1874
|
+
this.Max = 'Max' in params ? params.Max : null;
|
|
1875
|
+
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* CancelIsolateDBInstances response structure.
|
|
1881
|
+
* @class
|
|
1882
|
+
*/
|
|
1883
|
+
class CancelIsolateDBInstancesResponse extends AbstractModel {
|
|
1884
|
+
constructor(){
|
|
1885
|
+
super();
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* List of successfully isolated instance ids.
|
|
1889
|
+
* @type {Array.<string> || null}
|
|
1890
|
+
*/
|
|
1891
|
+
this.SuccessInstanceIds = null;
|
|
1892
|
+
|
|
1893
|
+
/**
|
|
1894
|
+
* Isolation removal failed instance Id list.
|
|
1895
|
+
* @type {Array.<string> || null}
|
|
1896
|
+
*/
|
|
1897
|
+
this.FailedInstanceIds = null;
|
|
1898
|
+
|
|
1899
|
+
/**
|
|
1900
|
+
* 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.
|
|
1901
|
+
* @type {string || null}
|
|
1902
|
+
*/
|
|
1903
|
+
this.RequestId = null;
|
|
1904
|
+
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
/**
|
|
1908
|
+
* @private
|
|
1909
|
+
*/
|
|
1910
|
+
deserialize(params) {
|
|
1911
|
+
if (!params) {
|
|
1912
|
+
return;
|
|
1913
|
+
}
|
|
1914
|
+
this.SuccessInstanceIds = 'SuccessInstanceIds' in params ? params.SuccessInstanceIds : null;
|
|
1915
|
+
this.FailedInstanceIds = 'FailedInstanceIds' in params ? params.FailedInstanceIds : null;
|
|
1916
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1917
|
+
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
/**
|
|
1922
|
+
* Database view information.
|
|
1923
|
+
* @class
|
|
1924
|
+
*/
|
|
1925
|
+
class DatabaseView extends AbstractModel {
|
|
1926
|
+
constructor(){
|
|
1927
|
+
super();
|
|
1928
|
+
|
|
1929
|
+
/**
|
|
1930
|
+
* View name.
|
|
1931
|
+
* @type {string || null}
|
|
1932
|
+
*/
|
|
1933
|
+
this.View = null;
|
|
1934
|
+
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* @private
|
|
1939
|
+
*/
|
|
1940
|
+
deserialize(params) {
|
|
1941
|
+
if (!params) {
|
|
1942
|
+
return;
|
|
1943
|
+
}
|
|
1944
|
+
this.View = 'View' in params ? params.View : null;
|
|
1945
|
+
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* CancelIsolateDBInstances request structure.
|
|
1951
|
+
* @class
|
|
1952
|
+
*/
|
|
1953
|
+
class CancelIsolateDBInstancesRequest extends AbstractModel {
|
|
1954
|
+
constructor(){
|
|
1955
|
+
super();
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* List of isolated instance ids required.
|
|
1959
|
+
* @type {Array.<string> || null}
|
|
1960
|
+
*/
|
|
1961
|
+
this.InstanceIds = null;
|
|
1962
|
+
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* @private
|
|
1967
|
+
*/
|
|
1968
|
+
deserialize(params) {
|
|
1969
|
+
if (!params) {
|
|
1970
|
+
return;
|
|
1971
|
+
}
|
|
1972
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
1973
|
+
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
/**
|
|
1978
|
+
* ModifyDBSBackupSetComment request structure.
|
|
1979
|
+
* @class
|
|
1980
|
+
*/
|
|
1981
|
+
class ModifyDBSBackupSetCommentRequest extends AbstractModel {
|
|
1982
|
+
constructor(){
|
|
1983
|
+
super();
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* <p>Instance ID.</p>
|
|
1987
|
+
* @type {string || null}
|
|
1988
|
+
*/
|
|
1989
|
+
this.InstanceId = null;
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* <p>Backup set ID. the value comes from the DescribeDBSBackupSets api response.</p>
|
|
1993
|
+
* @type {number || null}
|
|
1994
|
+
*/
|
|
1995
|
+
this.BackupSetId = null;
|
|
1996
|
+
|
|
1997
|
+
/**
|
|
1998
|
+
* <P>Backup notes.</p>
|
|
1999
|
+
* @type {string || null}
|
|
2000
|
+
*/
|
|
2001
|
+
this.NewBackupName = null;
|
|
2002
|
+
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* @private
|
|
2007
|
+
*/
|
|
2008
|
+
deserialize(params) {
|
|
2009
|
+
if (!params) {
|
|
2010
|
+
return;
|
|
2011
|
+
}
|
|
2012
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2013
|
+
this.BackupSetId = 'BackupSetId' in params ? params.BackupSetId : null;
|
|
2014
|
+
this.NewBackupName = 'NewBackupName' in params ? params.NewBackupName : null;
|
|
2015
|
+
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* Database stored procedure information.
|
|
2021
|
+
* @class
|
|
2022
|
+
*/
|
|
2023
|
+
class DatabaseProcedure extends AbstractModel {
|
|
2024
|
+
constructor(){
|
|
2025
|
+
super();
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* Stored procedure name.
|
|
2029
|
+
* @type {string || null}
|
|
2030
|
+
*/
|
|
2031
|
+
this.Proc = null;
|
|
2032
|
+
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* @private
|
|
2037
|
+
*/
|
|
2038
|
+
deserialize(params) {
|
|
2039
|
+
if (!params) {
|
|
2040
|
+
return;
|
|
2041
|
+
}
|
|
2042
|
+
this.Proc = 'Proc' in params ? params.Proc : null;
|
|
2043
|
+
|
|
2044
|
+
}
|
|
2045
|
+
}
|
|
2046
|
+
|
|
2047
|
+
/**
|
|
2048
|
+
* Cloud database parameter information.
|
|
2049
|
+
* @class
|
|
2050
|
+
*/
|
|
2051
|
+
class DBParamValue extends AbstractModel {
|
|
2052
|
+
constructor(){
|
|
2053
|
+
super();
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* Parameter name.
|
|
2057
|
+
* @type {string || null}
|
|
2058
|
+
*/
|
|
2059
|
+
this.Param = null;
|
|
2060
|
+
|
|
2061
|
+
/**
|
|
2062
|
+
* Parameter value.
|
|
2063
|
+
* @type {string || null}
|
|
2064
|
+
*/
|
|
2065
|
+
this.Value = null;
|
|
2066
|
+
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* @private
|
|
2071
|
+
*/
|
|
2072
|
+
deserialize(params) {
|
|
2073
|
+
if (!params) {
|
|
2074
|
+
return;
|
|
2075
|
+
}
|
|
2076
|
+
this.Param = 'Param' in params ? params.Param : null;
|
|
2077
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
2078
|
+
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
/**
|
|
2083
|
+
* Parameter constraints.
|
|
2084
|
+
* @class
|
|
2085
|
+
*/
|
|
2086
|
+
class ParamConstraint extends AbstractModel {
|
|
2087
|
+
constructor(){
|
|
2088
|
+
super();
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* Constraint type, for example enumeration, interval.
|
|
2092
|
+
* @type {string || null}
|
|
2093
|
+
*/
|
|
2094
|
+
this.Type = null;
|
|
2095
|
+
|
|
2096
|
+
/**
|
|
2097
|
+
* Lists the available options when the constraint type is enum.
|
|
2098
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2099
|
+
* @type {string || null}
|
|
2100
|
+
*/
|
|
2101
|
+
this.Enum = null;
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* Value range when the constraint type is section.
|
|
2105
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2106
|
+
* @type {ConstraintRange || null}
|
|
2107
|
+
*/
|
|
2108
|
+
this.Range = null;
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* Valid values when the constraint type is string.
|
|
2112
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2113
|
+
* @type {string || null}
|
|
2114
|
+
*/
|
|
2115
|
+
this.String = null;
|
|
2116
|
+
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* @private
|
|
2121
|
+
*/
|
|
2122
|
+
deserialize(params) {
|
|
2123
|
+
if (!params) {
|
|
2124
|
+
return;
|
|
2125
|
+
}
|
|
2126
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
2127
|
+
this.Enum = 'Enum' in params ? params.Enum : null;
|
|
2128
|
+
|
|
2129
|
+
if (params.Range) {
|
|
2130
|
+
let obj = new ConstraintRange();
|
|
2131
|
+
obj.deserialize(params.Range)
|
|
2132
|
+
this.Range = obj;
|
|
2133
|
+
}
|
|
2134
|
+
this.String = 'String' in params ? params.String : null;
|
|
2135
|
+
|
|
2136
|
+
}
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
/**
|
|
2140
|
+
* ModifyBinlogStatus request structure.
|
|
2141
|
+
* @class
|
|
2142
|
+
*/
|
|
2143
|
+
class ModifyBinlogStatusRequest extends AbstractModel {
|
|
2144
|
+
constructor(){
|
|
2145
|
+
super();
|
|
2146
|
+
|
|
2147
|
+
/**
|
|
2148
|
+
* Instance ID.
|
|
2149
|
+
* @type {string || null}
|
|
2150
|
+
*/
|
|
2151
|
+
this.InstanceId = null;
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* 1 on 0 off.
|
|
2155
|
+
* @type {number || null}
|
|
2156
|
+
*/
|
|
2157
|
+
this.Status = null;
|
|
2158
|
+
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
/**
|
|
2162
|
+
* @private
|
|
2163
|
+
*/
|
|
2164
|
+
deserialize(params) {
|
|
2165
|
+
if (!params) {
|
|
2166
|
+
return;
|
|
2167
|
+
}
|
|
2168
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2169
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2170
|
+
|
|
2171
|
+
}
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
/**
|
|
2175
|
+
* ModifyDBParameters request structure.
|
|
2176
|
+
* @class
|
|
2177
|
+
*/
|
|
2178
|
+
class ModifyDBParametersRequest extends AbstractModel {
|
|
2179
|
+
constructor(){
|
|
2180
|
+
super();
|
|
2181
|
+
|
|
2182
|
+
/**
|
|
2183
|
+
* Instance ID, for example: tdsql3-ow728lmc.
|
|
2184
|
+
* @type {string || null}
|
|
2185
|
+
*/
|
|
2186
|
+
this.InstanceId = null;
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* Parameter list, each element is a combination of Param and Value.
|
|
2190
|
+
* @type {Array.<DBParamValue> || null}
|
|
2191
|
+
*/
|
|
2192
|
+
this.Params = null;
|
|
2193
|
+
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* @private
|
|
2198
|
+
*/
|
|
2199
|
+
deserialize(params) {
|
|
2200
|
+
if (!params) {
|
|
2201
|
+
return;
|
|
2202
|
+
}
|
|
2203
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2204
|
+
|
|
2205
|
+
if (params.Params) {
|
|
2206
|
+
this.Params = new Array();
|
|
2207
|
+
for (let z in params.Params) {
|
|
2208
|
+
let obj = new DBParamValue();
|
|
2209
|
+
obj.deserialize(params.Params[z]);
|
|
2210
|
+
this.Params.push(obj);
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* ModifyDBInstanceSecurityGroups request structure.
|
|
2219
|
+
* @class
|
|
2220
|
+
*/
|
|
2221
|
+
class ModifyDBInstanceSecurityGroupsRequest extends AbstractModel {
|
|
2222
|
+
constructor(){
|
|
2223
|
+
super();
|
|
2224
|
+
|
|
2225
|
+
/**
|
|
2226
|
+
* Instance id.
|
|
2227
|
+
* @type {string || null}
|
|
2228
|
+
*/
|
|
2229
|
+
this.InstanceId = null;
|
|
2230
|
+
|
|
2231
|
+
/**
|
|
2232
|
+
* Security group ID list to modify. an array of one or more security group ids.
|
|
2233
|
+
* @type {Array.<string> || null}
|
|
2234
|
+
*/
|
|
2235
|
+
this.SecurityGroupIds = null;
|
|
2236
|
+
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
/**
|
|
2240
|
+
* @private
|
|
2241
|
+
*/
|
|
2242
|
+
deserialize(params) {
|
|
2243
|
+
if (!params) {
|
|
2244
|
+
return;
|
|
2245
|
+
}
|
|
2246
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2247
|
+
this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
|
|
2248
|
+
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
/**
|
|
2253
|
+
* DeleteDBSBackupSets request structure.
|
|
2254
|
+
* @class
|
|
2255
|
+
*/
|
|
2256
|
+
class DeleteDBSBackupSetsRequest extends AbstractModel {
|
|
2257
|
+
constructor(){
|
|
2258
|
+
super();
|
|
2259
|
+
|
|
2260
|
+
/**
|
|
2261
|
+
* <p>Instance ID.</p>
|
|
2262
|
+
* @type {string || null}
|
|
2263
|
+
*/
|
|
2264
|
+
this.InstanceId = null;
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* <p>Backup set list. the value comes from the DescribeDBSBackupSets api response.</p>
|
|
2268
|
+
* @type {Array.<number> || null}
|
|
2269
|
+
*/
|
|
2270
|
+
this.BackupSetIdList = null;
|
|
2271
|
+
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
* @private
|
|
2276
|
+
*/
|
|
2277
|
+
deserialize(params) {
|
|
2278
|
+
if (!params) {
|
|
2279
|
+
return;
|
|
2280
|
+
}
|
|
2281
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
2282
|
+
this.BackupSetIdList = 'BackupSetIdList' in params ? params.BackupSetIdList : null;
|
|
2283
|
+
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
/**
|
|
2288
|
+
* Clone instance object.
|
|
2289
|
+
* @class
|
|
2290
|
+
*/
|
|
2291
|
+
class CloneInstanceModel extends AbstractModel {
|
|
2292
|
+
constructor(){
|
|
2293
|
+
super();
|
|
2294
|
+
|
|
2295
|
+
/**
|
|
2296
|
+
* Clone task end time.
|
|
2297
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2298
|
+
* @type {string || null}
|
|
2299
|
+
*/
|
|
2300
|
+
this.CloneEndTime = null;
|
|
2301
|
+
|
|
2302
|
+
/**
|
|
2303
|
+
* Clone record ID.
|
|
2304
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2305
|
+
* @type {number || null}
|
|
2306
|
+
*/
|
|
2307
|
+
this.CloneId = null;
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* Clone instance type.
|
|
2311
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2312
|
+
* @type {string || null}
|
|
2313
|
+
*/
|
|
2314
|
+
this.CloneInsType = null;
|
|
2315
|
+
|
|
2316
|
+
/**
|
|
2317
|
+
* Clone instance ID.
|
|
2318
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2319
|
+
* @type {string || null}
|
|
2320
|
+
*/
|
|
2321
|
+
this.CloneInstanceId = null;
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* Whether the clone instance is deleted.
|
|
2325
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2326
|
+
* @type {boolean || null}
|
|
2327
|
+
*/
|
|
2328
|
+
this.CloneInstanceIsDeleted = null;
|
|
2329
|
+
|
|
2330
|
+
/**
|
|
2331
|
+
* Task progress of clone.
|
|
2332
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2333
|
+
* @type {number || null}
|
|
2334
|
+
*/
|
|
2335
|
+
this.CloneProgress = null;
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* Task start time of the clone.
|
|
2339
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2340
|
+
* @type {string || null}
|
|
2341
|
+
*/
|
|
2342
|
+
this.CloneStartTime = null;
|
|
2343
|
+
|
|
2344
|
+
/**
|
|
2345
|
+
* Task status.
|
|
2346
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2347
|
+
* @type {string || null}
|
|
2348
|
+
*/
|
|
2349
|
+
this.CloneStatus = null;
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* Clone time.
|
|
2353
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2354
|
+
* @type {string || null}
|
|
2355
|
+
*/
|
|
2356
|
+
this.CloneTime = null;
|
|
2357
|
+
|
|
2358
|
+
/**
|
|
2359
|
+
* Clone type.
|
|
2360
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2361
|
+
* @type {string || null}
|
|
2362
|
+
*/
|
|
2363
|
+
this.CloneType = null;
|
|
2364
|
+
|
|
2365
|
+
/**
|
|
2366
|
+
* Creation time.
|
|
2367
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2368
|
+
* @type {string || null}
|
|
2369
|
+
*/
|
|
2370
|
+
this.CreateTime = null;
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
* Engine type.
|
|
2374
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2375
|
+
* @type {string || null}
|
|
2376
|
+
*/
|
|
2377
|
+
this.DBType = null;
|
|
2378
|
+
|
|
2379
|
+
/**
|
|
2380
|
+
* Region.
|
|
2381
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2382
|
+
* @type {string || null}
|
|
2383
|
+
*/
|
|
2384
|
+
this.Region = null;
|
|
2385
|
+
|
|
2386
|
+
/**
|
|
2387
|
+
* Source instance ID.
|
|
2388
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2389
|
+
* @type {string || null}
|
|
2390
|
+
*/
|
|
2391
|
+
this.SourceInstanceId = null;
|
|
2392
|
+
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
/**
|
|
2396
|
+
* @private
|
|
2397
|
+
*/
|
|
2398
|
+
deserialize(params) {
|
|
2399
|
+
if (!params) {
|
|
2400
|
+
return;
|
|
2401
|
+
}
|
|
2402
|
+
this.CloneEndTime = 'CloneEndTime' in params ? params.CloneEndTime : null;
|
|
2403
|
+
this.CloneId = 'CloneId' in params ? params.CloneId : null;
|
|
2404
|
+
this.CloneInsType = 'CloneInsType' in params ? params.CloneInsType : null;
|
|
2405
|
+
this.CloneInstanceId = 'CloneInstanceId' in params ? params.CloneInstanceId : null;
|
|
2406
|
+
this.CloneInstanceIsDeleted = 'CloneInstanceIsDeleted' in params ? params.CloneInstanceIsDeleted : null;
|
|
2407
|
+
this.CloneProgress = 'CloneProgress' in params ? params.CloneProgress : null;
|
|
2408
|
+
this.CloneStartTime = 'CloneStartTime' in params ? params.CloneStartTime : null;
|
|
2409
|
+
this.CloneStatus = 'CloneStatus' in params ? params.CloneStatus : null;
|
|
2410
|
+
this.CloneTime = 'CloneTime' in params ? params.CloneTime : null;
|
|
2411
|
+
this.CloneType = 'CloneType' in params ? params.CloneType : null;
|
|
2412
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
2413
|
+
this.DBType = 'DBType' in params ? params.DBType : null;
|
|
2414
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
2415
|
+
this.SourceInstanceId = 'SourceInstanceId' in params ? params.SourceInstanceId : null;
|
|
2416
|
+
|
|
2417
|
+
}
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
module.exports = {
|
|
2421
|
+
ArchiveLogInterval: ArchiveLogInterval,
|
|
2422
|
+
IsolateDBInstanceRequest: IsolateDBInstanceRequest,
|
|
2423
|
+
ModifyBinlogStatusResponse: ModifyBinlogStatusResponse,
|
|
2424
|
+
DescribeFlowRequest: DescribeFlowRequest,
|
|
2425
|
+
ModifyDBSBackupSetCommentResponse: ModifyDBSBackupSetCommentResponse,
|
|
2426
|
+
ModifyInstanceNameResponse: ModifyInstanceNameResponse,
|
|
2427
|
+
DescribeDatabaseTableRequest: DescribeDatabaseTableRequest,
|
|
2428
|
+
ModifyDBInstanceSecurityGroupsResponse: ModifyDBInstanceSecurityGroupsResponse,
|
|
2429
|
+
DescribeDBParametersRequest: DescribeDBParametersRequest,
|
|
2430
|
+
DescribeDatabaseTableResponse: DescribeDatabaseTableResponse,
|
|
2431
|
+
DescribeDatabaseObjectsResponse: DescribeDatabaseObjectsResponse,
|
|
2432
|
+
SecurityGroupBound: SecurityGroupBound,
|
|
2433
|
+
CreateDBSBackupResponse: CreateDBSBackupResponse,
|
|
2434
|
+
CreateDBSBackupRequest: CreateDBSBackupRequest,
|
|
2435
|
+
DescribeBillingEnableResponse: DescribeBillingEnableResponse,
|
|
2436
|
+
DestroyInstancesRequest: DestroyInstancesRequest,
|
|
2437
|
+
DescribeBillingEnableRequest: DescribeBillingEnableRequest,
|
|
2438
|
+
DescribeDBSecurityGroupsRequest: DescribeDBSecurityGroupsRequest,
|
|
2439
|
+
TableColumn: TableColumn,
|
|
2440
|
+
ModifyDBParametersResponse: ModifyDBParametersResponse,
|
|
2441
|
+
ModifyInstanceNameRequest: ModifyInstanceNameRequest,
|
|
2442
|
+
ParamDesc: ParamDesc,
|
|
2443
|
+
ModifyAutoRenewFlagRequest: ModifyAutoRenewFlagRequest,
|
|
2444
|
+
ModifyDBSBackupPolicyResponse: ModifyDBSBackupPolicyResponse,
|
|
2445
|
+
DescribeDBSCloneInstancesResponse: DescribeDBSCloneInstancesResponse,
|
|
2446
|
+
DescribeDBSecurityGroupsResponse: DescribeDBSecurityGroupsResponse,
|
|
2447
|
+
BackupPolicyModelInput: BackupPolicyModelInput,
|
|
2448
|
+
DatabaseFunction: DatabaseFunction,
|
|
2449
|
+
ModifyDBSBackupPolicyRequest: ModifyDBSBackupPolicyRequest,
|
|
2450
|
+
DescribeDBSCloneInstancesRequest: DescribeDBSCloneInstancesRequest,
|
|
2451
|
+
DescribeDatabaseObjectsRequest: DescribeDatabaseObjectsRequest,
|
|
2452
|
+
DescribeDBSAvailableRecoveryTimeResponse: DescribeDBSAvailableRecoveryTimeResponse,
|
|
2453
|
+
ModifyAutoRenewFlagResponse: ModifyAutoRenewFlagResponse,
|
|
2454
|
+
DestroyInstancesResponse: DestroyInstancesResponse,
|
|
2455
|
+
DescribeDBParametersResponse: DescribeDBParametersResponse,
|
|
2456
|
+
SecurityGroup: SecurityGroup,
|
|
2457
|
+
IsolateDBInstanceResponse: IsolateDBInstanceResponse,
|
|
2458
|
+
DescribeDBSAvailableRecoveryTimeRequest: DescribeDBSAvailableRecoveryTimeRequest,
|
|
2459
|
+
DatabaseTable: DatabaseTable,
|
|
2460
|
+
DeleteDBSBackupSetsResponse: DeleteDBSBackupSetsResponse,
|
|
2461
|
+
DescribeFlowResponse: DescribeFlowResponse,
|
|
2462
|
+
ConstraintRange: ConstraintRange,
|
|
2463
|
+
CancelIsolateDBInstancesResponse: CancelIsolateDBInstancesResponse,
|
|
2464
|
+
DatabaseView: DatabaseView,
|
|
2465
|
+
CancelIsolateDBInstancesRequest: CancelIsolateDBInstancesRequest,
|
|
2466
|
+
ModifyDBSBackupSetCommentRequest: ModifyDBSBackupSetCommentRequest,
|
|
2467
|
+
DatabaseProcedure: DatabaseProcedure,
|
|
2468
|
+
DBParamValue: DBParamValue,
|
|
2469
|
+
ParamConstraint: ParamConstraint,
|
|
2470
|
+
ModifyBinlogStatusRequest: ModifyBinlogStatusRequest,
|
|
2471
|
+
ModifyDBParametersRequest: ModifyDBParametersRequest,
|
|
2472
|
+
ModifyDBInstanceSecurityGroupsRequest: ModifyDBInstanceSecurityGroupsRequest,
|
|
2473
|
+
DeleteDBSBackupSetsRequest: DeleteDBSBackupSetsRequest,
|
|
2474
|
+
CloneInstanceModel: CloneInstanceModel,
|
|
2475
|
+
|
|
2476
|
+
}
|