tencentcloud-sdk-nodejs-intl-en 3.0.430 → 3.0.431

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.430",
3
+ "version": "3.0.431",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.430";
1
+ const sdkVersion = "3.0.431";
2
2
  module.exports = sdkVersion
@@ -70,6 +70,7 @@ const DeleteMigrateJobRequest = models.DeleteMigrateJobRequest;
70
70
  const ActivateSubscribeResponse = models.ActivateSubscribeResponse;
71
71
  const CreateSubscribeResponse = models.CreateSubscribeResponse;
72
72
  const MigrateOption = models.MigrateOption;
73
+ const SubsErr = models.SubsErr;
73
74
  const ErrorInfo = models.ErrorInfo;
74
75
  const StartMigrateJobResponse = models.StartMigrateJobResponse;
75
76
  const StartMigrateJobRequest = models.StartMigrateJobRequest;
@@ -203,8 +204,10 @@ For a finance zone linkage, please use the domain name dts.ap-shenzhen-fsi.tence
203
204
 
204
205
  /**
205
206
  * This API is used to create a migration check task.
206
- Before migration, you should call this API to create a check. Migration will start only if the check succeeds. You can view the check result through the DescribeMigrateCheckJob API.
207
+ Before migration, you should call this API to create a check. Migration will start only if the check succeeds. You can view the check result through the `DescribeMigrateCheckJob` API.
207
208
  After successful check, if the migration task needs to be modified, a new check task should be created and migration will begin only after the new check succeeds.
209
+
210
+ For a finance zone link, use the domain name https://dts.ap-shenzhen-fsi.tencentcloudapi.com.
208
211
  * @param {CreateMigrateCheckJobRequest} req
209
212
  * @param {function(string, CreateMigrateCheckJobResponse):void} cb
210
213
  * @public
@@ -419,6 +419,18 @@ For databases with a database-schema-table structure:
419
419
  */
420
420
  this.Tags = null;
421
421
 
422
+ /**
423
+ * Source instance type. `simple`: Primary/Secondary node; `cluster`: Cluster node. If this field is left empty, the value defaults to primary/secondary node.
424
+ * @type {string || null}
425
+ */
426
+ this.SrcNodeType = null;
427
+
428
+ /**
429
+ * Source instance information, which is correlated with the migration task type.
430
+ * @type {Array.<SrcInfo> || null}
431
+ */
432
+ this.SrcInfoMulti = null;
433
+
422
434
  }
423
435
 
424
436
  /**
@@ -461,6 +473,16 @@ For databases with a database-schema-table structure:
461
473
  this.Tags.push(obj);
462
474
  }
463
475
  }
476
+ this.SrcNodeType = 'SrcNodeType' in params ? params.SrcNodeType : null;
477
+
478
+ if (params.SrcInfoMulti) {
479
+ this.SrcInfoMulti = new Array();
480
+ for (let z in params.SrcInfoMulti) {
481
+ let obj = new SrcInfo();
482
+ obj.deserialize(params.SrcInfoMulti[z]);
483
+ this.SrcInfoMulti.push(obj);
484
+ }
485
+ }
464
486
 
465
487
  }
466
488
  }
@@ -825,6 +847,19 @@ Note: this field may return `null`, indicating that no valid values can be obtai
825
847
  */
826
848
  this.AutoRenewFlag = null;
827
849
 
850
+ /**
851
+ * Data subscription edition. `txdts`: Legacy edition; `kafka`: Kafka edition.
852
+ * @type {string || null}
853
+ */
854
+ this.SubscribeVersion = null;
855
+
856
+ /**
857
+ * Error message.
858
+ Note: This field may return `null`, indicating that no valid values can be obtained.
859
+ * @type {Array.<SubsErr> || null}
860
+ */
861
+ this.Errors = null;
862
+
828
863
  /**
829
864
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
830
865
  * @type {string || null}
@@ -882,6 +917,16 @@ Note: this field may return `null`, indicating that no valid values can be obtai
882
917
  }
883
918
  }
884
919
  this.AutoRenewFlag = 'AutoRenewFlag' in params ? params.AutoRenewFlag : null;
920
+ this.SubscribeVersion = 'SubscribeVersion' in params ? params.SubscribeVersion : null;
921
+
922
+ if (params.Errors) {
923
+ this.Errors = new Array();
924
+ for (let z in params.Errors) {
925
+ let obj = new SubsErr();
926
+ obj.deserialize(params.Errors[z]);
927
+ this.Errors.push(obj);
928
+ }
929
+ }
885
930
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
886
931
 
887
932
  }
@@ -1154,6 +1199,18 @@ This field does not need to be set when the entire instance is to be migrated
1154
1199
  */
1155
1200
  this.DatabaseInfo = null;
1156
1201
 
1202
+ /**
1203
+ * Source instance type. `simple`: Primary/Secondary node; `cluster`: Cluster node. If this field is left empty, the value defaults to primary/secondary node.
1204
+ * @type {string || null}
1205
+ */
1206
+ this.SrcNodeType = null;
1207
+
1208
+ /**
1209
+ * Source instance information, which is correlated with the migration task type.
1210
+ * @type {Array.<SrcInfo> || null}
1211
+ */
1212
+ this.SrcInfoMulti = null;
1213
+
1157
1214
  }
1158
1215
 
