tencentcloud-sdk-nodejs-intl-en 3.0.409 → 3.0.412
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/batch/v20170312/batch_client.js +0 -14
- package/tencentcloud/batch/v20170312/models.js +0 -206
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/es/v20180416/es_client.js +13 -0
- package/tencentcloud/es/v20180416/models.js +100 -0
- package/tencentcloud/live/v20180801/live_client.js +2 -29
- package/tencentcloud/live/v20180801/models.js +68 -476
- package/tencentcloud/ocr/v20181119/models.js +14 -0
- package/tencentcloud/privatedns/v20201028/models.js +199 -808
- package/tencentcloud/privatedns/v20201028/privatedns_client.js +26 -92
- package/tencentcloud/redis/v20180412/models.js +838 -8348
- package/tencentcloud/redis/v20180412/redis_client.js +85 -819
- package/tencentcloud/ses/v20201002/models.js +66 -619
- package/tencentcloud/ses/v20201002/ses_client.js +109 -163
- package/tencentcloud/vpc/v20170312/models.js +288 -1824
- package/tencentcloud/vpc/v20170312/vpc_client.js +58 -245
|
@@ -16,191 +16,51 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
-
const ModifyInstanceParamsResponse = models.ModifyInstanceParamsResponse;
|
|
20
|
-
const EnableReplicaReadonlyRequest = models.EnableReplicaReadonlyRequest;
|
|
21
|
-
const RedisBackupSet = models.RedisBackupSet;
|
|
22
|
-
const DescribeInstanceMonitorTopNCmdResponse = models.DescribeInstanceMonitorTopNCmdResponse;
|
|
23
|
-
const ModifyAutoBackupConfigResponse = models.ModifyAutoBackupConfigResponse;
|
|
24
|
-
const RestoreInstanceRequest = models.RestoreInstanceRequest;
|
|
25
|
-
const TaskInfoDetail = models.TaskInfoDetail;
|
|
26
|
-
const ApplyParamsTemplateRequest = models.ApplyParamsTemplateRequest;
|
|
27
|
-
const UpgradeInstanceVersionResponse = models.UpgradeInstanceVersionResponse;
|
|
28
|
-
const CreateInstancesRequest = models.CreateInstancesRequest;
|
|
29
|
-
const DescribeInstanceZoneInfoRequest = models.DescribeInstanceZoneInfoRequest;
|
|
30
|
-
const ModifyNetworkConfigResponse = models.ModifyNetworkConfigResponse;
|
|
31
|
-
const CommandTake = models.CommandTake;
|
|
32
|
-
const DescribeInstanceMonitorBigKeyResponse = models.DescribeInstanceMonitorBigKeyResponse;
|
|
33
|
-
const Inbound = models.Inbound;
|
|
34
|
-
const AssociateSecurityGroupsRequest = models.AssociateSecurityGroupsRequest;
|
|
35
|
-
const DescribeTaskListResponse = models.DescribeTaskListResponse;
|
|
36
|
-
const ModifyInstanceRequest = models.ModifyInstanceRequest;
|
|
37
|
-
const KillMasterGroupResponse = models.KillMasterGroupResponse;
|
|
38
|
-
const RenewInstanceResponse = models.RenewInstanceResponse;
|
|
39
|
-
const DescribeSlowLogResponse = models.DescribeSlowLogResponse;
|
|
40
|
-
const DescribeCommonDBInstancesRequest = models.DescribeCommonDBInstancesRequest;
|
|
41
|
-
const DescribeDBSecurityGroupsResponse = models.DescribeDBSecurityGroupsResponse;
|
|
42
|
-
const RestoreInstanceResponse = models.RestoreInstanceResponse;
|
|
43
|
-
const RedisNodeInfo = models.RedisNodeInfo;
|
|
44
|
-
const DescribeBackupUrlRequest = models.DescribeBackupUrlRequest;
|
|
45
|
-
const DeleteParamTemplateResponse = models.DeleteParamTemplateResponse;
|
|
46
|
-
const DescribeInstancesResponse = models.DescribeInstancesResponse;
|
|
47
|
-
const DescribeInstanceZoneInfoResponse = models.DescribeInstanceZoneInfoResponse;
|
|
48
|
-
const Account = models.Account;
|
|
49
|
-
const InstanceProxySlowlogDetail = models.InstanceProxySlowlogDetail;
|
|
50
|
-
const SecurityGroupsInboundAndOutbound = models.SecurityGroupsInboundAndOutbound;
|
|
51
|
-
const ResetPasswordResponse = models.ResetPasswordResponse;
|
|
52
|
-
const ClearInstanceRequest = models.ClearInstanceRequest;
|
|
53
19
|
const RegionConf = models.RegionConf;
|
|
54
|
-
const
|
|
55
|
-
const
|
|
56
|
-
const
|
|
57
|
-
const
|
|
58
|
-
const
|
|
59
|
-
const ModifyAutoBackupConfigRequest = models.ModifyAutoBackupConfigRequest;
|
|
60
|
-
const InstanceMultiParam = models.InstanceMultiParam;
|
|
61
|
-
const DescribeInstanceDealDetailRequest = models.DescribeInstanceDealDetailRequest;
|
|
62
|
-
const RedisNode = models.RedisNode;
|
|
63
|
-
const DescribeProjectSecurityGroupRequest = models.DescribeProjectSecurityGroupRequest;
|
|
64
|
-
const ParameterDetail = models.ParameterDetail;
|
|
65
|
-
const DescribeInstanceShardsResponse = models.DescribeInstanceShardsResponse;
|
|
66
|
-
const DestroyPrepaidInstanceRequest = models.DestroyPrepaidInstanceRequest;
|
|
67
|
-
const ManualBackupInstanceResponse = models.ManualBackupInstanceResponse;
|
|
68
|
-
const DisableReplicaReadonlyResponse = models.DisableReplicaReadonlyResponse;
|
|
69
|
-
const CreateParamTemplateResponse = models.CreateParamTemplateResponse;
|
|
70
|
-
const InstanceTagInfo = models.InstanceTagInfo;
|
|
71
|
-
const DescribeInstanceDTSInfoResponse = models.DescribeInstanceDTSInfoResponse;
|
|
72
|
-
const DestroyPostpaidInstanceResponse = models.DestroyPostpaidInstanceResponse;
|
|
73
|
-
const SwitchInstanceVipRequest = models.SwitchInstanceVipRequest;
|
|
74
|
-
const ChangeReplicaToMasterRequest = models.ChangeReplicaToMasterRequest;
|
|
75
|
-
const ProxyNodes = models.ProxyNodes;
|
|
76
|
-
const ModifyInstanceResponse = models.ModifyInstanceResponse;
|
|
77
|
-
const RedisCommonInstanceList = models.RedisCommonInstanceList;
|
|
78
|
-
const SourceInfo = models.SourceInfo;
|
|
79
|
-
const ModifyDBInstanceSecurityGroupsResponse = models.ModifyDBInstanceSecurityGroupsResponse;
|
|
20
|
+
const ZoneCapacityConf = models.ZoneCapacityConf;
|
|
21
|
+
const DescribeInstanceMonitorTopNCmdTookRequest = models.DescribeInstanceMonitorTopNCmdTookRequest;
|
|
22
|
+
const Instances = models.Instances;
|
|
23
|
+
const DescribeInstanceMonitorTopNCmdResponse = models.DescribeInstanceMonitorTopNCmdResponse;
|
|
24
|
+
const DescribeInstanceMonitorTookDistRequest = models.DescribeInstanceMonitorTookDistRequest;
|
|
80
25
|
const DescribeInstanceMonitorHotKeyRequest = models.DescribeInstanceMonitorHotKeyRequest;
|
|
81
|
-
const
|
|
82
|
-
const
|
|
83
|
-
const DescribeTendisSlowLogResponse = models.DescribeTendisSlowLogResponse;
|
|
26
|
+
const DescribeInstanceMonitorBigKeyTypeDistRequest = models.DescribeInstanceMonitorBigKeyTypeDistRequest;
|
|
27
|
+
const InquiryPriceCreateInstanceRequest = models.InquiryPriceCreateInstanceRequest;
|
|
84
28
|
const DescribeProductInfoResponse = models.DescribeProductInfoResponse;
|
|
85
|
-
const ModifyInstanceAccountRequest = models.ModifyInstanceAccountRequest;
|
|
86
|
-
const ModifyMaintenanceWindowRequest = models.ModifyMaintenanceWindowRequest;
|
|
87
|
-
const DescribeParamTemplateInfoRequest = models.DescribeParamTemplateInfoRequest;
|
|
88
|
-
const DescribeBackupUrlResponse = models.DescribeBackupUrlResponse;
|
|
89
|
-
const DescribeDBSecurityGroupsRequest = models.DescribeDBSecurityGroupsRequest;
|
|
90
|
-
const InquiryPriceCreateInstanceResponse = models.InquiryPriceCreateInstanceResponse;
|
|
91
|
-
const InstanceSecurityGroupDetail = models.InstanceSecurityGroupDetail;
|
|
92
|
-
const ResetPasswordRequest = models.ResetPasswordRequest;
|
|
93
|
-
const ModifyInstanceAccountResponse = models.ModifyInstanceAccountResponse;
|
|
94
|
-
const DelayDistribution = models.DelayDistribution;
|
|
95
|
-
const DescribeProjectSecurityGroupsResponse = models.DescribeProjectSecurityGroupsResponse;
|
|
96
|
-
const DescribeInstanceMonitorTookDistResponse = models.DescribeInstanceMonitorTookDistResponse;
|
|
97
|
-
const DescribeInstanceBackupsResponse = models.DescribeInstanceBackupsResponse;
|
|
98
|
-
const InstanceIntegerParam = models.InstanceIntegerParam;
|
|
99
|
-
const UpgradeVersionToMultiAvailabilityZonesRequest = models.UpgradeVersionToMultiAvailabilityZonesRequest;
|
|
100
|
-
const DescribeInstanceMonitorTookDistRequest = models.DescribeInstanceMonitorTookDistRequest;
|
|
101
|
-
const KillMasterGroupRequest = models.KillMasterGroupRequest;
|
|
102
|
-
const InstanceTextParam = models.InstanceTextParam;
|
|
103
|
-
const ParamTemplateInfo = models.ParamTemplateInfo;
|
|
104
|
-
const DescribeInstanceMonitorTopNCmdTookResponse = models.DescribeInstanceMonitorTopNCmdTookResponse;
|
|
105
|
-
const DescribeInstanceMonitorBigKeySizeDistRequest = models.DescribeInstanceMonitorBigKeySizeDistRequest;
|
|
106
|
-
const DescribeInstanceAccountRequest = models.DescribeInstanceAccountRequest;
|
|
107
|
-
const DescribeInstanceParamRecordsRequest = models.DescribeInstanceParamRecordsRequest;
|
|
108
|
-
const DescribeTaskListRequest = models.DescribeTaskListRequest;
|
|
109
|
-
const ChangeReplicaToMasterResponse = models.ChangeReplicaToMasterResponse;
|
|
110
|
-
const CreateInstancesResponse = models.CreateInstancesResponse;
|
|
111
|
-
const DescribeTaskInfoRequest = models.DescribeTaskInfoRequest;
|
|
112
|
-
const ApplyParamsTemplateResponse = models.ApplyParamsTemplateResponse;
|
|
113
|
-
const RedisNodes = models.RedisNodes;
|
|
114
|
-
const DescribeInstanceMonitorTopNCmdRequest = models.DescribeInstanceMonitorTopNCmdRequest;
|
|
115
|
-
const ModifyNetworkConfigRequest = models.ModifyNetworkConfigRequest;
|
|
116
|
-
const DescribeInstanceSecurityGroupRequest = models.DescribeInstanceSecurityGroupRequest;
|
|
117
|
-
const InstanceParamHistory = models.InstanceParamHistory;
|
|
118
|
-
const DescribeInstanceParamsRequest = models.DescribeInstanceParamsRequest;
|
|
119
|
-
const CleanUpInstanceResponse = models.CleanUpInstanceResponse;
|
|
120
|
-
const ModifyDBInstanceSecurityGroupsRequest = models.ModifyDBInstanceSecurityGroupsRequest;
|
|
121
|
-
const DescribeParamTemplatesResponse = models.DescribeParamTemplatesResponse;
|
|
122
|
-
const DescribeInstanceShardsRequest = models.DescribeInstanceShardsRequest;
|
|
123
|
-
const Outbound = models.Outbound;
|
|
124
|
-
const DescribeAutoBackupConfigResponse = models.DescribeAutoBackupConfigResponse;
|
|
125
|
-
const InquiryPriceUpgradeInstanceRequest = models.InquiryPriceUpgradeInstanceRequest;
|
|
126
|
-
const ModifyParamTemplateResponse = models.ModifyParamTemplateResponse;
|
|
127
|
-
const DescribeProjectSecurityGroupsRequest = models.DescribeProjectSecurityGroupsRequest;
|
|
128
|
-
const DescribeInstanceMonitorBigKeySizeDistResponse = models.DescribeInstanceMonitorBigKeySizeDistResponse;
|
|
129
|
-
const SecurityGroup = models.SecurityGroup;
|
|
130
|
-
const CreateInstanceAccountRequest = models.CreateInstanceAccountRequest;
|
|
131
|
-
const EnableReplicaReadonlyResponse = models.EnableReplicaReadonlyResponse;
|
|
132
29
|
const DescribeMaintenanceWindowResponse = models.DescribeMaintenanceWindowResponse;
|
|
133
|
-
const DescribeInstanceSecurityGroupResponse = models.DescribeInstanceSecurityGroupResponse;
|
|
134
30
|
const ProductConf = models.ProductConf;
|
|
135
|
-
const InstanceNode = models.InstanceNode;
|
|
136
|
-
const TendisNodes = models.TendisNodes;
|
|
137
|
-
const StartupInstanceResponse = models.StartupInstanceResponse;
|
|
138
|
-
const DescribeInstanceDTSInstanceInfo = models.DescribeInstanceDTSInstanceInfo;
|
|
139
|
-
const TradeDealDetail = models.TradeDealDetail;
|
|
140
|
-
const AssociateSecurityGroupsResponse = models.AssociateSecurityGroupsResponse;
|
|
141
|
-
const ReplicaGroup = models.ReplicaGroup;
|
|
142
|
-
const DescribeTaskInfoResponse = models.DescribeTaskInfoResponse;
|
|
143
|
-
const DescribeInstanceMonitorBigKeyTypeDistResponse = models.DescribeInstanceMonitorBigKeyTypeDistResponse;
|
|
144
|
-
const CleanUpInstanceRequest = models.CleanUpInstanceRequest;
|
|
145
|
-
const DescribeInstanceDealDetailResponse = models.DescribeInstanceDealDetailResponse;
|
|
146
|
-
const DescribeInstancesRequest = models.DescribeInstancesRequest;
|
|
147
|
-
const SourceCommand = models.SourceCommand;
|
|
148
|
-
const ModfiyInstancePasswordRequest = models.ModfiyInstancePasswordRequest;
|
|
149
|
-
const DescribeSlowLogRequest = models.DescribeSlowLogRequest;
|
|
150
|
-
const DeleteParamTemplateRequest = models.DeleteParamTemplateRequest;
|
|
151
|
-
const DescribeAutoBackupConfigRequest = models.DescribeAutoBackupConfigRequest;
|
|
152
|
-
const DescribeInstanceMonitorSIPResponse = models.DescribeInstanceMonitorSIPResponse;
|
|
153
|
-
const DestroyPostpaidInstanceRequest = models.DestroyPostpaidInstanceRequest;
|
|
154
|
-
const DeleteInstanceAccountRequest = models.DeleteInstanceAccountRequest;
|
|
155
|
-
const UpgradeInstanceResponse = models.UpgradeInstanceResponse;
|
|
156
|
-
const ManualBackupInstanceRequest = models.ManualBackupInstanceRequest;
|
|
157
|
-
const ModifyParamTemplateRequest = models.ModifyParamTemplateRequest;
|
|
158
|
-
const ModfiyInstancePasswordResponse = models.ModfiyInstancePasswordResponse;
|
|
159
|
-
const InstanceSet = models.InstanceSet;
|
|
160
|
-
const ResourceTag = models.ResourceTag;
|
|
161
|
-
const ModifyMaintenanceWindowResponse = models.ModifyMaintenanceWindowResponse;
|
|
162
|
-
const DescribeInstanceMonitorBigKeyTypeDistRequest = models.DescribeInstanceMonitorBigKeyTypeDistRequest;
|
|
163
|
-
const DescribeInstanceMonitorTopNCmdTookRequest = models.DescribeInstanceMonitorTopNCmdTookRequest;
|
|
164
|
-
const DestroyPrepaidInstanceResponse = models.DestroyPrepaidInstanceResponse;
|
|
165
|
-
const DescribeCommonDBInstancesResponse = models.DescribeCommonDBInstancesResponse;
|
|
166
|
-
const InquiryPriceCreateInstanceRequest = models.InquiryPriceCreateInstanceRequest;
|
|
167
|
-
const ModifyInstanceParamsRequest = models.ModifyInstanceParamsRequest;
|
|
168
|
-
const BackupDownloadInfo = models.BackupDownloadInfo;
|
|
169
31
|
const BigKeyTypeInfo = models.BigKeyTypeInfo;
|
|
170
|
-
const DescribeInstanceNodeInfoRequest = models.DescribeInstanceNodeInfoRequest;
|
|
171
32
|
const DescribeMaintenanceWindowRequest = models.DescribeMaintenanceWindowRequest;
|
|
172
|
-
const
|
|
173
|
-
const
|
|
174
|
-
const
|
|
175
|
-
const
|
|
176
|
-
const
|
|
33
|
+
const CommandTake = models.CommandTake;
|
|
34
|
+
const DescribeInstanceMonitorBigKeyResponse = models.DescribeInstanceMonitorBigKeyResponse;
|
|
35
|
+
const InquiryPriceCreateInstanceResponse = models.InquiryPriceCreateInstanceResponse;
|
|
36
|
+
const InquiryPriceUpgradeInstanceRequest = models.InquiryPriceUpgradeInstanceRequest;
|
|
37
|
+
const DelayDistribution = models.DelayDistribution;
|
|
38
|
+
const DescribeSlowLogResponse = models.DescribeSlowLogResponse;
|
|
39
|
+
const Groups = models.Groups;
|
|
40
|
+
const DescribeInstanceMonitorTookDistResponse = models.DescribeInstanceMonitorTookDistResponse;
|
|
177
41
|
const DescribeInstanceAccountResponse = models.DescribeInstanceAccountResponse;
|
|
178
42
|
const DescribeInstanceMonitorBigKeyRequest = models.DescribeInstanceMonitorBigKeyRequest;
|
|
179
|
-
const
|
|
180
|
-
const
|
|
43
|
+
const DescribeInstanceMonitorBigKeyTypeDistResponse = models.DescribeInstanceMonitorBigKeyTypeDistResponse;
|
|
44
|
+
const Account = models.Account;
|
|
181
45
|
const DescribeProductInfoRequest = models.DescribeProductInfoRequest;
|
|
182
|
-
const
|
|
183
|
-
const
|
|
184
|
-
const DisassociateSecurityGroupsRequest = models.DisassociateSecurityGroupsRequest;
|
|
185
|
-
const StartupInstanceRequest = models.StartupInstanceRequest;
|
|
46
|
+
const DescribeInstanceMonitorBigKeySizeDistResponse = models.DescribeInstanceMonitorBigKeySizeDistResponse;
|
|
47
|
+
const SourceCommand = models.SourceCommand;
|
|
186
48
|
const HotKeyInfo = models.HotKeyInfo;
|
|
187
|
-
const
|
|
188
|
-
const
|
|
189
|
-
const
|
|
190
|
-
const
|
|
49
|
+
const BigKeyInfo = models.BigKeyInfo;
|
|
50
|
+
const ModfiyInstancePasswordRequest = models.ModfiyInstancePasswordRequest;
|
|
51
|
+
const DescribeSlowLogRequest = models.DescribeSlowLogRequest;
|
|
52
|
+
const DescribeInstanceMonitorTopNCmdTookResponse = models.DescribeInstanceMonitorTopNCmdTookResponse;
|
|
53
|
+
const DescribeInstanceMonitorBigKeySizeDistRequest = models.DescribeInstanceMonitorBigKeySizeDistRequest;
|
|
54
|
+
const DescribeInstanceAccountRequest = models.DescribeInstanceAccountRequest;
|
|
191
55
|
const InquiryPriceUpgradeInstanceResponse = models.InquiryPriceUpgradeInstanceResponse;
|
|
192
|
-
const
|
|
56
|
+
const DescribeInstanceMonitorSIPResponse = models.DescribeInstanceMonitorSIPResponse;
|
|
57
|
+
const SourceInfo = models.SourceInfo;
|
|
193
58
|
const DescribeInstanceMonitorSIPRequest = models.DescribeInstanceMonitorSIPRequest;
|
|
194
|
-
const
|
|
195
|
-
const
|
|
196
|
-
const ZoneCapacityConf = models.ZoneCapacityConf;
|
|
197
|
-
const UpgradeInstanceRequest = models.UpgradeInstanceRequest;
|
|
198
|
-
const DescribeInstanceNodeInfoResponse = models.DescribeInstanceNodeInfoResponse;
|
|
199
|
-
const DescribeProjectSecurityGroupResponse = models.DescribeProjectSecurityGroupResponse;
|
|
59
|
+
const DescribeReplicationGroupRequest = models.DescribeReplicationGroupRequest;
|
|
60
|
+
const DescribeReplicationGroupResponse = models.DescribeReplicationGroupResponse;
|
|
200
61
|
const DescribeInstanceMonitorHotKeyResponse = models.DescribeInstanceMonitorHotKeyResponse;
|
|
201
|
-
const
|
|
202
|
-
const
|
|
203
|
-
const ClearInstanceResponse = models.ClearInstanceResponse;
|
|
62
|
+
const DescribeInstanceMonitorTopNCmdRequest = models.DescribeInstanceMonitorTopNCmdRequest;
|
|
63
|
+
const ModfiyInstancePasswordResponse = models.ModfiyInstancePasswordResponse;
|
|
204
64
|
const InstanceSlowlogDetail = models.InstanceSlowlogDetail;
|
|
205
65
|
|
|
206
66
|
|
|
@@ -215,25 +75,14 @@ class RedisClient extends AbstractClient {
|
|
|
215
75
|
}
|
|
216
76
|
|
|
217
77
|
/**
|
|
218
|
-
* This API is used to
|
|
219
|
-
* @param {
|
|
220
|
-
* @param {function(string,
|
|
78
|
+
* This API is used to query the global replication group.
|
|
79
|
+
* @param {DescribeReplicationGroupRequest} req
|
|
80
|
+
* @param {function(string, DescribeReplicationGroupResponse):void} cb
|
|
221
81
|
* @public
|
|
222
82
|
*/
|
|
223
|
-
|
|
224
|
-
let resp = new
|
|
225
|
-
this.request("
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* This API is used to query instance node information.
|
|
230
|
-
* @param {DescribeInstanceNodeInfoRequest} req
|
|
231
|
-
* @param {function(string, DescribeInstanceNodeInfoResponse):void} cb
|
|
232
|
-
* @public
|
|
233
|
-
*/
|
|
234
|
-
DescribeInstanceNodeInfo(req, cb) {
|
|
235
|
-
let resp = new DescribeInstanceNodeInfoResponse();
|
|
236
|
-
this.request("DescribeInstanceNodeInfo", req, resp, cb);
|
|
83
|
+
DescribeReplicationGroup(req, cb) {
|
|
84
|
+
let resp = new DescribeReplicationGroupResponse();
|
|
85
|
+
this.request("DescribeReplicationGroup", req, resp, cb);
|
|
237
86
|
}
|
|
238
87
|
|
|
239
88
|
/**
|
|
@@ -248,36 +97,25 @@ class RedisClient extends AbstractClient {
|
|
|
248
97
|
}
|
|
249
98
|
|
|
250
99
|
/**
|
|
251
|
-
* This API is used to
|
|
252
|
-
* @param {
|
|
253
|
-
* @param {function(string,
|
|
254
|
-
* @public
|
|
255
|
-
*/
|
|
256
|
-
CreateInstanceAccount(req, cb) {
|
|
257
|
-
let resp = new CreateInstanceAccountResponse();
|
|
258
|
-
this.request("CreateInstanceAccount", req, resp, cb);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* This API is used to modify instance maintenance window. The maintenance window specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business. Note: if the compatible version upgrade or architecture upgrade task has been initiated for an instance, its maintenance window cannot be modified.
|
|
263
|
-
* @param {ModifyMaintenanceWindowRequest} req
|
|
264
|
-
* @param {function(string, ModifyMaintenanceWindowResponse):void} cb
|
|
100
|
+
* This API is used to query the price for scaling an instance.
|
|
101
|
+
* @param {InquiryPriceUpgradeInstanceRequest} req
|
|
102
|
+
* @param {function(string, InquiryPriceUpgradeInstanceResponse):void} cb
|
|
265
103
|
* @public
|
|
266
104
|
*/
|
|
267
|
-
|
|
268
|
-
let resp = new
|
|
269
|
-
this.request("
|
|
105
|
+
InquiryPriceUpgradeInstance(req, cb) {
|
|
106
|
+
let resp = new InquiryPriceUpgradeInstanceResponse();
|
|
107
|
+
this.request("InquiryPriceUpgradeInstance", req, resp, cb);
|
|
270
108
|
}
|
|
271
109
|
|
|
272
110
|
/**
|
|
273
|
-
* This API is used to query the
|
|
274
|
-
* @param {
|
|
275
|
-
* @param {function(string,
|
|
111
|
+
* This API is used to query the access source information of an instance.
|
|
112
|
+
* @param {DescribeInstanceMonitorSIPRequest} req
|
|
113
|
+
* @param {function(string, DescribeInstanceMonitorSIPResponse):void} cb
|
|
276
114
|
* @public
|
|
277
115
|
*/
|
|
278
|
-
|
|
279
|
-
let resp = new
|
|
280
|
-
this.request("
|
|
116
|
+
DescribeInstanceMonitorSIP(req, cb) {
|
|
117
|
+
let resp = new DescribeInstanceMonitorSIPResponse();
|
|
118
|
+
this.request("DescribeInstanceMonitorSIP", req, resp, cb);
|
|
281
119
|
}
|
|
282
120
|
|
|
283
121
|
/**
|
|
@@ -291,149 +129,6 @@ class RedisClient extends AbstractClient {
|
|
|
291
129
|
this.request("DescribeSlowLog", req, resp, cb);
|
|
292
130
|
}
|
|
293
131
|
|
|
294
|
-
/**
|
|
295
|
-
* This API is used to query the list of tasks.
|
|
296
|
-
* @param {DescribeTaskListRequest} req
|
|
297
|
-
* @param {function(string, DescribeTaskListResponse):void} cb
|
|
298
|
-
* @public
|
|
299
|
-
*/
|
|
300
|
-
DescribeTaskList(req, cb) {
|
|
301
|
-
let resp = new DescribeTaskListResponse();
|
|
302
|
-
this.request("DescribeTaskList", req, resp, cb);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* This API is used to upgrade an instance.
|
|
307
|
-
* @param {UpgradeInstanceRequest} req
|
|
308
|
-
* @param {function(string, UpgradeInstanceResponse):void} cb
|
|
309
|
-
* @public
|
|
310
|
-
*/
|
|
311
|
-
UpgradeInstance(req, cb) {
|
|
312
|
-
let resp = new UpgradeInstanceResponse();
|
|
313
|
-
this.request("UpgradeInstance", req, resp, cb);
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* This API is used to deactivate an instance in the recycle bin immediately.
|
|
318
|
-
* @param {CleanUpInstanceRequest} req
|
|
319
|
-
* @param {function(string, CleanUpInstanceResponse):void} cb
|
|
320
|
-
* @public
|
|
321
|
-
*/
|
|
322
|
-
CleanUpInstance(req, cb) {
|
|
323
|
-
let resp = new CleanUpInstanceResponse();
|
|
324
|
-
this.request("CleanUpInstance", req, resp, cb);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* This API is used to query parameter template details.
|
|
329
|
-
* @param {DescribeParamTemplateInfoRequest} req
|
|
330
|
-
* @param {function(string, DescribeParamTemplateInfoResponse):void} cb
|
|
331
|
-
* @public
|
|
332
|
-
*/
|
|
333
|
-
DescribeParamTemplateInfo(req, cb) {
|
|
334
|
-
let resp = new DescribeParamTemplateInfoResponse();
|
|
335
|
-
this.request("DescribeParamTemplateInfo", req, resp, cb);
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* This API is used to view instance sub-account information.
|
|
340
|
-
* @param {DescribeInstanceAccountRequest} req
|
|
341
|
-
* @param {function(string, DescribeInstanceAccountResponse):void} cb
|
|
342
|
-
* @public
|
|
343
|
-
*/
|
|
344
|
-
DescribeInstanceAccount(req, cb) {
|
|
345
|
-
let resp = new DescribeInstanceAccountResponse();
|
|
346
|
-
this.request("DescribeInstanceAccount", req, resp, cb);
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* This API is used to get the backup configuration.
|
|
351
|
-
* @param {DescribeAutoBackupConfigRequest} req
|
|
352
|
-
* @param {function(string, DescribeAutoBackupConfigResponse):void} cb
|
|
353
|
-
* @public
|
|
354
|
-
*/
|
|
355
|
-
DescribeAutoBackupConfig(req, cb) {
|
|
356
|
-
let resp = new DescribeAutoBackupConfigResponse();
|
|
357
|
-
this.request("DescribeAutoBackupConfig", req, resp, cb);
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* This API is used to query the instance CPU time.
|
|
362
|
-
* @param {DescribeInstanceMonitorTopNCmdTookRequest} req
|
|
363
|
-
* @param {function(string, DescribeInstanceMonitorTopNCmdTookResponse):void} cb
|
|
364
|
-
* @public
|
|
365
|
-
*/
|
|
366
|
-
DescribeInstanceMonitorTopNCmdTook(req, cb) {
|
|
367
|
-
let resp = new DescribeInstanceMonitorTopNCmdTookResponse();
|
|
368
|
-
this.request("DescribeInstanceMonitorTopNCmdTook", req, resp, cb);
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* This API is used to promote a replica node group of a multi-AZ deployed instance to master node group or a replica node of a single-AZ deployed instance to master node.
|
|
373
|
-
* @param {ChangeReplicaToMasterRequest} req
|
|
374
|
-
* @param {function(string, ChangeReplicaToMasterResponse):void} cb
|
|
375
|
-
* @public
|
|
376
|
-
*/
|
|
377
|
-
ChangeReplicaToMaster(req, cb) {
|
|
378
|
-
let resp = new ChangeReplicaToMasterResponse();
|
|
379
|
-
this.request("ChangeReplicaToMaster", req, resp, cb);
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* This API is used to set an auto-backup schedule.
|
|
384
|
-
* @param {ModifyAutoBackupConfigRequest} req
|
|
385
|
-
* @param {function(string, ModifyAutoBackupConfigResponse):void} cb
|
|
386
|
-
* @public
|
|
387
|
-
*/
|
|
388
|
-
ModifyAutoBackupConfig(req, cb) {
|
|
389
|
-
let resp = new ModifyAutoBackupConfigResponse();
|
|
390
|
-
this.request("ModifyAutoBackupConfig", req, resp, cb);
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
* This API is used to get the information of cluster edition instance shards.
|
|
395
|
-
* @param {DescribeInstanceShardsRequest} req
|
|
396
|
-
* @param {function(string, DescribeInstanceShardsResponse):void} cb
|
|
397
|
-
* @public
|
|
398
|
-
*/
|
|
399
|
-
DescribeInstanceShards(req, cb) {
|
|
400
|
-
let resp = new DescribeInstanceShardsResponse();
|
|
401
|
-
this.request("DescribeInstanceShards", req, resp, cb);
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* This API is used to restore a Redis instance.
|
|
406
|
-
* @param {RestoreInstanceRequest} req
|
|
407
|
-
* @param {function(string, RestoreInstanceResponse):void} cb
|
|
408
|
-
* @public
|
|
409
|
-
*/
|
|
410
|
-
RestoreInstance(req, cb) {
|
|
411
|
-
let resp = new RestoreInstanceResponse();
|
|
412
|
-
this.request("RestoreInstance", req, resp, cb);
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* This API is used to query the list of Redis instances.
|
|
417
|
-
* @param {DescribeInstancesRequest} req
|
|
418
|
-
* @param {function(string, DescribeInstancesResponse):void} cb
|
|
419
|
-
* @public
|
|
420
|
-
*/
|
|
421
|
-
DescribeInstances(req, cb) {
|
|
422
|
-
let resp = new DescribeInstancesResponse();
|
|
423
|
-
this.request("DescribeInstances", req, resp, cb);
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
/**
|
|
427
|
-
* This API is used to delete a parameter template.
|
|
428
|
-
* @param {DeleteParamTemplateRequest} req
|
|
429
|
-
* @param {function(string, DeleteParamTemplateResponse):void} cb
|
|
430
|
-
* @public
|
|
431
|
-
*/
|
|
432
|
-
DeleteParamTemplate(req, cb) {
|
|
433
|
-
let resp = new DeleteParamTemplateResponse();
|
|
434
|
-
this.request("DeleteParamTemplate", req, resp, cb);
|
|
435
|
-
}
|
|
436
|
-
|
|
437
132
|
/**
|
|
438
133
|
* This API is used to query instance maintenance window. The maintenance window specifies a time period during which compatible version upgrade, architecture upgrade, backend maintenance, and other operations can be performed to avoid affecting business.
|
|
439
134
|
* @param {DescribeMaintenanceWindowRequest} req
|
|
@@ -445,259 +140,6 @@ class RedisClient extends AbstractClient {
|
|
|
445
140
|
this.request("DescribeMaintenanceWindow", req, resp, cb);
|
|
446
141
|
}
|
|
447
142
|
|
|
448
|
-
/**
|
|
449
|
-
* This API is used to query an instance access command.
|
|
450
|
-
* @param {DescribeInstanceMonitorTopNCmdRequest} req
|
|
451
|
-
* @param {function(string, DescribeInstanceMonitorTopNCmdResponse):void} cb
|
|
452
|
-
* @public
|
|
453
|
-
*/
|
|
454
|
-
DescribeInstanceMonitorTopNCmd(req, cb) {
|
|
455
|
-
let resp = new DescribeInstanceMonitorTopNCmdResponse();
|
|
456
|
-
this.request("DescribeInstanceMonitorTopNCmd", req, resp, cb);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* This API is used to create a parameter template.
|
|
461
|
-
* @param {CreateParamTemplateRequest} req
|
|
462
|
-
* @param {function(string, CreateParamTemplateResponse):void} cb
|
|
463
|
-
* @public
|
|
464
|
-
*/
|
|
465
|
-
CreateParamTemplate(req, cb) {
|
|
466
|
-
let resp = new CreateParamTemplateResponse();
|
|
467
|
-
this.request("CreateParamTemplate", req, resp, cb);
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* This API is used to disable read/write separation.
|
|
472
|
-
* @param {DisableReplicaReadonlyRequest} req
|
|
473
|
-
* @param {function(string, DisableReplicaReadonlyResponse):void} cb
|
|
474
|
-
* @public
|
|
475
|
-
*/
|
|
476
|
-
DisableReplicaReadonly(req, cb) {
|
|
477
|
-
let resp = new DisableReplicaReadonlyResponse();
|
|
478
|
-
this.request("DisableReplicaReadonly", req, resp, cb);
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* This API is used to query the DTS task details of an instance.
|
|
483
|
-
* @param {DescribeInstanceDTSInfoRequest} req
|
|
484
|
-
* @param {function(string, DescribeInstanceDTSInfoResponse):void} cb
|
|
485
|
-
* @public
|
|
486
|
-
*/
|
|
487
|
-
DescribeInstanceDTSInfo(req, cb) {
|
|
488
|
-
let resp = new DescribeInstanceDTSInfoResponse();
|
|
489
|
-
this.request("DescribeInstanceDTSInfo", req, resp, cb);
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
/**
|
|
493
|
-
* This API is used to modify the network configuration of an instance.
|
|
494
|
-
* @param {ModifyNetworkConfigRequest} req
|
|
495
|
-
* @param {function(string, ModifyNetworkConfigResponse):void} cb
|
|
496
|
-
* @public
|
|
497
|
-
*/
|
|
498
|
-
ModifyNetworkConfig(req, cb) {
|
|
499
|
-
let resp = new ModifyNetworkConfigResponse();
|
|
500
|
-
this.request("ModifyNetworkConfig", req, resp, cb);
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* This API is used to query the access source information of an instance.
|
|
505
|
-
* @param {DescribeInstanceMonitorSIPRequest} req
|
|
506
|
-
* @param {function(string, DescribeInstanceMonitorSIPResponse):void} cb
|
|
507
|
-
* @public
|
|
508
|
-
*/
|
|
509
|
-
DescribeInstanceMonitorSIP(req, cb) {
|
|
510
|
-
let resp = new DescribeInstanceMonitorSIPResponse();
|
|
511
|
-
this.request("DescribeInstanceMonitorSIP", req, resp, cb);
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* This API is used to create Redis instances.
|
|
516
|
-
* @param {CreateInstancesRequest} req
|
|
517
|
-
* @param {function(string, CreateInstancesResponse):void} cb
|
|
518
|
-
* @public
|
|
519
|
-
*/
|
|
520
|
-
CreateInstances(req, cb) {
|
|
521
|
-
let resp = new CreateInstancesResponse();
|
|
522
|
-
this.request("CreateInstances", req, resp, cb);
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* This API is used to modify an instance sub-account.
|
|
527
|
-
* @param {ModifyInstanceAccountRequest} req
|
|
528
|
-
* @param {function(string, ModifyInstanceAccountResponse):void} cb
|
|
529
|
-
* @public
|
|
530
|
-
*/
|
|
531
|
-
ModifyInstanceAccount(req, cb) {
|
|
532
|
-
let resp = new ModifyInstanceAccountResponse();
|
|
533
|
-
this.request("ModifyInstanceAccount", req, resp, cb);
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
/**
|
|
537
|
-
* This API is used to upgrade compatible instance version (for example, from Redis 2.8 to 4.0), or upgrade instance architecture (for example, from standard architecture to cluster architecture).
|
|
538
|
-
* @param {UpgradeInstanceVersionRequest} req
|
|
539
|
-
* @param {function(string, UpgradeInstanceVersionResponse):void} cb
|
|
540
|
-
* @public
|
|
541
|
-
*/
|
|
542
|
-
UpgradeInstanceVersion(req, cb) {
|
|
543
|
-
let resp = new UpgradeInstanceVersionResponse();
|
|
544
|
-
this.request("UpgradeInstanceVersion", req, resp, cb);
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* This API is used to query the price for scaling an instance.
|
|
549
|
-
* @param {InquiryPriceUpgradeInstanceRequest} req
|
|
550
|
-
* @param {function(string, InquiryPriceUpgradeInstanceResponse):void} cb
|
|
551
|
-
* @public
|
|
552
|
-
*/
|
|
553
|
-
InquiryPriceUpgradeInstance(req, cb) {
|
|
554
|
-
let resp = new InquiryPriceUpgradeInstanceResponse();
|
|
555
|
-
this.request("InquiryPriceUpgradeInstance", req, resp, cb);
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* This API is used to query the security group information of a project.
|
|
560
|
-
* @param {DescribeProjectSecurityGroupRequest} req
|
|
561
|
-
* @param {function(string, DescribeProjectSecurityGroupResponse):void} cb
|
|
562
|
-
* @public
|
|
563
|
-
*/
|
|
564
|
-
DescribeProjectSecurityGroup(req, cb) {
|
|
565
|
-
let resp = new DescribeProjectSecurityGroupResponse();
|
|
566
|
-
this.request("DescribeProjectSecurityGroup", req, resp, cb);
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* This API is used to query the hot key of an instance.
|
|
571
|
-
* @param {DescribeInstanceMonitorHotKeyRequest} req
|
|
572
|
-
* @param {function(string, DescribeInstanceMonitorHotKeyResponse):void} cb
|
|
573
|
-
* @public
|
|
574
|
-
*/
|
|
575
|
-
DescribeInstanceMonitorHotKey(req, cb) {
|
|
576
|
-
let resp = new DescribeInstanceMonitorHotKeyResponse();
|
|
577
|
-
this.request("DescribeInstanceMonitorHotKey", req, resp, cb);
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
/**
|
|
581
|
-
* This API is used to query a task result.
|
|
582
|
-
* @param {DescribeTaskInfoRequest} req
|
|
583
|
-
* @param {function(string, DescribeTaskInfoResponse):void} cb
|
|
584
|
-
* @public
|
|
585
|
-
*/
|
|
586
|
-
DescribeTaskInfo(req, cb) {
|
|
587
|
-
let resp = new DescribeTaskInfoResponse();
|
|
588
|
-
this.request("DescribeTaskInfo", req, resp, cb);
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* This API is used to query the download address of a backup RDB (it is during beta test and can be used only after you apply for the eligibility).
|
|
593
|
-
* @param {DescribeBackupUrlRequest} req
|
|
594
|
-
* @param {function(string, DescribeBackupUrlResponse):void} cb
|
|
595
|
-
* @public
|
|
596
|
-
*/
|
|
597
|
-
DescribeBackupUrl(req, cb) {
|
|
598
|
-
let resp = new DescribeBackupUrlResponse();
|
|
599
|
-
this.request("DescribeBackupUrl", req, resp, cb);
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
/**
|
|
603
|
-
* This API is used to query proxy slow logs.
|
|
604
|
-
* @param {DescribeProxySlowLogRequest} req
|
|
605
|
-
* @param {function(string, DescribeProxySlowLogResponse):void} cb
|
|
606
|
-
* @public
|
|
607
|
-
*/
|
|
608
|
-
DescribeProxySlowLog(req, cb) {
|
|
609
|
-
let resp = new DescribeProxySlowLogResponse();
|
|
610
|
-
this.request("DescribeProxySlowLog", req, resp, cb);
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
/**
|
|
614
|
-
* This API is used to query the security group details of a project.
|
|
615
|
-
* @param {DescribeProjectSecurityGroupsRequest} req
|
|
616
|
-
* @param {function(string, DescribeProjectSecurityGroupsResponse):void} cb
|
|
617
|
-
* @public
|
|
618
|
-
*/
|
|
619
|
-
DescribeProjectSecurityGroups(req, cb) {
|
|
620
|
-
let resp = new DescribeProjectSecurityGroupsResponse();
|
|
621
|
-
this.request("DescribeProjectSecurityGroups", req, resp, cb);
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
/**
|
|
625
|
-
* This API is used to query slow queries of a TencentDB for Tendis instance.
|
|
626
|
-
* @param {DescribeTendisSlowLogRequest} req
|
|
627
|
-
* @param {function(string, DescribeTendisSlowLogResponse):void} cb
|
|
628
|
-
* @public
|
|
629
|
-
*/
|
|
630
|
-
DescribeTendisSlowLog(req, cb) {
|
|
631
|
-
let resp = new DescribeTendisSlowLogResponse();
|
|
632
|
-
this.request("DescribeTendisSlowLog", req, resp, cb);
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* This API is used to associate a security group with instances in batches.
|
|
637
|
-
* @param {AssociateSecurityGroupsRequest} req
|
|
638
|
-
* @param {function(string, AssociateSecurityGroupsResponse):void} cb
|
|
639
|
-
* @public
|
|
640
|
-
*/
|
|
641
|
-
AssociateSecurityGroups(req, cb) {
|
|
642
|
-
let resp = new AssociateSecurityGroupsResponse();
|
|
643
|
-
this.request("AssociateSecurityGroups", req, resp, cb);
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/**
|
|
647
|
-
* This API is used to modify instance parameters.
|
|
648
|
-
* @param {ModifyInstanceParamsRequest} req
|
|
649
|
-
* @param {function(string, ModifyInstanceParamsResponse):void} cb
|
|
650
|
-
* @public
|
|
651
|
-
*/
|
|
652
|
-
ModifyInstanceParams(req, cb) {
|
|
653
|
-
let resp = new ModifyInstanceParamsResponse();
|
|
654
|
-
this.request("ModifyInstanceParams", req, resp, cb);
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
/**
|
|
658
|
-
* This API is used to modify a parameter template.
|
|
659
|
-
* @param {ModifyParamTemplateRequest} req
|
|
660
|
-
* @param {function(string, ModifyParamTemplateResponse):void} cb
|
|
661
|
-
* @public
|
|
662
|
-
*/
|
|
663
|
-
ModifyParamTemplate(req, cb) {
|
|
664
|
-
let resp = new ModifyParamTemplateResponse();
|
|
665
|
-
this.request("ModifyParamTemplate", req, resp, cb);
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* This API is used to query the price for purchasing an instance.
|
|
670
|
-
* @param {InquiryPriceCreateInstanceRequest} req
|
|
671
|
-
* @param {function(string, InquiryPriceCreateInstanceResponse):void} cb
|
|
672
|
-
* @public
|
|
673
|
-
*/
|
|
674
|
-
InquiryPriceCreateInstance(req, cb) {
|
|
675
|
-
let resp = new InquiryPriceCreateInstanceResponse();
|
|
676
|
-
this.request("InquiryPriceCreateInstance", req, resp, cb);
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* This API is used to modify the security groups associated with an instance.
|
|
681
|
-
* @param {ModifyDBInstanceSecurityGroupsRequest} req
|
|
682
|
-
* @param {function(string, ModifyDBInstanceSecurityGroupsResponse):void} cb
|
|
683
|
-
* @public
|
|
684
|
-
*/
|
|
685
|
-
ModifyDBInstanceSecurityGroups(req, cb) {
|
|
686
|
-
let resp = new ModifyDBInstanceSecurityGroupsResponse();
|
|
687
|
-
this.request("ModifyDBInstanceSecurityGroups", req, resp, cb);
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
/**
|
|
691
|
-
* This API is used to terminate a pay-as-you-go instance.
|
|
692
|
-
* @param {DestroyPostpaidInstanceRequest} req
|
|
693
|
-
* @param {function(string, DestroyPostpaidInstanceResponse):void} cb
|
|
694
|
-
* @public
|
|
695
|
-
*/
|
|
696
|
-
DestroyPostpaidInstance(req, cb) {
|
|
697
|
-
let resp = new DestroyPostpaidInstanceResponse();
|
|
698
|
-
this.request("DestroyPostpaidInstance", req, resp, cb);
|
|
699
|
-
}
|
|
700
|
-
|
|
701
143
|
/**
|
|
702
144
|
* This API is used to query the big key of an instance.
|
|
703
145
|
* @param {DescribeInstanceMonitorBigKeyRequest} req
|
|
@@ -710,14 +152,14 @@ class RedisClient extends AbstractClient {
|
|
|
710
152
|
}
|
|
711
153
|
|
|
712
154
|
/**
|
|
713
|
-
* This API is used to
|
|
714
|
-
* @param {
|
|
715
|
-
* @param {function(string,
|
|
155
|
+
* This API is used to view instance sub-account information.
|
|
156
|
+
* @param {DescribeInstanceAccountRequest} req
|
|
157
|
+
* @param {function(string, DescribeInstanceAccountResponse):void} cb
|
|
716
158
|
* @public
|
|
717
159
|
*/
|
|
718
|
-
|
|
719
|
-
let resp = new
|
|
720
|
-
this.request("
|
|
160
|
+
DescribeInstanceAccount(req, cb) {
|
|
161
|
+
let resp = new DescribeInstanceAccountResponse();
|
|
162
|
+
this.request("DescribeInstanceAccount", req, resp, cb);
|
|
721
163
|
}
|
|
722
164
|
|
|
723
165
|
/**
|
|
@@ -732,80 +174,36 @@ class RedisClient extends AbstractClient {
|
|
|
732
174
|
}
|
|
733
175
|
|
|
734
176
|
/**
|
|
735
|
-
* This API is used to
|
|
736
|
-
* @param {
|
|
737
|
-
* @param {function(string,
|
|
738
|
-
* @public
|
|
739
|
-
*/
|
|
740
|
-
ResetPassword(req, cb) {
|
|
741
|
-
let resp = new ResetPasswordResponse();
|
|
742
|
-
this.request("ResetPassword", req, resp, cb);
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
/**
|
|
746
|
-
* This API is used to perform a failure simulation.
|
|
747
|
-
* @param {KillMasterGroupRequest} req
|
|
748
|
-
* @param {function(string, KillMasterGroupResponse):void} cb
|
|
749
|
-
* @public
|
|
750
|
-
*/
|
|
751
|
-
KillMasterGroup(req, cb) {
|
|
752
|
-
let resp = new KillMasterGroupResponse();
|
|
753
|
-
this.request("KillMasterGroup", req, resp, cb);
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
/**
|
|
757
|
-
* This API is used to upgrade an instance to support multi-AZ deployment.
|
|
758
|
-
* @param {UpgradeVersionToMultiAvailabilityZonesRequest} req
|
|
759
|
-
* @param {function(string, UpgradeVersionToMultiAvailabilityZonesResponse):void} cb
|
|
760
|
-
* @public
|
|
761
|
-
*/
|
|
762
|
-
UpgradeVersionToMultiAvailabilityZones(req, cb) {
|
|
763
|
-
let resp = new UpgradeVersionToMultiAvailabilityZonesResponse();
|
|
764
|
-
this.request("UpgradeVersionToMultiAvailabilityZones", req, resp, cb);
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
/**
|
|
768
|
-
* (Disused) Queries the list of instances
|
|
769
|
-
* @param {DescribeCommonDBInstancesRequest} req
|
|
770
|
-
* @param {function(string, DescribeCommonDBInstancesResponse):void} cb
|
|
771
|
-
* @public
|
|
772
|
-
*/
|
|
773
|
-
DescribeCommonDBInstances(req, cb) {
|
|
774
|
-
let resp = new DescribeCommonDBInstancesResponse();
|
|
775
|
-
this.request("DescribeCommonDBInstances", req, resp, cb);
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
/**
|
|
779
|
-
* This API is used to query the purchasable capacity specifications of Redis instances in the specified AZ and instance type. If you are not in the allowlist for the AZ or instance type, you cannot view the details of the capacity specifications. To apply for the eligibility, please submit a ticket.
|
|
780
|
-
* @param {DescribeProductInfoRequest} req
|
|
781
|
-
* @param {function(string, DescribeProductInfoResponse):void} cb
|
|
177
|
+
* This API is used to query an instance access command.
|
|
178
|
+
* @param {DescribeInstanceMonitorTopNCmdRequest} req
|
|
179
|
+
* @param {function(string, DescribeInstanceMonitorTopNCmdResponse):void} cb
|
|
782
180
|
* @public
|
|
783
181
|
*/
|
|
784
|
-
|
|
785
|
-
let resp = new
|
|
786
|
-
this.request("
|
|
182
|
+
DescribeInstanceMonitorTopNCmd(req, cb) {
|
|
183
|
+
let resp = new DescribeInstanceMonitorTopNCmdResponse();
|
|
184
|
+
this.request("DescribeInstanceMonitorTopNCmd", req, resp, cb);
|
|
787
185
|
}
|
|
788
186
|
|
|
789
187
|
/**
|
|
790
|
-
* This API is used to
|
|
791
|
-
* @param {
|
|
792
|
-
* @param {function(string,
|
|
188
|
+
* This API is used to query the instance CPU time.
|
|
189
|
+
* @param {DescribeInstanceMonitorTopNCmdTookRequest} req
|
|
190
|
+
* @param {function(string, DescribeInstanceMonitorTopNCmdTookResponse):void} cb
|
|
793
191
|
* @public
|
|
794
192
|
*/
|
|
795
|
-
|
|
796
|
-
let resp = new
|
|
797
|
-
this.request("
|
|
193
|
+
DescribeInstanceMonitorTopNCmdTook(req, cb) {
|
|
194
|
+
let resp = new DescribeInstanceMonitorTopNCmdTookResponse();
|
|
195
|
+
this.request("DescribeInstanceMonitorTopNCmdTook", req, resp, cb);
|
|
798
196
|
}
|
|
799
197
|
|
|
800
198
|
/**
|
|
801
|
-
* This API is used to
|
|
802
|
-
* @param {
|
|
803
|
-
* @param {function(string,
|
|
199
|
+
* This API is used to query the hot key of an instance.
|
|
200
|
+
* @param {DescribeInstanceMonitorHotKeyRequest} req
|
|
201
|
+
* @param {function(string, DescribeInstanceMonitorHotKeyResponse):void} cb
|
|
804
202
|
* @public
|
|
805
203
|
*/
|
|
806
|
-
|
|
807
|
-
let resp = new
|
|
808
|
-
this.request("
|
|
204
|
+
DescribeInstanceMonitorHotKey(req, cb) {
|
|
205
|
+
let resp = new DescribeInstanceMonitorHotKeyResponse();
|
|
206
|
+
this.request("DescribeInstanceMonitorHotKey", req, resp, cb);
|
|
809
207
|
}
|
|
810
208
|
|
|
811
209
|
/**
|
|
@@ -820,146 +218,14 @@ class RedisClient extends AbstractClient {
|
|
|
820
218
|
}
|
|
821
219
|
|
|
822
220
|
/**
|
|
823
|
-
* This API is used to query the
|
|
824
|
-
* @param {
|
|
825
|
-
* @param {function(string,
|
|
826
|
-
* @public
|
|
827
|
-
*/
|
|
828
|
-
DescribeDBSecurityGroups(req, cb) {
|
|
829
|
-
let resp = new DescribeDBSecurityGroupsResponse();
|
|
830
|
-
this.request("DescribeDBSecurityGroups", req, resp, cb);
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* This API is used to query the list of instance parameters.
|
|
835
|
-
* @param {DescribeInstanceParamsRequest} req
|
|
836
|
-
* @param {function(string, DescribeInstanceParamsResponse):void} cb
|
|
837
|
-
* @public
|
|
838
|
-
*/
|
|
839
|
-
DescribeInstanceParams(req, cb) {
|
|
840
|
-
let resp = new DescribeInstanceParamsResponse();
|
|
841
|
-
this.request("DescribeInstanceParams", req, resp, cb);
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
/**
|
|
845
|
-
* This API is used to apply a parameter template to instances.
|
|
846
|
-
* @param {ApplyParamsTemplateRequest} req
|
|
847
|
-
* @param {function(string, ApplyParamsTemplateResponse):void} cb
|
|
848
|
-
* @public
|
|
849
|
-
*/
|
|
850
|
-
ApplyParamsTemplate(req, cb) {
|
|
851
|
-
let resp = new ApplyParamsTemplateResponse();
|
|
852
|
-
this.request("ApplyParamsTemplate", req, resp, cb);
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
/**
|
|
856
|
-
* This API is used to return a monthly subscribed instance.
|
|
857
|
-
* @param {DestroyPrepaidInstanceRequest} req
|
|
858
|
-
* @param {function(string, DestroyPrepaidInstanceResponse):void} cb
|
|
859
|
-
* @public
|
|
860
|
-
*/
|
|
861
|
-
DestroyPrepaidInstance(req, cb) {
|
|
862
|
-
let resp = new DestroyPrepaidInstanceResponse();
|
|
863
|
-
this.request("DestroyPrepaidInstance", req, resp, cb);
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
/**
|
|
867
|
-
* This API is used to query the list of parameter modifications.
|
|
868
|
-
* @param {DescribeInstanceParamRecordsRequest} req
|
|
869
|
-
* @param {function(string, DescribeInstanceParamRecordsResponse):void} cb
|
|
870
|
-
* @public
|
|
871
|
-
*/
|
|
872
|
-
DescribeInstanceParamRecords(req, cb) {
|
|
873
|
-
let resp = new DescribeInstanceParamRecordsResponse();
|
|
874
|
-
this.request("DescribeInstanceParamRecords", req, resp, cb);
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* This API is used to clear the data of a Redis instance.
|
|
879
|
-
* @param {ClearInstanceRequest} req
|
|
880
|
-
* @param {function(string, ClearInstanceResponse):void} cb
|
|
881
|
-
* @public
|
|
882
|
-
*/
|
|
883
|
-
ClearInstance(req, cb) {
|
|
884
|
-
let resp = new ClearInstanceResponse();
|
|
885
|
-
this.request("ClearInstance", req, resp, cb);
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
/**
|
|
889
|
-
* This API is used to query Redis node information.
|
|
890
|
-
* @param {DescribeInstanceZoneInfoRequest} req
|
|
891
|
-
* @param {function(string, DescribeInstanceZoneInfoResponse):void} cb
|
|
892
|
-
* @public
|
|
893
|
-
*/
|
|
894
|
-
DescribeInstanceZoneInfo(req, cb) {
|
|
895
|
-
let resp = new DescribeInstanceZoneInfoResponse();
|
|
896
|
-
this.request("DescribeInstanceZoneInfo", req, resp, cb);
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* This API is used to query the order information.
|
|
901
|
-
* @param {DescribeInstanceDealDetailRequest} req
|
|
902
|
-
* @param {function(string, DescribeInstanceDealDetailResponse):void} cb
|
|
903
|
-
* @public
|
|
904
|
-
*/
|
|
905
|
-
DescribeInstanceDealDetail(req, cb) {
|
|
906
|
-
let resp = new DescribeInstanceDealDetailResponse();
|
|
907
|
-
this.request("DescribeInstanceDealDetail", req, resp, cb);
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
/**
|
|
911
|
-
* This API is used to delete an instance sub-account.
|
|
912
|
-
* @param {DeleteInstanceAccountRequest} req
|
|
913
|
-
* @param {function(string, DeleteInstanceAccountResponse):void} cb
|
|
914
|
-
* @public
|
|
915
|
-
*/
|
|
916
|
-
DeleteInstanceAccount(req, cb) {
|
|
917
|
-
let resp = new DeleteInstanceAccountResponse();
|
|
918
|
-
this.request("DeleteInstanceAccount", req, resp, cb);
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
/**
|
|
922
|
-
* This API is used to query the list of Redis instance backups.
|
|
923
|
-
* @param {DescribeInstanceBackupsRequest} req
|
|
924
|
-
* @param {function(string, DescribeInstanceBackupsResponse):void} cb
|
|
925
|
-
* @public
|
|
926
|
-
*/
|
|
927
|
-
DescribeInstanceBackups(req, cb) {
|
|
928
|
-
let resp = new DescribeInstanceBackupsResponse();
|
|
929
|
-
this.request("DescribeInstanceBackups", req, resp, cb);
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
/**
|
|
933
|
-
* This API is used to unassociate security groups from instances in batches.
|
|
934
|
-
* @param {DisassociateSecurityGroupsRequest} req
|
|
935
|
-
* @param {function(string, DisassociateSecurityGroupsResponse):void} cb
|
|
936
|
-
* @public
|
|
937
|
-
*/
|
|
938
|
-
DisassociateSecurityGroups(req, cb) {
|
|
939
|
-
let resp = new DisassociateSecurityGroupsResponse();
|
|
940
|
-
this.request("DisassociateSecurityGroups", req, resp, cb);
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
/**
|
|
944
|
-
* This API is used to deisolate an instance.
|
|
945
|
-
* @param {StartupInstanceRequest} req
|
|
946
|
-
* @param {function(string, StartupInstanceResponse):void} cb
|
|
947
|
-
* @public
|
|
948
|
-
*/
|
|
949
|
-
StartupInstance(req, cb) {
|
|
950
|
-
let resp = new StartupInstanceResponse();
|
|
951
|
-
this.request("StartupInstance", req, resp, cb);
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* This API is used to modify instance information.
|
|
956
|
-
* @param {ModifyInstanceRequest} req
|
|
957
|
-
* @param {function(string, ModifyInstanceResponse):void} cb
|
|
221
|
+
* This API is used to query the price for purchasing an instance.
|
|
222
|
+
* @param {InquiryPriceCreateInstanceRequest} req
|
|
223
|
+
* @param {function(string, InquiryPriceCreateInstanceResponse):void} cb
|
|
958
224
|
* @public
|
|
959
225
|
*/
|
|
960
|
-
|
|
961
|
-
let resp = new
|
|
962
|
-
this.request("
|
|
226
|
+
InquiryPriceCreateInstance(req, cb) {
|
|
227
|
+
let resp = new InquiryPriceCreateInstanceResponse();
|
|
228
|
+
this.request("InquiryPriceCreateInstance", req, resp, cb);
|
|
963
229
|
}
|
|
964
230
|
|
|
965
231
|
/**
|
|
@@ -974,14 +240,14 @@ class RedisClient extends AbstractClient {
|
|
|
974
240
|
}
|
|
975
241
|
|
|
976
242
|
/**
|
|
977
|
-
* This API is used to
|
|
978
|
-
* @param {
|
|
979
|
-
* @param {function(string,
|
|
243
|
+
* This API is used to query the purchasable capacity specifications of Redis instances in the specified AZ and instance type. If you are not in the allowlist for the AZ or instance type, you cannot view the details of the capacity specifications. To apply for the eligibility, please submit a ticket.
|
|
244
|
+
* @param {DescribeProductInfoRequest} req
|
|
245
|
+
* @param {function(string, DescribeProductInfoResponse):void} cb
|
|
980
246
|
* @public
|
|
981
247
|
*/
|
|
982
|
-
|
|
983
|
-
let resp = new
|
|
984
|
-
this.request("
|
|
248
|
+
DescribeProductInfo(req, cb) {
|
|
249
|
+
let resp = new DescribeProductInfoResponse();
|
|
250
|
+
this.request("DescribeProductInfo", req, resp, cb);
|
|
985
251
|
}
|
|
986
252
|
|
|
987
253
|
|