tencentcloud-sdk-nodejs 4.0.423 → 4.0.424

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +204 -0
  2. package/SERVICE_CHANGELOG.md +300 -145
  3. package/package.json +1 -1
  4. package/products.md +10 -10
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/batch/v20170312/batch_models.ts +10 -0
  7. package/src/services/cdb/v20170320/cdb_models.ts +6 -6
  8. package/src/services/cynosdb/v20190107/cynosdb_client.ts +84 -22
  9. package/src/services/cynosdb/v20190107/cynosdb_models.ts +303 -57
  10. package/src/services/dcdb/v20180411/dcdb_models.ts +10 -0
  11. package/src/services/gaap/v20180529/gaap_client.ts +160 -37
  12. package/src/services/gaap/v20180529/gaap_models.ts +610 -179
  13. package/src/services/mmps/v20200710/mmps_models.ts +6 -0
  14. package/src/services/monitor/v20180724/monitor_models.ts +1 -1
  15. package/src/services/oceanus/v20190422/oceanus_client.ts +12 -0
  16. package/src/services/oceanus/v20190422/oceanus_models.ts +20 -0
  17. package/src/services/tcr/v20190924/tcr_client.ts +246 -50
  18. package/src/services/tcr/v20190924/tcr_models.ts +946 -298
  19. package/src/services/vod/v20180717/vod_client.ts +49 -22
  20. package/src/services/vod/v20180717/vod_models.ts +169 -80
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +8 -0
  24. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +6 -6
  25. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +27 -7
  26. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +39 -9
  27. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +260 -51
  28. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +8 -0
  29. package/tencentcloud/services/gaap/v20180529/gaap_client.d.ts +51 -11
  30. package/tencentcloud/services/gaap/v20180529/gaap_client.js +75 -15
  31. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +544 -174
  32. package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +5 -0
  33. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
  34. package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +5 -1
  35. package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +6 -0
  36. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +18 -0
  37. package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +73 -9
  38. package/tencentcloud/services/tcr/v20190924/tcr_client.js +108 -12
  39. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +817 -264
  40. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +23 -13
  41. package/tencentcloud/services/vod/v20180717/vod_client.js +27 -13
  42. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +148 -71
  43. package/test/cynosdb.v20190107.test.js +56 -6
  44. package/test/gaap.v20180529.test.js +116 -16
  45. package/test/oceanus.v20190422.test.js +10 -0
  46. package/test/tcr.v20190924.test.js +168 -8
  47. package/test/vod.v20180717.test.js +22 -2
@@ -15,6 +15,21 @@
15
15
  * under the License.
16
16
  */
17
17
 
18
+ /**
19
+ * RemoveClusterSlaveZone请求参数结构体
20
+ */
21
+ export interface RemoveClusterSlaveZoneRequest {
22
+ /**
23
+ * 集群ID
24
+ */
25
+ ClusterId: string
26
+
27
+ /**
28
+ * 从可用区
29
+ */
30
+ SlaveZone: string
31
+ }
32
+
18
33
  /**
19
34
  * ModifyClusterName请求参数结构体
20
35
  */
