tencentcloud-sdk-nodejs-cynosdb 4.0.673 → 4.0.675
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/CHANGELOG.md +357 -0
- package/SERVICE_CHANGELOG.md +648 -684
- package/package.json +1 -1
- package/products.md +27 -27
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +17 -17
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +22 -17
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +17 -17
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +17 -17
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +22 -17
@@ -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,7 +142,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
142
142
|
return this.request("DescribeBinlogDownloadUrl", req, cb);
|
143
143
|
}
|
144
144
|
/**
|
145
|
-
*
|
145
|
+
* 查询订单关联实例
|
146
146
|
*/
|
147
147
|
async DescribeResourcesByDealName(req, cb) {
|
148
148
|
return this.request("DescribeResourcesByDealName", 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);
|
@@ -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);
|
@@ -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);
|
@@ -352,7 +352,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
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);
|
@@ -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);
|
@@ -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);
|
@@ -372,16 +372,16 @@ export interface DescribeRollbackTimeRangeResponse {
|
|
372
372
|
* 有效回归时间范围开始时间点(已废弃)
|
373
373
|
注意:此字段可能返回 null,表示取不到有效值。
|
374
374
|
*/
|
375
|
-
TimeRangeStart
|
375
|
+
TimeRangeStart?: string;
|
376
376
|
/**
|
377
377
|
* 有效回归时间范围结束时间点(已废弃)
|
378
378
|
注意:此字段可能返回 null,表示取不到有效值。
|
379
379
|
*/
|
380
|
-
TimeRangeEnd
|
380
|
+
TimeRangeEnd?: string;
|
381
381
|
/**
|
382
382
|
* 可回档时间范围
|
383
383
|
*/
|
384
|
-
RollbackTimeRanges
|
384
|
+
RollbackTimeRanges?: Array<RollbackTimeRange>;
|
385
385
|
/**
|
386
386
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
387
387
|
*/
|
@@ -541,7 +541,7 @@ export interface SwitchClusterZoneResponse {
|
|
541
541
|
/**
|
542
542
|
* 异步FlowId
|
543
543
|
*/
|
544
|
-
FlowId
|
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
|
834
|
+
FlowId?: number;
|
835
835
|
/**
|
836
836
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
837
837
|
*/
|
@@ -1797,7 +1797,7 @@ export interface RemoveClusterSlaveZoneResponse {
|
|
1797
1797
|
/**
|
1798
1798
|
* 异步FlowId
|
1799
1799
|
*/
|
1800
|
-
FlowId
|
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
|
1834
|
+
PrivilegeStatements?: Array<string>;
|
1835
1835
|
/**
|
1836
1836
|
* 全局权限
|
1837
1837
|
注意:此字段可能返回 null,表示取不到有效值。
|
1838
1838
|
*/
|
1839
|
-
GlobalPrivileges
|
1839
|
+
GlobalPrivileges?: Array<string>;
|
1840
1840
|
/**
|
1841
1841
|
* 数据库权限
|
1842
1842
|
注意:此字段可能返回 null,表示取不到有效值。
|
1843
1843
|
*/
|
1844
|
-
DatabasePrivileges
|
1844
|
+
DatabasePrivileges?: Array<DatabasePrivileges>;
|
1845
1845
|
/**
|
1846
1846
|
* 数据库表权限
|
1847
1847
|
注意:此字段可能返回 null,表示取不到有效值。
|
1848
1848
|
*/
|
1849
|
-
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
|
}
|
@@ -2033,12 +2035,12 @@ export interface DescribeClusterParamLogsResponse {
|
|
2033
2035
|
/**
|
2034
2036
|
* 记录总数
|
2035
2037
|
*/
|
2036
|
-
TotalCount
|
2038
|
+
TotalCount?: number;
|
2037
2039
|
/**
|
2038
2040
|
* 参数修改记录
|
2039
2041
|
注意:此字段可能返回 null,表示取不到有效值。
|
2040
2042
|
*/
|
2041
|
-
ClusterParamLogs
|
2043
|
+
ClusterParamLogs?: Array<ClusterParamModifyLog>;
|
2042
2044
|
/**
|
2043
2045
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2044
2046
|
*/
|
@@ -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
|
}
|
@@ -3342,7 +3347,7 @@ export interface ModifyClusterSlaveZoneResponse {
|
|
3342
3347
|
/**
|
3343
3348
|
* 异步FlowId
|
3344
3349
|
*/
|
3345
|
-
FlowId
|
3350
|
+
FlowId?: number;
|
3346
3351
|
/**
|
3347
3352
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3348
3353
|
*/
|
@@ -4892,11 +4897,11 @@ export interface DescribeInstanceSlowQueriesResponse {
|
|
4892
4897
|
/**
|
4893
4898
|
* 总条数
|
4894
4899
|
*/
|
4895
|
-
TotalCount
|
4900
|
+
TotalCount?: number;
|
4896
4901
|
/**
|
4897
4902
|
* 慢查询记录
|
4898
4903
|
*/
|
4899
|
-
SlowQueries
|
4904
|
+
SlowQueries?: Array<SlowQueriesItem>;
|
4900
4905
|
/**
|
4901
4906
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4902
4907
|
*/
|
@@ -6286,7 +6291,7 @@ export interface RollBackClusterResponse {
|
|
6286
6291
|
/**
|
6287
6292
|
* 任务流ID
|
6288
6293
|
*/
|
6289
|
-
FlowId
|
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
|
7214
|
+
Items?: Array<InstanceParamItem>;
|
7210
7215
|
/**
|
7211
7216
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7212
7217
|
*/
|