tencentcloud-sdk-nodejs-cynosdb 4.0.672 → 4.0.674

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.
@@ -70,7 +70,7 @@ class Client extends TencentCloudCommon.AbstractClient {
70
70
  return this.request("GrantAccountPrivileges", req, cb);
71
71
  }
72
72
  /**
73
- * 本接口(DescribeClusterParamLogs)查询参数修改日志
73
+ * 本接口(DescribeClusterParamLogs)查询参数修改记录
74
74
  */
75
75
  async DescribeClusterParamLogs(req, cb) {
76
76
  return this.request("DescribeClusterParamLogs", req, cb);
@@ -142,13 +142,13 @@ class Client extends TencentCloudCommon.AbstractClient {
142
142
  return this.request("DescribeBinlogDownloadUrl", req, cb);
143
143
  }
144
144
  /**
145
- * 根据计费订单id查询资源列表
145
+ * 查询订单关联实例
146
146
  */
147
147
  async DescribeResourcesByDealName(req, cb) {
148
148
  return this.request("DescribeResourcesByDealName", req, cb);
149
149
  }
150
150
  /**
151
- * 升级预付费存储
151
+ * 调整包年包月存储容量
152
152
  */
153
153
  async ModifyClusterStorage(req, cb) {
154
154
  return this.request("ModifyClusterStorage", req, cb);
@@ -190,7 +190,7 @@ class Client extends TencentCloudCommon.AbstractClient {
190
190
  return this.request("CloseClusterPasswordComplexity", req, cb);
191
191
  }
192
192
  /**
193
- * 本接口(RollBackCluster)用于回档集群
193
+ * 本接口(RollBackCluster)用于集群回档
194
194
  */
195
195
  async RollBackCluster(req, cb) {
196
196
  return this.request("RollBackCluster", req, cb);
@@ -208,7 +208,7 @@ class Client extends TencentCloudCommon.AbstractClient {
208
208
  return this.request("DescribeClusterInstanceGrps", req, cb);
209
209
  }
210
210
  /**
211
- * 下线集群
211
+ * 销毁集群
212
212
  */
213
213
  async OfflineCluster(req, cb) {
214
214
  return this.request("OfflineCluster", req, cb);
@@ -250,13 +250,13 @@ class Client extends TencentCloudCommon.AbstractClient {
250
250
  return this.request("CreateParamTemplate", req, cb);
251
251
  }
252
252
  /**
253
- * 修改从可用区
253
+ * 变更备可用区
254
254
  */
255
255
  async ModifyClusterSlaveZone(req, cb) {
256
256
  return this.request("ModifyClusterSlaveZone", req, cb);
257
257
  }
258
258
  /**
259
- * 修改账号参数
259
+ * 修改账号配置
260
260
  */
261
261
  async ModifyAccountParams(req, cb) {
262
262
  return this.request("ModifyAccountParams", req, cb);
@@ -274,7 +274,7 @@ class Client extends TencentCloudCommon.AbstractClient {
274
274
  return this.request("CreateBackup", req, cb);
275
275
  }
276
276
  /**
277
- * 下线实例
277
+ * 销毁实例
278
278
  */
279
279
  async OfflineInstance(req, cb) {
280
280
  return this.request("OfflineInstance", req, cb);
@@ -328,13 +328,13 @@ class Client extends TencentCloudCommon.AbstractClient {
328
328
  return this.request("ModifyParamTemplate", req, cb);
329
329
  }
330
330
  /**
331
- * 该接口(DescribeInstanceParams)查询实例参数列表
331
+ * 该接口(DescribeInstanceParams)查询实例参数
332
332
  */
333
333
  async DescribeInstanceParams(req, cb) {
334
334
  return this.request("DescribeInstanceParams", req, cb);
335
335
  }
336
336
  /**
337
- * 此接口(DescribeInstanceSlowQueries)用于查询实例慢查询日志。
337
+ * 此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。
338
338
  */
339
339
  async DescribeInstanceSlowQueries(req, cb) {
340
340
  return this.request("DescribeInstanceSlowQueries", req, cb);
@@ -346,13 +346,13 @@ class Client extends TencentCloudCommon.AbstractClient {
346
346
  return this.request("ModifyClusterParam", req, cb);
347
347
  }
348
348
  /**
349
- * 创建集群
349
+ * 购买新集群
350
350
  */
351
351
  async CreateClusters(req, cb) {
352
352
  return this.request("CreateClusters", req, cb);
353
353
  }
354
354
  /**
355
- * 创建账号
355
+ * 创建用户账号
356
356
  */
357
357
  async CreateAccounts(req, cb) {
358
358
  return this.request("CreateAccounts", req, cb);
@@ -376,7 +376,7 @@ class Client extends TencentCloudCommon.AbstractClient {
376
376
  return this.request("DeleteClusterDatabase", req, cb);
377
377
  }
378
378
  /**
379
- * 切换到从可用区
379
+ * 主备可用区切换
380
380
  */
381
381
  async SwitchClusterZone(req, cb) {
382
382
  return this.request("SwitchClusterZone", req, cb);
@@ -388,7 +388,7 @@ class Client extends TencentCloudCommon.AbstractClient {
388
388
  return this.request("AddInstances", req, cb);
389
389
  }
390
390
  /**
391
- * 删除账号
391
+ * 删除用户账号
392
392
  */
393
393
  async DeleteAccounts(req, cb) {
394
394
  return this.request("DeleteAccounts", req, cb);
@@ -436,7 +436,7 @@ class Client extends TencentCloudCommon.AbstractClient {
436
436
  return this.request("ModifyAccountHost", req, cb);
437
437
  }
438
438
  /**
439
- * 本接口(ResetAccountPassword)用于重置实例的数据库账号密码。
439
+ * 本接口(ResetAccountPassword)用于修改数据库账号密码
440
440
  */
441
441
  async ResetAccountPassword(req, cb) {
442
442
  return this.request("ResetAccountPassword", req, cb);
@@ -448,7 +448,7 @@ class Client extends TencentCloudCommon.AbstractClient {
448
448
  return this.request("DescribeInstanceDetail", req, cb);
449
449
  }
450
450
  /**
451
- * 查询指定集群有效回滚时间范围
451
+ * 查询回档时间范围
452
452
  */
453
453
  async DescribeRollbackTimeRange(req, cb) {
454
454
  return this.request("DescribeRollbackTimeRange", req, cb);
@@ -514,7 +514,7 @@ class Client extends TencentCloudCommon.AbstractClient {
514
514
  return this.request("DescribeResourcePackageSaleSpec", req, cb);
515
515
  }
516
516
  /**
517
- * 修改账号权限
517
+ * 修改账号库表权限
518
518
  */
519
519
  async ModifyAccountPrivileges(req, cb) {
520
520
  return this.request("ModifyAccountPrivileges", req, cb);
@@ -532,7 +532,7 @@ class Client extends TencentCloudCommon.AbstractClient {
532
532
  return this.request("IsolateInstance", req, cb);
533
533
  }
534
534
  /**
535
- * 增加从可用区
535
+ * 开启多可用区部署
536
536
  */
537
537
  async AddClusterSlaveZone(req, cb) {
538
538
  return this.request("AddClusterSlaveZone", req, cb);
@@ -544,7 +544,7 @@ class Client extends TencentCloudCommon.AbstractClient {
544
544
  return this.request("ModifyBackupName", req, cb);
545
545
  }
546
546
  /**
547
- * 本接口(DescribeAccounts)用于查询数据库管理账号。
547
+ * 本接口(DescribeAccounts)用于查询数据库账号列表
548
548
  */
549
549
  async DescribeAccounts(req, cb) {
550
550
  return this.request("DescribeAccounts", req, cb);
@@ -634,7 +634,7 @@ class Client extends TencentCloudCommon.AbstractClient {
634
634
  return this.request("DescribeInstances", req, cb);
635
635
  }
636
636
  /**
637
- * 更新集群Cynos内核版本
637
+ * 更新内核小版本
638
638
  */
639
639
  async UpgradeClusterVersion(req, cb) {
640
640
  return this.request("UpgradeClusterVersion", req, cb);
@@ -724,7 +724,7 @@ class Client extends TencentCloudCommon.AbstractClient {
724
724
  return this.request("ModifyBinlogSaveDays", req, cb);
725
725
  }
726
726
  /**
727
- * 账号所有权限
727
+ * 查询账号所有可授予权限
728
728
  */
729
729
  async DescribeAccountAllGrantPrivileges(req, cb) {
730
730
  return this.request("DescribeAccountAllGrantPrivileges", req, cb);
@@ -748,7 +748,7 @@ class Client extends TencentCloudCommon.AbstractClient {
748
748
  return this.request("DeleteParamTemplate", req, cb);
749
749
  }
750
750
  /**
751
- * 升级实例
751
+ * 实例变配
752
752
  */
753
753
  async UpgradeInstance(req, cb) {
754
754
  return this.request("UpgradeInstance", req, cb);
@@ -772,7 +772,7 @@ class Client extends TencentCloudCommon.AbstractClient {
772
772
  return this.request("DescribeDBSecurityGroups", req, cb);
773
773
  }
774
774
  /**
775
- * 本接口(OpenClusterPasswordComplexity)用于开启集群密码复杂度
775
+ * 本接口(OpenClusterPasswordComplexity)用于开启自定义密码复杂度功能
776
776
  */
777
777
  async OpenClusterPasswordComplexity(req, cb) {
778
778
  return this.request("OpenClusterPasswordComplexity", req, cb);
@@ -784,7 +784,7 @@ class Client extends TencentCloudCommon.AbstractClient {
784
784
  return this.request("ModifyResourcePackageName", req, cb);
785
785
  }
786
786
  /**
787
- * 删除从可用区
787
+ * 关闭多可用区部署
788
788
  */
789
789
  async RemoveClusterSlaveZone(req, cb) {
790
790
  return this.request("RemoveClusterSlaveZone", req, cb);
@@ -120,7 +120,7 @@ export interface DescribeRollbackTimeRangeRequest {
120
120
  */
121
121
  export interface DescribeResourcePackageListResponse {
122
122
  /**
123
- * 总配置数
123
+ * 资源包总数
124
124
  */
125
125
  Total?: number;
126
126
  /**
@@ -372,16 +372,16 @@ export interface DescribeRollbackTimeRangeResponse {
372
372
  * 有效回归时间范围开始时间点(已废弃)
373
373
  注意:此字段可能返回 null,表示取不到有效值。
374
374
  */
375
- TimeRangeStart: string;
375
+ TimeRangeStart?: string;
376
376
  /**
377
377
  * 有效回归时间范围结束时间点(已废弃)
378
378
  注意:此字段可能返回 null,表示取不到有效值。
379
379
  */
380
- TimeRangeEnd: string;
380
+ TimeRangeEnd?: string;
381
381
  /**
382
382
  * 可回档时间范围
383
383
  */
384
- RollbackTimeRanges: Array<RollbackTimeRange>;
384
+ RollbackTimeRanges?: Array<RollbackTimeRange>;
385
385
  /**
386
386
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
387
387
  */
@@ -409,7 +409,7 @@ export interface BillingResourceInfo {
409
409
  */
410
410
  export interface DescribeProxiesRequest {
411
411
  /**
412
- * 集群ID
412
+ * 集群ID(该参数必传,例如cynosdbmysql-xxxxxx)
413
413
  */
414
414
  ClusterId?: string;
415
415
  /**
@@ -541,7 +541,7 @@ export interface SwitchClusterZoneResponse {
541
541
  /**
542
542
  * 异步FlowId
543
543
  */
544
- FlowId: number;
544
+ FlowId?: number;
545
545
  /**
546
546
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
547
547
  */
@@ -831,7 +831,7 @@ export interface AddClusterSlaveZoneResponse {
831
831
  /**
832
832
  * 异步FlowId
833
833
  */
834
- FlowId: number;
834
+ FlowId?: number;
835
835
  /**
836
836
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
837
837
  */
@@ -1058,7 +1058,7 @@ export interface DescribeParamTemplatesRequest {
1058
1058
  /**
1059
1059
  * 模板ID
1060
1060
  */
1061
- TemplateIds?: Array<number>;
1061
+ TemplateIds?: Array<number | bigint>;
1062
1062
  /**
1063
1063
  * 数据库类型,可选值:NORMAL,SERVERLESS
1064
1064
  */
@@ -1797,7 +1797,7 @@ export interface RemoveClusterSlaveZoneResponse {
1797
1797
  /**
1798
1798
  * 异步FlowId
1799
1799
  */
1800
- FlowId: number;
1800
+ FlowId?: number;
1801
1801
  /**
1802
1802
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1803
1803
  */
@@ -1831,22 +1831,22 @@ export interface DescribeAccountAllGrantPrivilegesResponse {
1831
1831
  * 权限语句
1832
1832
  注意:此字段可能返回 null,表示取不到有效值。
1833
1833
  */
1834
- PrivilegeStatements: Array<string>;
1834
+ PrivilegeStatements?: Array<string>;
1835
1835
  /**
1836
1836
  * 全局权限
1837
1837
  注意:此字段可能返回 null,表示取不到有效值。
1838
1838
  */
1839
- GlobalPrivileges: Array<string>;
1839
+ GlobalPrivileges?: Array<string>;
1840
1840
  /**
1841
1841
  * 数据库权限
1842
1842
  注意:此字段可能返回 null,表示取不到有效值。
1843
1843
  */
1844
- DatabasePrivileges: Array<DatabasePrivileges>;
1844
+ DatabasePrivileges?: Array<DatabasePrivileges>;
1845
1845
  /**
1846
1846
  * 数据库表权限
1847
1847
  注意:此字段可能返回 null,表示取不到有效值。
1848
1848
  */
1849
- TablePrivileges: Array<TablePrivileges>;
1849
+ TablePrivileges?: Array<TablePrivileges>;
1850
1850
  /**
1851
1851
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1852
1852
  */
@@ -1901,10 +1901,12 @@ export interface ModifyVipVportRequest {
1901
1901
  export interface DatabasePrivileges {
1902
1902
  /**
1903
1903
  * 数据库
1904
+ 注意:此字段可能返回 null,表示取不到有效值。
1904
1905
  */
1905
1906
  Db: string;
1906
1907
  /**
1907
1908
  * 权限列表
1909
+ 注意:此字段可能返回 null,表示取不到有效值。
1908
1910
  */
1909
1911
  Privileges: Array<string>;
1910
1912
  }
@@ -1979,17 +1981,17 @@ export interface ModifyClusterStorageResponse {
1979
1981
  * 冻结流水ID
1980
1982
  注意:此字段可能返回 null,表示取不到有效值。
1981
1983
  */
1982
- TranId: string;
1984
+ TranId?: string;
1983
1985
  /**
1984
1986
  * 大订单号
1985
1987
  注意:此字段可能返回 null,表示取不到有效值。
1986
1988
  */
1987
- BigDealIds: Array<string>;
1989
+ BigDealIds?: Array<string>;
1988
1990
  /**
1989
1991
  * 订单号
1990
1992
  注意:此字段可能返回 null,表示取不到有效值。
1991
1993
  */
1992
- DealNames: Array<string>;
1994
+ DealNames?: Array<string>;
1993
1995
  /**
1994
1996
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1995
1997
  */
@@ -2033,12 +2035,12 @@ export interface DescribeClusterParamLogsResponse {
2033
2035
  /**
2034
2036
  * 记录总数
2035
2037
  */
2036
- TotalCount: number;
2038
+ TotalCount?: number;
2037
2039
  /**
2038
2040
  * 参数修改记录
2039
2041
  注意:此字段可能返回 null,表示取不到有效值。
2040
2042
  */
2041
- ClusterParamLogs: Array<ClusterParamModifyLog>;
2043
+ ClusterParamLogs?: Array<ClusterParamModifyLog>;
2042
2044
  /**
2043
2045
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2044
2046
  */
@@ -2219,7 +2221,7 @@ export interface Package {
2219
2221
  */
2220
2222
  PackageUsedSpec?: number;
2221
2223
  /**
2222
- * 资源包已使用量
2224
+ * 是否还有库存余量
2223
2225
  注意:此字段可能返回 null,表示取不到有效值。
2224
2226
  */
2225
2227
  HasQuota?: boolean;
@@ -2782,14 +2784,17 @@ export interface BackupFileInfo {
2782
2784
  export interface TablePrivileges {
2783
2785
  /**
2784
2786
  * 数据库名
2787
+ 注意:此字段可能返回 null,表示取不到有效值。
2785
2788
  */
2786
2789
  Db: string;
2787
2790
  /**
2788
2791
  * 表名
2792
+ 注意:此字段可能返回 null,表示取不到有效值。
2789
2793
  */
2790
2794
  TableName: string;
2791
2795
  /**
2792
2796
  * 权限列表
2797
+ 注意:此字段可能返回 null,表示取不到有效值。
2793
2798
  */
2794
2799
  Privileges: Array<string>;
2795
2800
  }
@@ -2931,7 +2936,7 @@ export interface DescribeBackupListRequest {
2931
2936
  /**
2932
2937
  * 备份ID
2933
2938
  */
2934
- BackupIds?: Array<number>;
2939
+ BackupIds?: Array<number | bigint>;
2935
2940
  /**
2936
2941
  * 备份类型,可选值:snapshot,快照备份; logic,逻辑备份
2937
2942
  */
@@ -2963,7 +2968,7 @@ export interface DescribeBackupListRequest {
2963
2968
  /**
2964
2969
  * 快照备份Id列表
2965
2970
  */
2966
- SnapshotIdList?: Array<number>;
2971
+ SnapshotIdList?: Array<number | bigint>;
2967
2972
  }
2968
2973
  /**
2969
2974
  * CloseProxy请求参数结构体
@@ -3342,7 +3347,7 @@ export interface ModifyClusterSlaveZoneResponse {
3342
3347
  /**
3343
3348
  * 异步FlowId
3344
3349
  */
3345
- FlowId: number;
3350
+ FlowId?: number;
3346
3351
  /**
3347
3352
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3348
3353
  */
@@ -4195,7 +4200,7 @@ export interface SearchClusterDatabasesResponse {
4195
4200
  * 数据库列表
4196
4201
  注意:此字段可能返回 null,表示取不到有效值。
4197
4202
  */
4198
- Databases: Array<string>;
4203
+ Databases?: Array<string>;
4199
4204
  /**
4200
4205
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4201
4206
  */
@@ -4363,7 +4368,7 @@ export interface OpenClusterPasswordComplexityResponse {
4363
4368
  /**
4364
4369
  * 任务流ID
4365
4370
  */
4366
- FlowId: number;
4371
+ FlowId?: number;
4367
4372
  /**
4368
4373
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4369
4374
  */
@@ -4415,7 +4420,7 @@ export interface OfflineInstanceResponse {
4415
4420
  /**
4416
4421
  * 任务流ID
4417
4422
  */
4418
- FlowId: number;
4423
+ FlowId?: number;
4419
4424
  /**
4420
4425
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4421
4426
  */
@@ -4892,11 +4897,11 @@ export interface DescribeInstanceSlowQueriesResponse {
4892
4897
  /**
4893
4898
  * 总条数
4894
4899
  */
4895
- TotalCount: number;
4900
+ TotalCount?: number;
4896
4901
  /**
4897
4902
  * 慢查询记录
4898
4903
  */
4899
- SlowQueries: Array<SlowQueriesItem>;
4904
+ SlowQueries?: Array<SlowQueriesItem>;
4900
4905
  /**
4901
4906
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4902
4907
  */
@@ -5031,16 +5036,16 @@ export interface UpgradeInstanceResponse {
5031
5036
  * 冻结流水ID
5032
5037
  注意:此字段可能返回 null,表示取不到有效值。
5033
5038
  */
5034
- TranId: string;
5039
+ TranId?: string;
5035
5040
  /**
5036
5041
  * 大订单号
5037
5042
  注意:此字段可能返回 null,表示取不到有效值。
5038
5043
  */
5039
- BigDealIds: Array<string>;
5044
+ BigDealIds?: Array<string>;
5040
5045
  /**
5041
5046
  * 订单号
5042
5047
  */
5043
- DealNames: Array<string>;
5048
+ DealNames?: Array<string>;
5044
5049
  /**
5045
5050
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5046
5051
  */
@@ -5807,7 +5812,7 @@ export interface OfflineClusterResponse {
5807
5812
  /**
5808
5813
  * 任务流ID
5809
5814
  */
5810
- FlowId: number;
5815
+ FlowId?: number;
5811
5816
  /**
5812
5817
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5813
5818
  */
@@ -6286,7 +6291,7 @@ export interface RollBackClusterResponse {
6286
6291
  /**
6287
6292
  * 任务流ID
6288
6293
  */
6289
- FlowId: number;
6294
+ FlowId?: number;
6290
6295
  /**
6291
6296
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6292
6297
  */
@@ -7206,7 +7211,7 @@ export interface DescribeInstanceParamsResponse {
7206
7211
  /**
7207
7212
  * 实例参数列表
7208
7213
  */
7209
- Items: Array<InstanceParamItem>;
7214
+ Items?: Array<InstanceParamItem>;
7210
7215
  /**
7211
7216
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7212
7217
  */
@@ -7446,11 +7451,11 @@ export interface DeleteBackupRequest {
7446
7451
  /**
7447
7452
  * 备份文件ID,旧版本使用的字段,不推荐使用
7448
7453
  */
7449
- SnapshotIdList?: Array<number>;
7454
+ SnapshotIdList?: Array<number | bigint>;
7450
7455
  /**
7451
7456
  * 备份文件ID,推荐使用
7452
7457
  */
7453
- BackupIds?: Array<number>;
7458
+ BackupIds?: Array<number | bigint>;
7454
7459
  }
7455
7460
  /**
7456
7461
  * 计费询价结果