@@ -156,15 +171,20 @@ export interface ModifyMaintainPeriodConfigRequest {
156
171
  */
157
172
  export interface DescribeRollbackTimeRangeResponse {
158
173
  /**
159
- * 有效回归时间范围开始时间点
174
+ * 有效回归时间范围开始时间点(已废弃)
160
175
  */
161
176
  TimeRangeStart: string
162
177
 
163
178
  /**
164
- * 有效回归时间范围结束时间点
179
+ * 有效回归时间范围结束时间点(已废弃)
165
180
  */
166
181
  TimeRangeEnd: string
167
182
 
183
+ /**
184
+ * 可回档时间范围
185
+ */
186
+ RollbackTimeRanges: Array<RollbackTimeRange>
187
+
168
188
  /**
169
189
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
170
190
  */
@@ -181,6 +201,21 @@ export interface ModifyBackupNameResponse {
181
201
  RequestId?: string
182
202
  }
183
203
 
204
+ /**
205
+ * SwitchClusterZone返回参数结构体
206
+ */
207
+ export interface SwitchClusterZoneResponse {
208
+ /**
209
+ * 异步FlowId
210
+ */
211
+ FlowId: number
212
+
213
+ /**
214
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
215
+ */
216
+ RequestId?: string
217
+ }
218
+
184
219
  /**
185
220
  * AssociateSecurityGroups请求参数结构体
186
221
  */
@@ -368,39 +403,44 @@ export interface ClusterInstanceDetail {
368
403
  }
369
404
 
370
405
  /**
371
- * 数据库账号信息
406
+ * AddClusterSlaveZone返回参数结构体
372
407
  */
373
- export interface Account {
408
+ export interface AddClusterSlaveZoneResponse {
374
409
  /**
375
- * 数据库账号名
410
+ * 异步FlowId
376
411
  */
377
- AccountName: string
412
+ FlowId: number
378
413
 
379
414
  /**
380
- * 数据库账号描述
415
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
381
416
  */
382
- Description: string
417
+ RequestId?: string
418
+ }
383
419
 
420
+ /**
421
+ * ModifyClusterName返回参数结构体
422
+ */
423
+ export interface ModifyClusterNameResponse {
384
424
  /**
385
- * 创建时间
425
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
386
426
  */
387
- CreateTime: string
427
+ RequestId?: string
428
+ }
388
429
 
430
+ /**
431
+ * DescribeClusterParams返回参数结构体
432
+ */
433
+ export interface DescribeClusterParamsResponse {
389
434
  /**
390
- * 更新时间
435
+ * 参数个数
391
436
  */
392
- UpdateTime: string
437
+ TotalCount: number
393
438
 
394
439
  /**
395
- * 主机
440
+ * 实例参数列表
396
441
  */
397
- Host: string
398
- }
442
+ Items: Array<ParamInfo>
399
443
 
400
- /**
401
- * ModifyClusterName返回参数结构体
402
- */
403
- export interface ModifyClusterNameResponse {
404
444
  /**
405
445
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
406
446
  */
@@ -679,18 +719,18 @@ export interface ActivateInstanceRequest {
679
719
  }
680
720
 
681
721
  /**
682
- * 回档表信息
722
+ * AddClusterSlaveZone请求参数结构体
683
723
  */
684
- export interface RollbackTableInfo {
724
+ export interface AddClusterSlaveZoneRequest {
685
725
  /**
686
- * 旧表名称
726
+ * 集群ID
687
727
  */
688
- OldTable: string
728
+ ClusterId: string
689
729
 
690
730
  /**
691
- * 新表名称
731
+ * 从可用区
692
732
  */
693
- NewTable: string
733
+ SlaveZone: string
694
734
  }
695
735
 
696
736
  /**
@@ -932,6 +972,31 @@ export interface ExportInstanceSlowQueriesResponse {
932
972
  RequestId?: string
933
973
  }
934
974
 
975
+ /**
976
+ * SwitchClusterZone请求参数结构体
977
+ */
978
+ export interface SwitchClusterZoneRequest {
979
+ /**
980
+ * 集群Id
981
+ */
982
+ ClusterId: string
983
+
984
+ /**
985
+ * 当前可用区
986
+ */
987
+ OldZone: string
988
+
989
+ /**
990
+ * 要切换到的可用区
991
+ */
992
+ NewZone: string
993
+
994
+ /**
995
+ * 维护期间执行-yes,立即执行-no
996
+ */
997
+ IsInMaintainPeriod?: string
998
+ }
999
+
935
1000
  /**
936
1001
  * DescribeDBSecurityGroups请求参数结构体
937
1002
  */
@@ -1037,6 +1102,21 @@ export interface DescribeProjectSecurityGroupsResponse {
1037
1102
  RequestId?: string
1038
1103
  }
1039
1104
 
1105
+ /**
1106
+ * RemoveClusterSlaveZone返回参数结构体
1107
+ */
1108
+ export interface RemoveClusterSlaveZoneResponse {
1109
+ /**
1110
+ * 异步FlowId
1111
+ */
1112
+ FlowId: number
1113
+
1114
+ /**
1115
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1116
+ */
1117
+ RequestId?: string
1118
+ }
1119
+
1040
1120
  /**
1041
1121
  * PauseServerless返回参数结构体
1042
1122
  */
@@ -1431,6 +1511,21 @@ export interface DbTable {
1431
1511
  TableName?: string
1432
1512
  }
1433
1513
 
1514
+ /**
1515
+ * ModifyClusterSlaveZone返回参数结构体
1516
+ */
1517
+ export interface ModifyClusterSlaveZoneResponse {
1518
+ /**
1519
+ * 异步FlowId
1520
+ */
1521
+ FlowId: number
1522
+
1523
+ /**
1524
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1525
+ */
1526
+ RequestId?: string
1527
+ }
1528
+
1434
1529
  /**
1435
1530
  * GrantAccountPrivileges请求参数结构体
1436
1531
  */
@@ -1457,25 +1552,33 @@ export interface GrantAccountPrivilegesRequest {
1457
1552
  }
1458
1553
 
1459
1554
  /**
1460
- * IsolateCluster返回参数结构体
1555
+ * Binlog描述
1461
1556
  */
1462
- export interface IsolateClusterResponse {
1557
+ export interface BinlogItem {
1463
1558
  /**
1464
- * 任务流ID
1465
- 注意:此字段可能返回 null,表示取不到有效值。
1466
- */
1467
- FlowId: number
1559
+ * Binlog文件名称
1560
+ */
1561
+ FileName: string
1468
1562
 
1469
1563
  /**
1470
- * 退款订单号
1471
- 注意:此字段可能返回 null,表示取不到有效值。
1472
- */
1473
- DealNames: Array<string>
1564
+ * 文件大小,单位:字节
1565
+ */
1566
+ FileSize: number
1474
1567
 
1475
1568
  /**
1476
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1569
+ * 事务最早时间
1477
1570
  */
1478
- RequestId?: string
1571
+ StartTime: string
1572
+
1573
+ /**
1574
+ * 事务最晚时间
1575
+ */
1576
+ FinishTime: string
1577
+
1578
+ /**
1579
+ * Binlog文件ID
1580
+ */
1581
+ BinlogId: number
1479
1582
  }
1480
1583
 
1481
1584
  /**
@@ -1704,6 +1807,21 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
1704
1807
  SlaveZone?: string
1705
1808
  }
1706
1809
 
1810
+ /**
1811
+ * 回档表信息
1812
+ */
1813
+ export interface RollbackTableInfo {
1814
+ /**
1815
+ * 旧表名称
1816
+ */
1817
+ OldTable: string
1818
+
1819
+ /**
1820
+ * 新表名称
1821
+ */
1822
+ NewTable: string
1823
+ }
1824
+
1707
1825
  /**
1708
1826
  * DescribeClusters返回参数结构体
1709
1827
  */
@@ -1900,6 +2018,67 @@ export interface ParamTemplateListInfo {
1900
2018
  EngineVersion: string
1901
2019
  }
1902
2020
 
2021
+ /**
2022
+ * 参数信息
2023
+ */
2024
+ export interface ParamInfo {
2025
+ /**
2026
+ * 当前值
2027
+ */
2028
+ CurrentValue: string
2029
+
2030
+ /**
2031
+ * 默认值
2032
+ */
2033
+ Default: string
2034
+
2035
+ /**
2036
+ * 参数为enum/string/bool时,可选值列表
2037
+ 注意:此字段可能返回 null,表示取不到有效值。
2038
+ */
2039
+ EnumValue: Array<string>
2040
+
2041
+ /**
2042
+ * 参数类型为float/integer时的最大值
2043
+ */
2044
+ Max: string
2045
+
2046
+ /**
2047
+ * 参数类型为float/integer时的最小值
2048
+ */
2049
+ Min: string
2050
+
2051
+ /**
2052
+ * 参数名称
2053
+ */
2054
+ ParamName: string
2055
+
2056
+ /**
2057
+ * 是否需要重启生效
2058
+ */
2059
+ NeedReboot: number
2060
+
2061
+ /**
2062
+ * 参数类型:integer/float/string/enum/bool
2063
+ */
2064
+ ParamType: string
2065
+
2066
+ /**
2067
+ * 匹配类型,multiVal, regex在参数类型是string时使用
2068
+ */
2069
+ MatchType: string
2070
+
2071
+ /**
2072
+ * 匹配目标值,当multiVal时,各个key用;分割
2073
+ */
2074
+ MatchValue: string
2075
+
2076
+ /**
2077
+ * 参数描述
2078
+ */
2079
+ Description: string
2080
+ }
2081
+
1903
2082
  /**
1904
2083
  * DescribeProjectSecurityGroups请求参数结构体
1905
2084
  */
@@ -1980,6 +2159,21 @@ export interface DescribeBackupDownloadUrlRequest {
1980
2159
  BackupId: number
1981
2160
  }
1982
2161
 
2162
+ /**
2163
+ * 可回档的时间范围
2164
+ */
2165
+ export interface RollbackTimeRange {
2166
+ /**
2167
+ * 开始时间
2168
+ */
2169
+ TimeRangeStart: string
2170
+
2171
+ /**
2172
+ * 结束时间
2173
+ */
2174
+ TimeRangeEnd: string
2175
+ }
2176
+
1983
2177
  /**
1984
2178
  * 网络信息
1985
2179
  */
@@ -2523,33 +2717,25 @@ pause
2523
2717
  }
2524
2718
 
2525
2719
  /**
2526
- * Binlog描述
2720
+ * IsolateCluster返回参数结构体
2527
2721
  */
2528
- export interface BinlogItem {
2529
- /**
2530
- * Binlog文件名称
2531
- */
2532
- FileName: string
2533
-
2534
- /**
2535
- * 文件大小,单位:字节
2536
- */
2537
- FileSize: number
2538
-
2722
+ export interface IsolateClusterResponse {
2539
2723
  /**
2540
- * 事务最早时间
2541
- */
2542
- StartTime: string
2724
+ * 任务流ID
2725
+ 注意:此字段可能返回 null,表示取不到有效值。
2726
+ */
2727
+ FlowId: number
2543
2728
 
2544
2729
  /**
2545
- * 事务最晚时间
2546
- */
2547
- FinishTime: string
2730
+ * 退款订单号
2731
+ 注意:此字段可能返回 null,表示取不到有效值。
2732
+ */
2733
+ DealNames: Array<string>
2548
2734
 
2549
2735
  /**
2550
- * Binlog文件ID
2736
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2551
2737
  */
2552
- BinlogId: number
2738
+ RequestId?: string
2553
2739
  }
2554
2740
 
2555
2741
  /**
@@ -2652,6 +2838,36 @@ export interface SetRenewFlagResponse {
2652
2838
  RequestId?: string
2653
2839
  }
2654
2840
 
2841
+ /**
2842
+ * 数据库账号信息
2843
+ */
2844
+ export interface Account {
2845
+ /**
2846
+ * 数据库账号名
2847
+ */
2848
+ AccountName: string
2849
+
2850
+ /**
2851
+ * 数据库账号描述
2852
+ */
2853
+ Description: string
2854
+
2855
+ /**
2856
+ * 创建时间
2857
+ */
2858
+ CreateTime: string
2859
+
2860
+ /**
2861
+ * 更新时间
2862
+ */
2863
+ UpdateTime: string
2864
+
2865
+ /**
2866
+ * 主机
2867
+ */
2868
+ Host: string
2869
+ }
2870
+
2655
2871
  /**
2656
2872
  * DescribeClusterParamLogs请求参数结构体
2657
2873
  */
@@ -2963,6 +3179,26 @@ export interface AddInstancesRequest {
2963
3179
  DealMode?: number
2964
3180
  }
2965
3181
 
3182
+ /**
3183
+ * ModifyClusterSlaveZone请求参数结构体
3184
+ */
3185
+ export interface ModifyClusterSlaveZoneRequest {
3186
+ /**
3187
+ * 集群Id
3188
+ */
3189
+ ClusterId: string
3190
+
3191
+ /**
3192
+ * 旧从可用区
3193
+ */
3194
+ OldSlaveZone: string
3195
+
3196
+ /**
3197
+ * 新从可用区
3198
+ */
3199
+ NewSlaveZone: string
3200
+ }
3201
+
2966
3202
  /**
2967
3203
  * DescribeInstances请求参数结构体
2968
3204
  */
@@ -3534,6 +3770,16 @@ export interface TradePrice {
3534
3770
  ChargeUnit: string
3535
3771
  }
3536
3772
 
3773
+ /**
3774
+ * DescribeClusterParams请求参数结构体
3775
+ */
3776
+ export interface DescribeClusterParamsRequest {
3777
+ /**
3778
+ * 集群ID
3779
+ */
3780
+ ClusterId: string
3781
+ }
3782
+
3537
3783
  /**
3538
3784
  * DescribeInstanceSpecs返回参数结构体
3539
3785
  */
@@ -901,6 +901,16 @@ export interface CreateDedicatedClusterDCDBInstanceRequest {
901
901
  * 指定从节点uuid,不填随机分配
902
902
  */
903
903
  SlaveHostIds?: Array<string>
904
+
905
+ /**
906
+ * 需要回档的源实例ID
907
+ */
908
+ RollbackInstanceId?: string
909
+
910
+ /**
911
+ * 回档时间
912
+ */
913
+ RollbackTime?: string
904
914
  }
905
915
 
906
916
  /**