tencentcloud-sdk-nodejs-intl-en 3.0.358 → 3.0.362
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/cbs/v20170312/cbs_client.js +5 -4
- package/tencentcloud/cbs/v20170312/models.js +209 -140
- package/tencentcloud/cdb/v20170320/cdb_client.js +28 -41
- package/tencentcloud/cdb/v20170320/models.js +204 -238
- package/tencentcloud/cdn/v20180606/models.js +18 -8
- package/tencentcloud/ckafka/v20190819/ckafka_client.js +39 -10
- package/tencentcloud/ckafka/v20190819/models.js +524 -86
- package/tencentcloud/clb/v20180317/clb_client.js +27 -1
- package/tencentcloud/clb/v20180317/models.js +338 -31
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dts/v20180330/dts_client.js +8 -127
- package/tencentcloud/dts/v20180330/models.js +1100 -2192
- package/tencentcloud/es/v20180416/es_client.js +18 -2
- package/tencentcloud/es/v20180416/models.js +670 -36
- package/tencentcloud/postgres/v20170312/models.js +118 -13
- package/tencentcloud/postgres/v20170312/postgres_client.js +1 -0
- package/tencentcloud/tke/v20180525/models.js +8 -1
|
@@ -16,24 +16,18 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
-
const DescribeSyncJobsResponse = models.DescribeSyncJobsResponse;
|
|
20
19
|
const DescribeMigrateJobsResponse = models.DescribeMigrateJobsResponse;
|
|
21
|
-
const
|
|
20
|
+
const MigrateStepDetailInfo = models.MigrateStepDetailInfo;
|
|
22
21
|
const DeleteMigrateJobResponse = models.DeleteMigrateJobResponse;
|
|
23
22
|
const CreateMigrateCheckJobRequest = models.CreateMigrateCheckJobRequest;
|
|
24
23
|
const ModifySubscribeVipVportRequest = models.ModifySubscribeVipVportRequest;
|
|
25
|
-
const SyncInstanceInfo = models.SyncInstanceInfo;
|
|
26
24
|
const ModifySubscribeNameResponse = models.ModifySubscribeNameResponse;
|
|
27
|
-
const CreateSyncJobResponse = models.CreateSyncJobResponse;
|
|
28
25
|
const DescribeMigrateCheckJobRequest = models.DescribeMigrateCheckJobRequest;
|
|
29
26
|
const IsolateSubscribeResponse = models.IsolateSubscribeResponse;
|
|
30
27
|
const ModifySubscribeObjectsResponse = models.ModifySubscribeObjectsResponse;
|
|
31
|
-
const SwitchDrToMasterRequest = models.SwitchDrToMasterRequest;
|
|
32
|
-
const StartSyncJobRequest = models.StartSyncJobRequest;
|
|
33
28
|
const CreateMigrateJobRequest = models.CreateMigrateJobRequest;
|
|
34
|
-
const
|
|
29
|
+
const SubscribeRegionConf = models.SubscribeRegionConf;
|
|
35
30
|
const ModifySubscribeNameRequest = models.ModifySubscribeNameRequest;
|
|
36
|
-
const SyncJobInfo = models.SyncJobInfo;
|
|
37
31
|
const ModifySubscribeConsumeTimeResponse = models.ModifySubscribeConsumeTimeResponse;
|
|
38
32
|
const DstInfo = models.DstInfo;
|
|
39
33
|
const DescribeSubscribeConfResponse = models.DescribeSubscribeConfResponse;
|
|
@@ -43,57 +37,41 @@ const ConsistencyParams = models.ConsistencyParams;
|
|
|
43
37
|
const ModifyMigrateJobRequest = models.ModifyMigrateJobRequest;
|
|
44
38
|
const CreateSubscribeRequest = models.CreateSubscribeRequest;
|
|
45
39
|
const CreateMigrateCheckJobResponse = models.CreateMigrateCheckJobResponse;
|
|
46
|
-
const MigrateStepDetailInfo = models.MigrateStepDetailInfo;
|
|
47
40
|
const ModifySubscribeObjectsRequest = models.ModifySubscribeObjectsRequest;
|
|
48
41
|
const DescribeMigrateCheckJobResponse = models.DescribeMigrateCheckJobResponse;
|
|
49
|
-
const SubscribeRegionConf = models.SubscribeRegionConf;
|
|
50
42
|
const ActivateSubscribeRequest = models.ActivateSubscribeRequest;
|
|
51
43
|
const OfflineIsolatedSubscribeRequest = models.OfflineIsolatedSubscribeRequest;
|
|
52
44
|
const DescribeSubscribesRequest = models.DescribeSubscribesRequest;
|
|
53
45
|
const ResetSubscribeResponse = models.ResetSubscribeResponse;
|
|
54
|
-
const StartSyncJobResponse = models.StartSyncJobResponse;
|
|
55
46
|
const DescribeSubscribesResponse = models.DescribeSubscribesResponse;
|
|
56
|
-
const
|
|
57
|
-
const CreateSyncCheckJobResponse = models.CreateSyncCheckJobResponse;
|
|
47
|
+
const ModifySubscribeConsumeTimeRequest = models.ModifySubscribeConsumeTimeRequest;
|
|
58
48
|
const StopMigrateJobRequest = models.StopMigrateJobRequest;
|
|
59
|
-
const
|
|
49
|
+
const MigrateDetailInfo = models.MigrateDetailInfo;
|
|
60
50
|
const DescribeRegionConfResponse = models.DescribeRegionConfResponse;
|
|
61
|
-
const ModifySyncJobResponse = models.ModifySyncJobResponse;
|
|
62
51
|
const DescribeAsyncRequestInfoResponse = models.DescribeAsyncRequestInfoResponse;
|
|
63
|
-
const
|
|
52
|
+
const SubscribeInfo = models.SubscribeInfo;
|
|
64
53
|
const ResetSubscribeRequest = models.ResetSubscribeRequest;
|
|
65
54
|
const TagItem = models.TagItem;
|
|
66
55
|
const TagFilter = models.TagFilter;
|
|
67
|
-
const ModifySubscribeConsumeTimeRequest = models.ModifySubscribeConsumeTimeRequest;
|
|
68
|
-
const SwitchDrToMasterResponse = models.SwitchDrToMasterResponse;
|
|
69
56
|
const ModifyMigrateJobResponse = models.ModifyMigrateJobResponse;
|
|
70
|
-
const CreateSyncJobRequest = models.CreateSyncJobRequest;
|
|
71
|
-
const DescribeSyncJobsRequest = models.DescribeSyncJobsRequest;
|
|
72
57
|
const DescribeMigrateJobsRequest = models.DescribeMigrateJobsRequest;
|
|
73
|
-
const SyncDetailInfo = models.SyncDetailInfo;
|
|
74
58
|
const StopMigrateJobResponse = models.StopMigrateJobResponse;
|
|
75
|
-
const SyncOption = models.SyncOption;
|
|
76
59
|
const OfflineIsolatedSubscribeResponse = models.OfflineIsolatedSubscribeResponse;
|
|
77
|
-
const SyncStepDetailInfo = models.SyncStepDetailInfo;
|
|
78
60
|
const IsolateSubscribeRequest = models.IsolateSubscribeRequest;
|
|
79
|
-
const
|
|
80
|
-
const
|
|
81
|
-
const ModifySyncJobRequest = models.ModifySyncJobRequest;
|
|
61
|
+
const CompleteMigrateJobRequest = models.CompleteMigrateJobRequest;
|
|
62
|
+
const MigrateJobInfo = models.MigrateJobInfo;
|
|
82
63
|
const DescribeRegionConfRequest = models.DescribeRegionConfRequest;
|
|
83
64
|
const CompleteMigrateJobResponse = models.CompleteMigrateJobResponse;
|
|
84
|
-
const StartMigrateJobResponse = models.StartMigrateJobResponse;
|
|
85
65
|
const SubscribeObject = models.SubscribeObject;
|
|
86
66
|
const CreateMigrateJobResponse = models.CreateMigrateJobResponse;
|
|
87
67
|
const DescribeSubscribeConfRequest = models.DescribeSubscribeConfRequest;
|
|
88
68
|
const ModifySubscribeVipVportResponse = models.ModifySubscribeVipVportResponse;
|
|
89
|
-
const MigrateJobInfo = models.MigrateJobInfo;
|
|
90
69
|
const DeleteMigrateJobRequest = models.DeleteMigrateJobRequest;
|
|
91
|
-
const DeleteSyncJobRequest = models.DeleteSyncJobRequest;
|
|
92
70
|
const ActivateSubscribeResponse = models.ActivateSubscribeResponse;
|
|
93
71
|
const CreateSubscribeResponse = models.CreateSubscribeResponse;
|
|
94
72
|
const MigrateOption = models.MigrateOption;
|
|
95
73
|
const ErrorInfo = models.ErrorInfo;
|
|
96
|
-
const
|
|
74
|
+
const StartMigrateJobResponse = models.StartMigrateJobResponse;
|
|
97
75
|
const StartMigrateJobRequest = models.StartMigrateJobRequest;
|
|
98
76
|
|
|
99
77
|
|
|
@@ -107,28 +85,6 @@ class DtsClient extends AbstractClient {
|
|
|
107
85
|
super("dts.tencentcloudapi.com", "2018-03-30", credential, region, profile);
|
|
108
86
|
}
|
|
109
87
|
|
|
110
|
-
/**
|
|
111
|
-
* This API is used to delete a disaster recovery sync task. Sync tasks that are running cannot be deleted.
|
|
112
|
-
* @param {DeleteSyncJobRequest} req
|
|
113
|
-
* @param {function(string, DeleteSyncJobResponse):void} cb
|
|
114
|
-
* @public
|
|
115
|
-
*/
|
|
116
|
-
DeleteSyncJob(req, cb) {
|
|
117
|
-
let resp = new DeleteSyncJobResponse();
|
|
118
|
-
this.request("DeleteSyncJob", req, resp, cb);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* This API is used to query disaster recovery sync tasks initiated on the DTS platform.
|
|
123
|
-
* @param {DescribeSyncJobsRequest} req
|
|
124
|
-
* @param {function(string, DescribeSyncJobsResponse):void} cb
|
|
125
|
-
* @public
|
|
126
|
-
*/
|
|
127
|
-
DescribeSyncJobs(req, cb) {
|
|
128
|
-
let resp = new DescribeSyncJobsResponse();
|
|
129
|
-
this.request("DescribeSyncJobs", req, resp, cb);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
88
|
/**
|
|
133
89
|
* This API is used to configure a data subscription, which can be called only for subscription instances in unconfigured status.
|
|
134
90
|
* @param {ActivateSubscribeRequest} req
|
|
@@ -140,31 +96,6 @@ class DtsClient extends AbstractClient {
|
|
|
140
96
|
this.request("ActivateSubscribe", req, resp, cb);
|
|
141
97
|
}
|
|
142
98
|
|
|
143
|
-
/**
|
|
144
|
-
* This API is used to modify a disaster recovery sync task.
|
|
145
|
-
If the status of a sync task is creating, created, check succeeded, or check failed, this API can be called to modify the task.
|
|
146
|
-
The information of the source and target instances cannot be modified, but the task name and the tables to be synced can.
|
|
147
|
-
* @param {ModifySyncJobRequest} req
|
|
148
|
-
* @param {function(string, ModifySyncJobResponse):void} cb
|
|
149
|
-
* @public
|
|
150
|
-
*/
|
|
151
|
-
ModifySyncJob(req, cb) {
|
|
152
|
-
let resp = new ModifySyncJobResponse();
|
|
153
|
-
this.request("ModifySyncJob", req, resp, cb);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* This API (CreateSyncJob) is used to create a disaster recovery sync task.
|
|
158
|
-
After successful creation, check can be initiated through the CreateSyncCheckJob API. The sync task can be started through the StartSyncJob API only if the check succeeds.
|
|
159
|
-
* @param {CreateSyncJobRequest} req
|
|
160
|
-
* @param {function(string, CreateSyncJobResponse):void} cb
|
|
161
|
-
* @public
|
|
162
|
-
*/
|
|
163
|
-
CreateSyncJob(req, cb) {
|
|
164
|
-
let resp = new CreateSyncJobResponse();
|
|
165
|
-
this.request("CreateSyncJob", req, resp, cb);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
99
|
/**
|
|
169
100
|
* This API is used to modify the subscription rule of a data subscription channel.
|
|
170
101
|
* @param {ModifySubscribeObjectsRequest} req
|
|
@@ -176,17 +107,6 @@ After successful creation, check can be initiated through the CreateSyncCheckJob
|
|
|
176
107
|
this.request("ModifySubscribeObjects", req, resp, cb);
|
|
177
108
|
}
|
|
178
109
|
|
|
179
|
-
/**
|
|
180
|
-
* This API is used to start a disaster recovery sync task after it is successfully checked through the CreateSyncCheckJob and DescribeSyncCheckJob APIs.
|
|
181
|
-
* @param {StartSyncJobRequest} req
|
|
182
|
-
* @param {function(string, StartSyncJobResponse):void} cb
|
|
183
|
-
* @public
|
|
184
|
-
*/
|
|
185
|
-
StartSyncJob(req, cb) {
|
|
186
|
-
let resp = new StartSyncJobResponse();
|
|
187
|
-
this.request("StartSyncJob", req, resp, cb);
|
|
188
|
-
}
|
|
189
|
-
|
|
190
110
|
/**
|
|
191
111
|
* This API is used to get the check result and query check status and progress after a check is created.
|
|
192
112
|
If the check succeeds, you can call the StartMigrateJob API to start migration.
|
|
@@ -211,17 +131,6 @@ If the check fails, the reason can be queried. Please modify the migration confi
|
|
|
211
131
|
this.request("DescribeAsyncRequestInfo", req, resp, cb);
|
|
212
132
|
}
|
|
213
133
|
|
|
214
|
-
/**
|
|
215
|
-
* This API is used to promote a disaster recovery instance to a master instance, which will stop sync from the original master instance and end the master/slave relationship.
|
|
216
|
-
* @param {SwitchDrToMasterRequest} req
|
|
217
|
-
* @param {function(string, SwitchDrToMasterResponse):void} cb
|
|
218
|
-
* @public
|
|
219
|
-
*/
|
|
220
|
-
SwitchDrToMaster(req, cb) {
|
|
221
|
-
let resp = new SwitchDrToMasterResponse();
|
|
222
|
-
this.request("SwitchDrToMaster", req, resp, cb);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
134
|
/**
|
|
226
135
|
* This API (StopMigrateJob) is used to cancel a data migration task.
|
|
227
136
|
During migration, this API can be used to cancel migration if the task status queried through the DescribeMigrateJobs API is running (status=7) or ready (status=8), and the migration task will fail.
|
|
@@ -268,22 +177,6 @@ For a finance zone linkage, please use the domain name https://dts.ap-shenzhen-f
|
|
|
268
177
|
this.request("DescribeSubscribes", req, resp, cb);
|
|
269
178
|
}
|
|
270
179
|
|
|
271
|
-
/**
|
|
272
|
-
* This API is used to get the check result after a disaster recovery sync check task is created through the CreateSyncCheckJob API. Check status and progress can be queried.
|
|
273
|
-
If the check succeeds, you can call the StartSyncJob API to start the sync task.
|
|
274
|
-
If the check fails, the reason will be returned. You can modify the configuration through the ModifySyncJob API and initiate check again.
|
|
275
|
-
It takes about 30 seconds to complete the check task. If the returned status is not "finished", the check has not been completed, and this API needs to be polled.
|
|
276
|
-
If Status=finished and CheckFlag=1, the check succeeds.
|
|
277
|
-
If Status=finished and CheckFlag !=1, the check fails.
|
|
278
|
-
* @param {DescribeSyncCheckJobRequest} req
|
|
279
|
-
* @param {function(string, DescribeSyncCheckJobResponse):void} cb
|
|
280
|
-
* @public
|
|
281
|
-
*/
|
|
282
|
-
DescribeSyncCheckJob(req, cb) {
|
|
283
|
-
let resp = new DescribeSyncCheckJobResponse();
|
|
284
|
-
this.request("DescribeSyncCheckJob", req, resp, cb);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
180
|
/**
|
|
288
181
|
* This API (CreateMigrateJob) is used to create a data migration task.
|
|
289
182
|
|
|
@@ -343,18 +236,6 @@ After successful check, if the migration task needs to be modified, a new check
|
|
|
343
236
|
this.request("ModifySubscribeName", req, resp, cb);
|
|
344
237
|
}
|
|
345
238
|
|
|
346
|
-
/**
|
|
347
|
-
* Before the StartSyncJob API is called to start disaster recovery sync, this API should be called first to create a check. Data sync can start only if the check succeeds. You can view the check result through the DescribeSyncCheckJob API.
|
|
348
|
-
Sync can begin only if the check succeeds.
|
|
349
|
-
* @param {CreateSyncCheckJobRequest} req
|
|
350
|
-
* @param {function(string, CreateSyncCheckJobResponse):void} cb
|
|
351
|
-
* @public
|
|
352
|
-
*/
|
|
353
|
-
CreateSyncCheckJob(req, cb) {
|
|
354
|
-
let resp = new CreateSyncCheckJobResponse();
|
|
355
|
-
this.request("CreateSyncCheckJob", req, resp, cb);
|
|
356
|
-
}
|
|
357
|
-
|
|
358
239
|
/**
|
|
359
240
|
* This API is used to create a data subscription instance.
|
|
360
241
|
* @param {CreateSubscribeRequest} req
|