1159
1216
  /**
@@ -1186,6 +1243,16 @@ This field does not need to be set when the entire instance is to be migrated
1186
1243
  this.DstInfo = obj;
1187
1244
  }
1188
1245
  this.DatabaseInfo = 'DatabaseInfo' in params ? params.DatabaseInfo : null;
1246
+ this.SrcNodeType = 'SrcNodeType' in params ? params.SrcNodeType : null;
1247
+
1248
+ if (params.SrcInfoMulti) {
1249
+ this.SrcInfoMulti = new Array();
1250
+ for (let z in params.SrcInfoMulti) {
1251
+ let obj = new SrcInfo();
1252
+ obj.deserialize(params.SrcInfoMulti[z]);
1253
+ this.SrcInfoMulti.push(obj);
1254
+ }
1255
+ }
1189
1256
 
1190
1257
  }
1191
1258
  }
@@ -1234,6 +1301,12 @@ class CreateSubscribeRequest extends AbstractModel {
1234
1301
  */
1235
1302
  this.Tags = null;
1236
1303
 
1304
+ /**
1305
+ * A custom instance name.
1306
+ * @type {string || null}
1307
+ */
1308
+ this.Name = null;
1309
+
1237
1310
  }
1238
1311
 
1239
1312
  /**
@@ -1257,6 +1330,7 @@ class CreateSubscribeRequest extends AbstractModel {
1257
1330
  this.Tags.push(obj);
1258
1331
  }
1259
1332
  }
1333
+ this.Name = 'Name' in params ? params.Name : null;
1260
1334
 
1261
1335
  }
1262
1336
  }
@@ -2564,6 +2638,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
2564
2638
  */
2565
2639
  this.Tags = null;
2566
2640
 
2641
+ /**
2642
+ * Information of the source instance, a cluster edition instance whose access type is not `cdb`.
2643
+ Note: This field may return `null`, indicating that no valid values can be obtained.
2644
+ * @type {Array.<SrcInfo> || null}
2645
+ */
2646
+ this.SrcInfoMulti = null;
2647
+
2567
2648
  }
2568
2649
 
2569
2650
  /**
@@ -2627,6 +2708,15 @@ Note: this field may return `null`, indicating that no valid values can be obtai
2627
2708
  }
2628
2709
  }
2629
2710
 
2711
+ if (params.SrcInfoMulti) {
2712
+ this.SrcInfoMulti = new Array();
2713
+ for (let z in params.SrcInfoMulti) {
2714
+ let obj = new SrcInfo();
2715
+ obj.deserialize(params.SrcInfoMulti[z]);
2716
+ this.SrcInfoMulti.push(obj);
2717
+ }
2718
+ }
2719
+
2630
2720
  }
2631
2721
  }
2632
2722
 
@@ -3011,6 +3101,35 @@ MySQL currently does not support configuring additional parameters.
3011
3101
  }
3012
3102
  }
3013
3103
 
3104
+ /**
3105
+ * Error message displayed when the subscription configuration was queried.
3106
+ * @class
3107
+ */
3108
+ class SubsErr extends AbstractModel {
3109
+ constructor(){
3110
+ super();
3111
+
3112
+ /**
3113
+ * Error message.
3114
+ Note: This field may return `null`, indicating that no valid values can be obtained.
3115
+ * @type {string || null}
3116
+ */
3117
+ this.Message = null;
3118
+
3119
+ }
3120
+
3121
+ /**
3122
+ * @private
3123
+ */
3124
+ deserialize(params) {
3125
+ if (!params) {
3126
+ return;
3127
+ }
3128
+ this.Message = 'Message' in params ? params.Message : null;
3129
+
3130
+ }
3131
+ }
3132
+
3014
3133
  /**
3015
3134
  * Message and prompt for migration task error
3016
3135
  * @class
@@ -3157,6 +3276,7 @@ module.exports = {
3157
3276
  ActivateSubscribeResponse: ActivateSubscribeResponse,
3158
3277
  CreateSubscribeResponse: CreateSubscribeResponse,
3159
3278
  MigrateOption: MigrateOption,
3279
+ SubsErr: SubsErr,
3160
3280
  ErrorInfo: ErrorInfo,
3161
3281
  StartMigrateJobResponse: StartMigrateJobResponse,
3162
3282
  StartMigrateJobRequest: StartMigrateJobRequest,
@@ -2161,6 +2161,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
2161
2161
  */
2162
2162
  this.UpdateTime = null;
2163
2163
 
2164
+ /**
2165
+ *
2166
+ * @type {string || null}
2167
+ */
2168
+ this.Type = null;
2169
+
2164
2170
  }
2165
2171
 
2166
2172
  /**
@@ -2205,6 +2211,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
2205
2211
  }
2206
2212
  this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
2207
2213
  this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
2214
+ this.Type = 'Type' in params ? params.Type : null;
2208
2215
 
2209
2216
  }
2210
2217
  }
@@ -8938,7 +8945,7 @@ class LiveStreamAiReviewImagePoliticalResult extends AbstractModel {
8938
8945
  this.Name = null;
8939
8946
 
8940
8947
  /**
8941
- * The coordinates (pixel) of the detected sensitive people or banned icons. The format is [x1, y1, x2, y2], which indicates the coordinates of the top-left and bottom-right corners.
8948
+ * The pixel coordinates of the detected sensitive people or banned icons. The format is [x1, y1, x2, y2], which indicates the coordinates of the top-left and bottom-right corners.
8942
8949
  * @type {Array.<number> || null}
8943
8950
  */
8944
8951
  this.AreaCoordSet = null;
@@ -10510,7 +10517,7 @@ military:
10510
10517
  this.Url = null;
10511
10518
 
10512
10519
  /**
10513
- * The coordinates (pixel) of the detected sensitive people or banned icons. The format is [x1, y1, x2, y2], which indicates the coordinates of the top-left and bottom-right corners.
10520
+ * The pixel coordinates of the detected sensitive people or banned icons. The format is [x1, y1, x2, y2], which indicates the coordinates of the top-left and bottom-right corners.
10514
10521
  * @type {Array.<number> || null}
10515
10522
  */
10516
10523
  this.AreaCoordSet = null;