tencentcloud-sdk-nodejs-intl-en 3.0.430 → 3.0.433
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/as/v20180419/as_client.js +16 -105
- package/tencentcloud/as/v20180419/models.js +286 -1412
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +15 -2
- package/tencentcloud/dcdb/v20180411/models.js +109 -37
- package/tencentcloud/dts/v20180330/dts_client.js +4 -1
- package/tencentcloud/dts/v20180330/models.js +120 -0
- package/tencentcloud/mdc/v20200828/mdc_client.js +152 -20
- package/tencentcloud/mdc/v20200828/models.js +3180 -716
- package/tencentcloud/mps/v20190612/models.js +9 -2
- package/tencentcloud/postgres/v20170312/models.js +291 -147
- package/tencentcloud/postgres/v20170312/postgres_client.js +18 -4
- package/tencentcloud/redis/v20180412/models.js +602 -129
- package/tencentcloud/redis/v20180412/redis_client.js +65 -10
- package/tencentcloud/trtc/v20190722/models.js +644 -2567
- package/tencentcloud/trtc/v20190722/trtc_client.js +64 -300
|
@@ -17,42 +17,24 @@
|
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* ChangeReplicaToMaster request structure.
|
|
21
21
|
* @class
|
|
22
22
|
*/
|
|
23
|
-
class
|
|
23
|
+
class ChangeReplicaToMasterRequest extends AbstractModel {
|
|
24
24
|
constructor(){
|
|
25
25
|
super();
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string || null}
|
|
30
|
-
*/
|
|
31
|
-
this.RegionId = null;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Region name
|
|
35
|
-
* @type {string || null}
|
|
36
|
-
*/
|
|
37
|
-
this.RegionName = null;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Region abbreviation
|
|
41
|
-
* @type {string || null}
|
|
42
|
-
*/
|
|
43
|
-
this.RegionShortName = null;
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Name of the area where a region is located
|
|
28
|
+
* Instance ID
|
|
47
29
|
* @type {string || null}
|
|
48
30
|
*/
|
|
49
|
-
this.
|
|
31
|
+
this.InstanceId = null;
|
|
50
32
|
|
|
51
33
|
/**
|
|
52
|
-
* AZ
|
|
53
|
-
* @type {
|
|
34
|
+
* Replica group ID, which is required for multi-AZ instances.
|
|
35
|
+
* @type {number || null}
|
|
54
36
|
*/
|
|
55
|
-
this.
|
|
37
|
+
this.GroupId = null;
|
|
56
38
|
|
|
57
39
|
}
|
|
58
40
|
|
|
@@ -63,72 +45,54 @@ class RegionConf extends AbstractModel {
|
|
|
63
45
|
if (!params) {
|
|
64
46
|
return;
|
|
65
47
|
}
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.RegionShortName = 'RegionShortName' in params ? params.RegionShortName : null;
|
|
69
|
-
this.Area = 'Area' in params ? params.Area : null;
|
|
70
|
-
|
|
71
|
-
if (params.ZoneSet) {
|
|
72
|
-
this.ZoneSet = new Array();
|
|
73
|
-
for (let z in params.ZoneSet) {
|
|
74
|
-
let obj = new ZoneCapacityConf();
|
|
75
|
-
obj.deserialize(params.ZoneSet[z]);
|
|
76
|
-
this.ZoneSet.push(obj);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
48
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
49
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
79
50
|
|
|
80
51
|
}
|
|
81
52
|
}
|
|
82
53
|
|
|
83
54
|
/**
|
|
84
|
-
*
|
|
55
|
+
* ReleaseWanAddress request structure.
|
|
85
56
|
* @class
|
|
86
57
|
*/
|
|
87
|
-
class
|
|
58
|
+
class ReleaseWanAddressRequest extends AbstractModel {
|
|
88
59
|
constructor(){
|
|
89
60
|
super();
|
|
90
61
|
|
|
91
62
|
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {string || null}
|
|
94
|
-
*/
|
|
95
|
-
this.ZoneId = null;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* AZ name
|
|
63
|
+
* Instance ID.
|
|
99
64
|
* @type {string || null}
|
|
100
65
|
*/
|
|
101
|
-
this.
|
|
66
|
+
this.InstanceId = null;
|
|
102
67
|
|
|
103
|
-
|
|
104
|
-
* Whether a product is sold out in an AZ
|
|
105
|
-
* @type {boolean || null}
|
|
106
|
-
*/
|
|
107
|
-
this.IsSaleout = null;
|
|
68
|
+
}
|
|
108
69
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
70
|
+
/**
|
|
71
|
+
* @private
|
|
72
|
+
*/
|
|
73
|
+
deserialize(params) {
|
|
74
|
+
if (!params) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
114
78
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
* @type {Array.<string> || null}
|
|
118
|
-
*/
|
|
119
|
-
this.NetWorkType = null;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
120
81
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
82
|
+
/**
|
|
83
|
+
* Proxy node information
|
|
84
|
+
* @class
|
|
85
|
+
*/
|
|
86
|
+
class ProxyNodes extends AbstractModel {
|
|
87
|
+
constructor(){
|
|
88
|
+
super();
|
|
126
89
|
|
|
127
90
|
/**
|
|
128
|
-
*
|
|
129
|
-
|
|
91
|
+
* Node ID
|
|
92
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
93
|
+
* @type {string || null}
|
|
130
94
|
*/
|
|
131
|
-
this.
|
|
95
|
+
this.NodeId = null;
|
|
132
96
|
|
|
133
97
|
}
|
|
134
98
|
|
|
@@ -139,21 +103,7 @@ class ZoneCapacityConf extends AbstractModel {
|
|
|
139
103
|
if (!params) {
|
|
140
104
|
return;
|
|
141
105
|
}
|
|
142
|
-
this.
|
|
143
|
-
this.ZoneName = 'ZoneName' in params ? params.ZoneName : null;
|
|
144
|
-
this.IsSaleout = 'IsSaleout' in params ? params.IsSaleout : null;
|
|
145
|
-
this.IsDefault = 'IsDefault' in params ? params.IsDefault : null;
|
|
146
|
-
this.NetWorkType = 'NetWorkType' in params ? params.NetWorkType : null;
|
|
147
|
-
|
|
148
|
-
if (params.ProductSet) {
|
|
149
|
-
this.ProductSet = new Array();
|
|
150
|
-
for (let z in params.ProductSet) {
|
|
151
|
-
let obj = new ProductConf();
|
|
152
|
-
obj.deserialize(params.ProductSet[z]);
|
|
153
|
-
this.ProductSet.push(obj);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
this.OldZoneId = 'OldZoneId' in params ? params.OldZoneId : null;
|
|
106
|
+
this.NodeId = 'NodeId' in params ? params.NodeId : null;
|
|
157
107
|
|
|
158
108
|
}
|
|
159
109
|
}
|
|
@@ -357,16 +307,16 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
357
307
|
}
|
|
358
308
|
|
|
359
309
|
/**
|
|
360
|
-
*
|
|
310
|
+
* DescribeInstanceMonitorBigKeySizeDist response structure.
|
|
361
311
|
* @class
|
|
362
312
|
*/
|
|
363
|
-
class
|
|
313
|
+
class DescribeInstanceMonitorBigKeySizeDistResponse extends AbstractModel {
|
|
364
314
|
constructor(){
|
|
365
315
|
super();
|
|
366
316
|
|
|
367
317
|
/**
|
|
368
|
-
*
|
|
369
|
-
* @type {Array.<
|
|
318
|
+
* Big key size distribution details
|
|
319
|
+
* @type {Array.<DelayDistribution> || null}
|
|
370
320
|
*/
|
|
371
321
|
this.Data = null;
|
|
372
322
|
|
|
@@ -389,7 +339,7 @@ class DescribeInstanceMonitorTopNCmdResponse extends AbstractModel {
|
|
|
389
339
|
if (params.Data) {
|
|
390
340
|
this.Data = new Array();
|
|
391
341
|
for (let z in params.Data) {
|
|
392
|
-
let obj = new
|
|
342
|
+
let obj = new DelayDistribution();
|
|
393
343
|
obj.deserialize(params.Data[z]);
|
|
394
344
|
this.Data.push(obj);
|
|
395
345
|
}
|
|
@@ -476,6 +426,34 @@ class DescribeInstanceMonitorHotKeyRequest extends AbstractModel {
|
|
|
476
426
|
}
|
|
477
427
|
}
|
|
478
428
|
|
|
429
|
+
/**
|
|
430
|
+
* AllocateWanAddress request structure.
|
|
431
|
+
* @class
|
|
432
|
+
*/
|
|
433
|
+
class AllocateWanAddressRequest extends AbstractModel {
|
|
434
|
+
constructor(){
|
|
435
|
+
super();
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* Instance ID.
|
|
439
|
+
* @type {string || null}
|
|
440
|
+
*/
|
|
441
|
+
this.InstanceId = null;
|
|
442
|
+
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* @private
|
|
447
|
+
*/
|
|
448
|
+
deserialize(params) {
|
|
449
|
+
if (!params) {
|
|
450
|
+
return;
|
|
451
|
+
}
|
|
452
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
453
|
+
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
479
457
|
/**
|
|
480
458
|
* DescribeInstanceMonitorBigKeyTypeDist request structure.
|
|
481
459
|
* @class
|
|
@@ -688,6 +666,48 @@ class DescribeMaintenanceWindowResponse extends AbstractModel {
|
|
|
688
666
|
}
|
|
689
667
|
}
|
|
690
668
|
|
|
669
|
+
/**
|
|
670
|
+
* ReleaseWanAddress response structure.
|
|
671
|
+
* @class
|
|
672
|
+
*/
|
|
673
|
+
class ReleaseWanAddressResponse extends AbstractModel {
|
|
674
|
+
constructor(){
|
|
675
|
+
super();
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Async task ID
|
|
679
|
+
* @type {number || null}
|
|
680
|
+
*/
|
|
681
|
+
this.FlowId = null;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Status of disabling public network access
|
|
685
|
+
* @type {string || null}
|
|
686
|
+
*/
|
|
687
|
+
this.WanStatus = null;
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
691
|
+
* @type {string || null}
|
|
692
|
+
*/
|
|
693
|
+
this.RequestId = null;
|
|
694
|
+
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* @private
|
|
699
|
+
*/
|
|
700
|
+
deserialize(params) {
|
|
701
|
+
if (!params) {
|
|
702
|
+
return;
|
|
703
|
+
}
|
|
704
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
705
|
+
this.WanStatus = 'WanStatus' in params ? params.WanStatus : null;
|
|
706
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
707
|
+
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
691
711
|
/**
|
|
692
712
|
* Product information
|
|
693
713
|
* @class
|
|
@@ -849,6 +869,48 @@ class BigKeyTypeInfo extends AbstractModel {
|
|
|
849
869
|
}
|
|
850
870
|
}
|
|
851
871
|
|
|
872
|
+
/**
|
|
873
|
+
* DescribeInstanceNodeInfo request structure.
|
|
874
|
+
* @class
|
|
875
|
+
*/
|
|
876
|
+
class DescribeInstanceNodeInfoRequest extends AbstractModel {
|
|
877
|
+
constructor(){
|
|
878
|
+
super();
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* Instance ID
|
|
882
|
+
* @type {string || null}
|
|
883
|
+
*/
|
|
884
|
+
this.InstanceId = null;
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* List size
|
|
888
|
+
* @type {number || null}
|
|
889
|
+
*/
|
|
890
|
+
this.Limit = null;
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* The offset value
|
|
894
|
+
* @type {number || null}
|
|
895
|
+
*/
|
|
896
|
+
this.Offset = null;
|
|
897
|
+
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* @private
|
|
902
|
+
*/
|
|
903
|
+
deserialize(params) {
|
|
904
|
+
if (!params) {
|
|
905
|
+
return;
|
|
906
|
+
}
|
|
907
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
908
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
909
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
910
|
+
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
|
|
852
914
|
/**
|
|
853
915
|
* DescribeMaintenanceWindow request structure.
|
|
854
916
|
* @class
|
|
@@ -991,6 +1053,55 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
991
1053
|
}
|
|
992
1054
|
}
|
|
993
1055
|
|
|
1056
|
+
/**
|
|
1057
|
+
* Redis node information
|
|
1058
|
+
* @class
|
|
1059
|
+
*/
|
|
1060
|
+
class RedisNodes extends AbstractModel {
|
|
1061
|
+
constructor(){
|
|
1062
|
+
super();
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Node ID
|
|
1066
|
+
* @type {string || null}
|
|
1067
|
+
*/
|
|
1068
|
+
this.NodeId = null;
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Node role
|
|
1072
|
+
* @type {string || null}
|
|
1073
|
+
*/
|
|
1074
|
+
this.NodeRole = null;
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* Shard ID
|
|
1078
|
+
* @type {number || null}
|
|
1079
|
+
*/
|
|
1080
|
+
this.ClusterId = null;
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* AZ ID
|
|
1084
|
+
* @type {number || null}
|
|
1085
|
+
*/
|
|
1086
|
+
this.ZoneId = null;
|
|
1087
|
+
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* @private
|
|
1092
|
+
*/
|
|
1093
|
+
deserialize(params) {
|
|
1094
|
+
if (!params) {
|
|
1095
|
+
return;
|
|
1096
|
+
}
|
|
1097
|
+
this.NodeId = 'NodeId' in params ? params.NodeId : null;
|
|
1098
|
+
this.NodeRole = 'NodeRole' in params ? params.NodeRole : null;
|
|
1099
|
+
this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
|
|
1100
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
1101
|
+
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
|
|
994
1105
|
/**
|
|
995
1106
|
* InquiryPriceUpgradeInstance request structure.
|
|
996
1107
|
* @class
|
|
@@ -1315,37 +1426,157 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1315
1426
|
this.Accounts.push(obj);
|
|
1316
1427
|
}
|
|
1317
1428
|
}
|
|
1318
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1319
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1429
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1430
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1431
|
+
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* DescribeInstanceMonitorBigKey request structure.
|
|
1437
|
+
* @class
|
|
1438
|
+
*/
|
|
1439
|
+
class DescribeInstanceMonitorBigKeyRequest extends AbstractModel {
|
|
1440
|
+
constructor(){
|
|
1441
|
+
super();
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* Instance ID
|
|
1445
|
+
* @type {string || null}
|
|
1446
|
+
*/
|
|
1447
|
+
this.InstanceId = null;
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* Request type. 1: string type; 2: all types
|
|
1451
|
+
* @type {number || null}
|
|
1452
|
+
*/
|
|
1453
|
+
this.ReqType = null;
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* Time, such as "20190219"
|
|
1457
|
+
* @type {string || null}
|
|
1458
|
+
*/
|
|
1459
|
+
this.Date = null;
|
|
1460
|
+
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* @private
|
|
1465
|
+
*/
|
|
1466
|
+
deserialize(params) {
|
|
1467
|
+
if (!params) {
|
|
1468
|
+
return;
|
|
1469
|
+
}
|
|
1470
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1471
|
+
this.ReqType = 'ReqType' in params ? params.ReqType : null;
|
|
1472
|
+
this.Date = 'Date' in params ? params.Date : null;
|
|
1473
|
+
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* DescribeInstanceMonitorBigKeyTypeDist response structure.
|
|
1479
|
+
* @class
|
|
1480
|
+
*/
|
|
1481
|
+
class DescribeInstanceMonitorBigKeyTypeDistResponse extends AbstractModel {
|
|
1482
|
+
constructor(){
|
|
1483
|
+
super();
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* Big key type distribution details
|
|
1487
|
+
* @type {Array.<BigKeyTypeInfo> || null}
|
|
1488
|
+
*/
|
|
1489
|
+
this.Data = null;
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1493
|
+
* @type {string || null}
|
|
1494
|
+
*/
|
|
1495
|
+
this.RequestId = null;
|
|
1496
|
+
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* @private
|
|
1501
|
+
*/
|
|
1502
|
+
deserialize(params) {
|
|
1503
|
+
if (!params) {
|
|
1504
|
+
return;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
if (params.Data) {
|
|
1508
|
+
this.Data = new Array();
|
|
1509
|
+
for (let z in params.Data) {
|
|
1510
|
+
let obj = new BigKeyTypeInfo();
|
|
1511
|
+
obj.deserialize(params.Data[z]);
|
|
1512
|
+
this.Data.push(obj);
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1516
|
+
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* Tendis node information
|
|
1522
|
+
* @class
|
|
1523
|
+
*/
|
|
1524
|
+
class TendisNodes extends AbstractModel {
|
|
1525
|
+
constructor(){
|
|
1526
|
+
super();
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* Node ID
|
|
1530
|
+
* @type {string || null}
|
|
1531
|
+
*/
|
|
1532
|
+
this.NodeId = null;
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* Node role
|
|
1536
|
+
* @type {string || null}
|
|
1537
|
+
*/
|
|
1538
|
+
this.NodeRole = null;
|
|
1539
|
+
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* @private
|
|
1544
|
+
*/
|
|
1545
|
+
deserialize(params) {
|
|
1546
|
+
if (!params) {
|
|
1547
|
+
return;
|
|
1548
|
+
}
|
|
1549
|
+
this.NodeId = 'NodeId' in params ? params.NodeId : null;
|
|
1550
|
+
this.NodeRole = 'NodeRole' in params ? params.NodeRole : null;
|
|
1320
1551
|
|
|
1321
1552
|
}
|
|
1322
1553
|
}
|
|
1323
1554
|
|
|
1324
1555
|
/**
|
|
1325
|
-
*
|
|
1556
|
+
* AllocateWanAddress response structure.
|
|
1326
1557
|
* @class
|
|
1327
1558
|
*/
|
|
1328
|
-
class
|
|
1559
|
+
class AllocateWanAddressResponse extends AbstractModel {
|
|
1329
1560
|
constructor(){
|
|
1330
1561
|
super();
|
|
1331
1562
|
|
|
1332
1563
|
/**
|
|
1333
|
-
*
|
|
1334
|
-
* @type {
|
|
1564
|
+
* Async task ID
|
|
1565
|
+
* @type {number || null}
|
|
1335
1566
|
*/
|
|
1336
|
-
this.
|
|
1567
|
+
this.FlowId = null;
|
|
1337
1568
|
|
|
1338
1569
|
/**
|
|
1339
|
-
*
|
|
1340
|
-
* @type {
|
|
1570
|
+
* Status of enabling public network access
|
|
1571
|
+
* @type {string || null}
|
|
1341
1572
|
*/
|
|
1342
|
-
this.
|
|
1573
|
+
this.WanStatus = null;
|
|
1343
1574
|
|
|
1344
1575
|
/**
|
|
1345
|
-
*
|
|
1576
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1346
1577
|
* @type {string || null}
|
|
1347
1578
|
*/
|
|
1348
|
-
this.
|
|
1579
|
+
this.RequestId = null;
|
|
1349
1580
|
|
|
1350
1581
|
}
|
|
1351
1582
|
|
|
@@ -1356,32 +1587,50 @@ class DescribeInstanceMonitorBigKeyRequest extends AbstractModel {
|
|
|
1356
1587
|
if (!params) {
|
|
1357
1588
|
return;
|
|
1358
1589
|
}
|
|
1359
|
-
this.
|
|
1360
|
-
this.
|
|
1361
|
-
this.
|
|
1590
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
1591
|
+
this.WanStatus = 'WanStatus' in params ? params.WanStatus : null;
|
|
1592
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1362
1593
|
|
|
1363
1594
|
}
|
|
1364
1595
|
}
|
|
1365
1596
|
|
|
1366
1597
|
/**
|
|
1367
|
-
*
|
|
1598
|
+
* Region information
|
|
1368
1599
|
* @class
|
|
1369
1600
|
*/
|
|
1370
|
-
class
|
|
1601
|
+
class RegionConf extends AbstractModel {
|
|
1371
1602
|
constructor(){
|
|
1372
1603
|
super();
|
|
1373
1604
|
|
|
1374
1605
|
/**
|
|
1375
|
-
*
|
|
1376
|
-
* @type {
|
|
1606
|
+
* Region ID
|
|
1607
|
+
* @type {string || null}
|
|
1377
1608
|
*/
|
|
1378
|
-
this.
|
|
1609
|
+
this.RegionId = null;
|
|
1379
1610
|
|
|
1380
1611
|
/**
|
|
1381
|
-
*
|
|
1612
|
+
* Region name
|
|
1382
1613
|
* @type {string || null}
|
|
1383
1614
|
*/
|
|
1384
|
-
this.
|
|
1615
|
+
this.RegionName = null;
|
|
1616
|
+
|
|
1617
|
+
/**
|
|
1618
|
+
* Region abbreviation
|
|
1619
|
+
* @type {string || null}
|
|
1620
|
+
*/
|
|
1621
|
+
this.RegionShortName = null;
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* Name of the area where a region is located
|
|
1625
|
+
* @type {string || null}
|
|
1626
|
+
*/
|
|
1627
|
+
this.Area = null;
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* AZ information
|
|
1631
|
+
* @type {Array.<ZoneCapacityConf> || null}
|
|
1632
|
+
*/
|
|
1633
|
+
this.ZoneSet = null;
|
|
1385
1634
|
|
|
1386
1635
|
}
|
|
1387
1636
|
|
|
@@ -1392,16 +1641,19 @@ class DescribeInstanceMonitorBigKeyTypeDistResponse extends AbstractModel {
|
|
|
1392
1641
|
if (!params) {
|
|
1393
1642
|
return;
|
|
1394
1643
|
}
|
|
1644
|
+
this.RegionId = 'RegionId' in params ? params.RegionId : null;
|
|
1645
|
+
this.RegionName = 'RegionName' in params ? params.RegionName : null;
|
|
1646
|
+
this.RegionShortName = 'RegionShortName' in params ? params.RegionShortName : null;
|
|
1647
|
+
this.Area = 'Area' in params ? params.Area : null;
|
|
1395
1648
|
|
|
1396
|
-
if (params.
|
|
1397
|
-
this.
|
|
1398
|
-
for (let z in params.
|
|
1399
|
-
let obj = new
|
|
1400
|
-
obj.deserialize(params.
|
|
1401
|
-
this.
|
|
1649
|
+
if (params.ZoneSet) {
|
|
1650
|
+
this.ZoneSet = new Array();
|
|
1651
|
+
for (let z in params.ZoneSet) {
|
|
1652
|
+
let obj = new ZoneCapacityConf();
|
|
1653
|
+
obj.deserialize(params.ZoneSet[z]);
|
|
1654
|
+
this.ZoneSet.push(obj);
|
|
1402
1655
|
}
|
|
1403
1656
|
}
|
|
1404
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1405
1657
|
|
|
1406
1658
|
}
|
|
1407
1659
|
}
|
|
@@ -1497,16 +1749,16 @@ class DescribeProductInfoRequest extends AbstractModel {
|
|
|
1497
1749
|
}
|
|
1498
1750
|
|
|
1499
1751
|
/**
|
|
1500
|
-
*
|
|
1752
|
+
* DescribeInstanceMonitorTopNCmd response structure.
|
|
1501
1753
|
* @class
|
|
1502
1754
|
*/
|
|
1503
|
-
class
|
|
1755
|
+
class DescribeInstanceMonitorTopNCmdResponse extends AbstractModel {
|
|
1504
1756
|
constructor(){
|
|
1505
1757
|
super();
|
|
1506
1758
|
|
|
1507
1759
|
/**
|
|
1508
|
-
*
|
|
1509
|
-
* @type {Array.<
|
|
1760
|
+
* Access command information
|
|
1761
|
+
* @type {Array.<SourceCommand> || null}
|
|
1510
1762
|
*/
|
|
1511
1763
|
this.Data = null;
|
|
1512
1764
|
|
|
@@ -1529,7 +1781,7 @@ class DescribeInstanceMonitorBigKeySizeDistResponse extends AbstractModel {
|
|
|
1529
1781
|
if (params.Data) {
|
|
1530
1782
|
this.Data = new Array();
|
|
1531
1783
|
for (let z in params.Data) {
|
|
1532
|
-
let obj = new
|
|
1784
|
+
let obj = new SourceCommand();
|
|
1533
1785
|
obj.deserialize(params.Data[z]);
|
|
1534
1786
|
this.Data.push(obj);
|
|
1535
1787
|
}
|
|
@@ -2046,6 +2298,216 @@ class DescribeInstanceMonitorSIPRequest extends AbstractModel {
|
|
|
2046
2298
|
}
|
|
2047
2299
|
}
|
|
2048
2300
|
|
|
2301
|
+
/**
|
|
2302
|
+
* ChangeReplicaToMaster response structure.
|
|
2303
|
+
* @class
|
|
2304
|
+
*/
|
|
2305
|
+
class ChangeReplicaToMasterResponse extends AbstractModel {
|
|
2306
|
+
constructor(){
|
|
2307
|
+
super();
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* Async task ID
|
|
2311
|
+
* @type {number || null}
|
|
2312
|
+
*/
|
|
2313
|
+
this.TaskId = null;
|
|
2314
|
+
|
|
2315
|
+
/**
|
|
2316
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2317
|
+
* @type {string || null}
|
|
2318
|
+
*/
|
|
2319
|
+
this.RequestId = null;
|
|
2320
|
+
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* @private
|
|
2325
|
+
*/
|
|
2326
|
+
deserialize(params) {
|
|
2327
|
+
if (!params) {
|
|
2328
|
+
return;
|
|
2329
|
+
}
|
|
2330
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
2331
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2332
|
+
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
* Product information in the availability zone
|
|
2338
|
+
* @class
|
|
2339
|
+
*/
|
|
2340
|
+
class ZoneCapacityConf extends AbstractModel {
|
|
2341
|
+
constructor(){
|
|
2342
|
+
super();
|
|
2343
|
+
|
|
2344
|
+
/**
|
|
2345
|
+
* AZ ID, such as ap-guangzhou-3
|
|
2346
|
+
* @type {string || null}
|
|
2347
|
+
*/
|
|
2348
|
+
this.ZoneId = null;
|
|
2349
|
+
|
|
2350
|
+
/**
|
|
2351
|
+
* AZ name
|
|
2352
|
+
* @type {string || null}
|
|
2353
|
+
*/
|
|
2354
|
+
this.ZoneName = null;
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* Whether a product is sold out in an AZ
|
|
2358
|
+
* @type {boolean || null}
|
|
2359
|
+
*/
|
|
2360
|
+
this.IsSaleout = null;
|
|
2361
|
+
|
|
2362
|
+
/**
|
|
2363
|
+
* Whether it is a default AZ
|
|
2364
|
+
* @type {boolean || null}
|
|
2365
|
+
*/
|
|
2366
|
+
this.IsDefault = null;
|
|
2367
|
+
|
|
2368
|
+
/**
|
|
2369
|
+
* Network type. basenet: basic network; vpcnet: VPC
|
|
2370
|
+
* @type {Array.<string> || null}
|
|
2371
|
+
*/
|
|
2372
|
+
this.NetWorkType = null;
|
|
2373
|
+
|
|
2374
|
+
/**
|
|
2375
|
+
* Information of an AZ, such as product specifications in it
|
|
2376
|
+
* @type {Array.<ProductConf> || null}
|
|
2377
|
+
*/
|
|
2378
|
+
this.ProductSet = null;
|
|
2379
|
+
|
|
2380
|
+
/**
|
|
2381
|
+
* AZ ID, such as 100003
|
|
2382
|
+
* @type {number || null}
|
|
2383
|
+
*/
|
|
2384
|
+
this.OldZoneId = null;
|
|
2385
|
+
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* @private
|
|
2390
|
+
*/
|
|
2391
|
+
deserialize(params) {
|
|
2392
|
+
if (!params) {
|
|
2393
|
+
return;
|
|
2394
|
+
}
|
|
2395
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
2396
|
+
this.ZoneName = 'ZoneName' in params ? params.ZoneName : null;
|
|
2397
|
+
this.IsSaleout = 'IsSaleout' in params ? params.IsSaleout : null;
|
|
2398
|
+
this.IsDefault = 'IsDefault' in params ? params.IsDefault : null;
|
|
2399
|
+
this.NetWorkType = 'NetWorkType' in params ? params.NetWorkType : null;
|
|
2400
|
+
|
|
2401
|
+
if (params.ProductSet) {
|
|
2402
|
+
this.ProductSet = new Array();
|
|
2403
|
+
for (let z in params.ProductSet) {
|
|
2404
|
+
let obj = new ProductConf();
|
|
2405
|
+
obj.deserialize(params.ProductSet[z]);
|
|
2406
|
+
this.ProductSet.push(obj);
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
this.OldZoneId = 'OldZoneId' in params ? params.OldZoneId : null;
|
|
2410
|
+
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
/**
|
|
2415
|
+
* DescribeInstanceNodeInfo response structure.
|
|
2416
|
+
* @class
|
|
2417
|
+
*/
|
|
2418
|
+
class DescribeInstanceNodeInfoResponse extends AbstractModel {
|
|
2419
|
+
constructor(){
|
|
2420
|
+
super();
|
|
2421
|
+
|
|
2422
|
+
/**
|
|
2423
|
+
* The number of proxy nodes
|
|
2424
|
+
* @type {number || null}
|
|
2425
|
+
*/
|
|
2426
|
+
this.ProxyCount = null;
|
|
2427
|
+
|
|
2428
|
+
/**
|
|
2429
|
+
* Proxy node information
|
|
2430
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
2431
|
+
* @type {Array.<ProxyNodes> || null}
|
|
2432
|
+
*/
|
|
2433
|
+
this.Proxy = null;
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* The number of redis nodes
|
|
2437
|
+
* @type {number || null}
|
|
2438
|
+
*/
|
|
2439
|
+
this.RedisCount = null;
|
|
2440
|
+
|
|
2441
|
+
/**
|
|
2442
|
+
* Redis node information
|
|
2443
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
2444
|
+
* @type {Array.<RedisNodes> || null}
|
|
2445
|
+
*/
|
|
2446
|
+
this.Redis = null;
|
|
2447
|
+
|
|
2448
|
+
/**
|
|
2449
|
+
* The number of tendis nodes
|
|
2450
|
+
* @type {number || null}
|
|
2451
|
+
*/
|
|
2452
|
+
this.TendisCount = null;
|
|
2453
|
+
|
|
2454
|
+
/**
|
|
2455
|
+
* Tendis node information
|
|
2456
|
+
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
2457
|
+
* @type {Array.<TendisNodes> || null}
|
|
2458
|
+
*/
|
|
2459
|
+
this.Tendis = null;
|
|
2460
|
+
|
|
2461
|
+
/**
|
|
2462
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2463
|
+
* @type {string || null}
|
|
2464
|
+
*/
|
|
2465
|
+
this.RequestId = null;
|
|
2466
|
+
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
/**
|
|
2470
|
+
* @private
|
|
2471
|
+
*/
|
|
2472
|
+
deserialize(params) {
|
|
2473
|
+
if (!params) {
|
|
2474
|
+
return;
|
|
2475
|
+
}
|
|
2476
|
+
this.ProxyCount = 'ProxyCount' in params ? params.ProxyCount : null;
|
|
2477
|
+
|
|
2478
|
+
if (params.Proxy) {
|
|
2479
|
+
this.Proxy = new Array();
|
|
2480
|
+
for (let z in params.Proxy) {
|
|
2481
|
+
let obj = new ProxyNodes();
|
|
2482
|
+
obj.deserialize(params.Proxy[z]);
|
|
2483
|
+
this.Proxy.push(obj);
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
this.RedisCount = 'RedisCount' in params ? params.RedisCount : null;
|
|
2487
|
+
|
|
2488
|
+
if (params.Redis) {
|
|
2489
|
+
this.Redis = new Array();
|
|
2490
|
+
for (let z in params.Redis) {
|
|
2491
|
+
let obj = new RedisNodes();
|
|
2492
|
+
obj.deserialize(params.Redis[z]);
|
|
2493
|
+
this.Redis.push(obj);
|
|
2494
|
+
}
|
|
2495
|
+
}
|
|
2496
|
+
this.TendisCount = 'TendisCount' in params ? params.TendisCount : null;
|
|
2497
|
+
|
|
2498
|
+
if (params.Tendis) {
|
|
2499
|
+
this.Tendis = new Array();
|
|
2500
|
+
for (let z in params.Tendis) {
|
|
2501
|
+
let obj = new TendisNodes();
|
|
2502
|
+
obj.deserialize(params.Tendis[z]);
|
|
2503
|
+
this.Tendis.push(obj);
|
|
2504
|
+
}
|
|
2505
|
+
}
|
|
2506
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2507
|
+
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2049
2511
|
/**
|
|
2050
2512
|
* DescribeReplicationGroup request structure.
|
|
2051
2513
|
* @class
|
|
@@ -2322,23 +2784,28 @@ class InstanceSlowlogDetail extends AbstractModel {
|
|
|
2322
2784
|
}
|
|
2323
2785
|
|
|
2324
2786
|
module.exports = {
|
|
2325
|
-
|
|
2326
|
-
|
|
2787
|
+
ChangeReplicaToMasterRequest: ChangeReplicaToMasterRequest,
|
|
2788
|
+
ReleaseWanAddressRequest: ReleaseWanAddressRequest,
|
|
2789
|
+
ProxyNodes: ProxyNodes,
|
|
2327
2790
|
DescribeInstanceMonitorTopNCmdTookRequest: DescribeInstanceMonitorTopNCmdTookRequest,
|
|
2328
2791
|
Instances: Instances,
|
|
2329
|
-
|
|
2792
|
+
DescribeInstanceMonitorBigKeySizeDistResponse: DescribeInstanceMonitorBigKeySizeDistResponse,
|
|
2330
2793
|
DescribeInstanceMonitorTookDistRequest: DescribeInstanceMonitorTookDistRequest,
|
|
2331
2794
|
DescribeInstanceMonitorHotKeyRequest: DescribeInstanceMonitorHotKeyRequest,
|
|
2795
|
+
AllocateWanAddressRequest: AllocateWanAddressRequest,
|
|
2332
2796
|
DescribeInstanceMonitorBigKeyTypeDistRequest: DescribeInstanceMonitorBigKeyTypeDistRequest,
|
|
2333
2797
|
InquiryPriceCreateInstanceRequest: InquiryPriceCreateInstanceRequest,
|
|
2334
2798
|
DescribeProductInfoResponse: DescribeProductInfoResponse,
|
|
2335
2799
|
DescribeMaintenanceWindowResponse: DescribeMaintenanceWindowResponse,
|
|
2800
|
+
ReleaseWanAddressResponse: ReleaseWanAddressResponse,
|
|
2336
2801
|
ProductConf: ProductConf,
|
|
2337
2802
|
BigKeyTypeInfo: BigKeyTypeInfo,
|
|
2803
|
+
DescribeInstanceNodeInfoRequest: DescribeInstanceNodeInfoRequest,
|
|
2338
2804
|
DescribeMaintenanceWindowRequest: DescribeMaintenanceWindowRequest,
|
|
2339
2805
|
CommandTake: CommandTake,
|
|
2340
2806
|
DescribeInstanceMonitorBigKeyResponse: DescribeInstanceMonitorBigKeyResponse,
|
|
2341
2807
|
InquiryPriceCreateInstanceResponse: InquiryPriceCreateInstanceResponse,
|
|
2808
|
+
RedisNodes: RedisNodes,
|
|
2342
2809
|
InquiryPriceUpgradeInstanceRequest: InquiryPriceUpgradeInstanceRequest,
|
|
2343
2810
|
DelayDistribution: DelayDistribution,
|
|
2344
2811
|
DescribeSlowLogResponse: DescribeSlowLogResponse,
|
|
@@ -2347,9 +2814,12 @@ module.exports = {
|
|
|
2347
2814
|
DescribeInstanceAccountResponse: DescribeInstanceAccountResponse,
|
|
2348
2815
|
DescribeInstanceMonitorBigKeyRequest: DescribeInstanceMonitorBigKeyRequest,
|
|
2349
2816
|
DescribeInstanceMonitorBigKeyTypeDistResponse: DescribeInstanceMonitorBigKeyTypeDistResponse,
|
|
2817
|
+
TendisNodes: TendisNodes,
|
|
2818
|
+
AllocateWanAddressResponse: AllocateWanAddressResponse,
|
|
2819
|
+
RegionConf: RegionConf,
|
|
2350
2820
|
Account: Account,
|
|
2351
2821
|
DescribeProductInfoRequest: DescribeProductInfoRequest,
|
|
2352
|
-
|
|
2822
|
+
DescribeInstanceMonitorTopNCmdResponse: DescribeInstanceMonitorTopNCmdResponse,
|
|
2353
2823
|
SourceCommand: SourceCommand,
|
|
2354
2824
|
HotKeyInfo: HotKeyInfo,
|
|
2355
2825
|
BigKeyInfo: BigKeyInfo,
|
|
@@ -2362,6 +2832,9 @@ module.exports = {
|
|
|
2362
2832
|
DescribeInstanceMonitorSIPResponse: DescribeInstanceMonitorSIPResponse,
|
|
2363
2833
|
SourceInfo: SourceInfo,
|
|
2364
2834
|
DescribeInstanceMonitorSIPRequest: DescribeInstanceMonitorSIPRequest,
|
|
2835
|
+
ChangeReplicaToMasterResponse: ChangeReplicaToMasterResponse,
|
|
2836
|
+
ZoneCapacityConf: ZoneCapacityConf,
|
|
2837
|
+
DescribeInstanceNodeInfoResponse: DescribeInstanceNodeInfoResponse,
|
|
2365
2838
|
DescribeReplicationGroupRequest: DescribeReplicationGroupRequest,
|
|
2366
2839
|
DescribeReplicationGroupResponse: DescribeReplicationGroupResponse,
|
|
2367
2840
|
DescribeInstanceMonitorHotKeyResponse: DescribeInstanceMonitorHotKeyResponse,
|