tencentcloud-sdk-nodejs-cynosdb 4.0.433 → 4.0.438
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 +1153 -0
- package/SERVICE_CHANGELOG.md +1259 -39
- package/package.json +1 -1
- package/products.md +41 -41
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +47 -22
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +116 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +17 -9
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +24 -12
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +99 -1
|
@@ -40,10 +40,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
40
40
|
return this.request("DescribeBackupList", req, cb);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* 批量回收账号权限
|
|
44
44
|
*/
|
|
45
|
-
async
|
|
46
|
-
return this.request("
|
|
45
|
+
async RevokeAccountPrivileges(req, cb) {
|
|
46
|
+
return this.request("RevokeAccountPrivileges", req, cb);
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* 本接口(RollBackCluster)用于回档集群
|
|
@@ -111,12 +111,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
111
111
|
async ModifyClusterName(req, cb) {
|
|
112
112
|
return this.request("ModifyClusterName", req, cb);
|
|
113
113
|
}
|
|
114
|
-
/**
|
|
115
|
-
* 批量回收账号权限
|
|
116
|
-
*/
|
|
117
|
-
async RevokeAccountPrivileges(req, cb) {
|
|
118
|
-
return this.request("RevokeAccountPrivileges", req, cb);
|
|
119
|
-
}
|
|
120
114
|
/**
|
|
121
115
|
* 本接口(DescribeInstanceDetail)用于查询实例详情。
|
|
122
116
|
*/
|
|
@@ -177,6 +171,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
177
171
|
async DescribeClusterParams(req, cb) {
|
|
178
172
|
return this.request("DescribeClusterParams", req, cb);
|
|
179
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* 为集群创建手动备份
|
|
176
|
+
*/
|
|
177
|
+
async CreateBackup(req, cb) {
|
|
178
|
+
return this.request("CreateBackup", req, cb);
|
|
179
|
+
}
|
|
180
180
|
/**
|
|
181
181
|
* 下线实例
|
|
182
182
|
*/
|
|
@@ -256,10 +256,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
256
256
|
return this.request("DescribeBackupConfig", req, cb);
|
|
257
257
|
}
|
|
258
258
|
/**
|
|
259
|
-
*
|
|
259
|
+
* 账号所有权限
|
|
260
260
|
*/
|
|
261
|
-
async
|
|
262
|
-
return this.request("
|
|
261
|
+
async DescribeAccountAllGrantPrivileges(req, cb) {
|
|
262
|
+
return this.request("DescribeAccountAllGrantPrivileges", req, cb);
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
265
|
* 查询续费集群价格
|
|
@@ -321,6 +321,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
321
321
|
async CreateAccounts(req, cb) {
|
|
322
322
|
return this.request("CreateAccounts", req, cb);
|
|
323
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* 升级预付费存储
|
|
326
|
+
*/
|
|
327
|
+
async ModifyClusterStorage(req, cb) {
|
|
328
|
+
return this.request("ModifyClusterStorage", req, cb);
|
|
329
|
+
}
|
|
324
330
|
/**
|
|
325
331
|
* 本接口(ActivateInstance)用于恢复已隔离的实例访问。
|
|
326
332
|
*/
|
|
@@ -351,6 +357,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
351
357
|
async DisassociateSecurityGroups(req, cb) {
|
|
352
358
|
return this.request("DisassociateSecurityGroups", req, cb);
|
|
353
359
|
}
|
|
360
|
+
/**
|
|
361
|
+
* 此接口(DescribeInstanceSlowQueries)用于查询实例慢查询日志。
|
|
362
|
+
*/
|
|
363
|
+
async DescribeInstanceSlowQueries(req, cb) {
|
|
364
|
+
return this.request("DescribeInstanceSlowQueries", req, cb);
|
|
365
|
+
}
|
|
354
366
|
/**
|
|
355
367
|
* 指定时间和集群查询是否可回滚
|
|
356
368
|
*/
|
|
@@ -158,6 +158,27 @@ export interface ModifyBackupNameResponse {
|
|
|
158
158
|
*/
|
|
159
159
|
RequestId?: string;
|
|
160
160
|
}
|
|
161
|
+
/**
|
|
162
|
+
* ModifyClusterStorage请求参数结构体
|
|
163
|
+
*/
|
|
164
|
+
export interface ModifyClusterStorageRequest {
|
|
165
|
+
/**
|
|
166
|
+
* 集群ID
|
|
167
|
+
*/
|
|
168
|
+
ClusterId: string;
|
|
169
|
+
/**
|
|
170
|
+
* 集群新存储大小(单位G)
|
|
171
|
+
*/
|
|
172
|
+
NewStorageLimit: number;
|
|
173
|
+
/**
|
|
174
|
+
* 集群原存储大小(单位G)
|
|
175
|
+
*/
|
|
176
|
+
OldStorageLimit: number;
|
|
177
|
+
/**
|
|
178
|
+
* 交易模式 0-下单并支付 1-下单
|
|
179
|
+
*/
|
|
180
|
+
DealMode?: number;
|
|
181
|
+
}
|
|
161
182
|
/**
|
|
162
183
|
* SwitchClusterZone返回参数结构体
|
|
163
184
|
*/
|
|
@@ -596,6 +617,21 @@ export interface ActivateInstanceRequest {
|
|
|
596
617
|
*/
|
|
597
618
|
InstanceIdList: Array<string>;
|
|
598
619
|
}
|
|
620
|
+
/**
|
|
621
|
+
* 数据库表信息
|
|
622
|
+
*/
|
|
623
|
+
export interface DatabaseTables {
|
|
624
|
+
/**
|
|
625
|
+
* 数据库名
|
|
626
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
627
|
+
*/
|
|
628
|
+
Database?: string;
|
|
629
|
+
/**
|
|
630
|
+
* 表名称列表
|
|
631
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
632
|
+
*/
|
|
633
|
+
Tables?: Array<string>;
|
|
634
|
+
}
|
|
599
635
|
/**
|
|
600
636
|
* AddClusterSlaveZone请求参数结构体
|
|
601
637
|
*/
|
|
@@ -697,6 +733,30 @@ export interface DescribeClustersRequest {
|
|
|
697
733
|
*/
|
|
698
734
|
Filters?: Array<QueryFilter>;
|
|
699
735
|
}
|
|
736
|
+
/**
|
|
737
|
+
* ModifyClusterStorage返回参数结构体
|
|
738
|
+
*/
|
|
739
|
+
export interface ModifyClusterStorageResponse {
|
|
740
|
+
/**
|
|
741
|
+
* 冻结流水ID
|
|
742
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
743
|
+
*/
|
|
744
|
+
TranId: string;
|
|
745
|
+
/**
|
|
746
|
+
* 大订单号
|
|
747
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
748
|
+
*/
|
|
749
|
+
BigDealIds: Array<string>;
|
|
750
|
+
/**
|
|
751
|
+
* 订单号
|
|
752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
753
|
+
*/
|
|
754
|
+
DealNames: Array<string>;
|
|
755
|
+
/**
|
|
756
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
757
|
+
*/
|
|
758
|
+
RequestId?: string;
|
|
759
|
+
}
|
|
700
760
|
/**
|
|
701
761
|
* DescribeInstanceDetail返回参数结构体
|
|
702
762
|
*/
|
|
@@ -1886,6 +1946,19 @@ export interface DescribeResourcesByDealNameRequest {
|
|
|
1886
1946
|
*/
|
|
1887
1947
|
DealNames?: Array<string>;
|
|
1888
1948
|
}
|
|
1949
|
+
/**
|
|
1950
|
+
* CreateBackup返回参数结构体
|
|
1951
|
+
*/
|
|
1952
|
+
export interface CreateBackupResponse {
|
|
1953
|
+
/**
|
|
1954
|
+
* 异步任务流ID
|
|
1955
|
+
*/
|
|
1956
|
+
FlowId: number;
|
|
1957
|
+
/**
|
|
1958
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1959
|
+
*/
|
|
1960
|
+
RequestId?: string;
|
|
1961
|
+
}
|
|
1889
1962
|
/**
|
|
1890
1963
|
* DescribeRollbackTimeValidity返回参数结构体
|
|
1891
1964
|
*/
|
|
@@ -1968,7 +2041,7 @@ export interface InquirePriceCreateRequest {
|
|
|
1968
2041
|
*/
|
|
1969
2042
|
Zone: string;
|
|
1970
2043
|
/**
|
|
1971
|
-
*
|
|
2044
|
+
* 购买计算节点个数
|
|
1972
2045
|
*/
|
|
1973
2046
|
GoodsNum: number;
|
|
1974
2047
|
/**
|
|
@@ -2427,6 +2500,31 @@ export interface Account {
|
|
|
2427
2500
|
*/
|
|
2428
2501
|
Host: string;
|
|
2429
2502
|
}
|
|
2503
|
+
/**
|
|
2504
|
+
* CreateBackup请求参数结构体
|
|
2505
|
+
*/
|
|
2506
|
+
export interface CreateBackupRequest {
|
|
2507
|
+
/**
|
|
2508
|
+
* 集群ID
|
|
2509
|
+
*/
|
|
2510
|
+
ClusterId: string;
|
|
2511
|
+
/**
|
|
2512
|
+
* 备份类型, 可选值:logic,逻辑备份;snapshot,物理备份
|
|
2513
|
+
*/
|
|
2514
|
+
BackupType?: string;
|
|
2515
|
+
/**
|
|
2516
|
+
* 备份的库, 只在 BackupType 为 logic 时有效
|
|
2517
|
+
*/
|
|
2518
|
+
BackupDatabases?: Array<string>;
|
|
2519
|
+
/**
|
|
2520
|
+
* 备份的表, 只在 BackupType 为 logic 时有效
|
|
2521
|
+
*/
|
|
2522
|
+
BackupTables?: Array<DatabaseTables>;
|
|
2523
|
+
/**
|
|
2524
|
+
* 备注名
|
|
2525
|
+
*/
|
|
2526
|
+
BackupName?: string;
|
|
2527
|
+
}
|
|
2430
2528
|
/**
|
|
2431
2529
|
* DescribeClusterParamLogs请求参数结构体
|
|
2432
2530
|
*/
|