tencentcloud-sdk-nodejs-cynosdb 4.0.671 → 4.0.673
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 +696 -0
- package/SERVICE_CHANGELOG.md +1041 -122
- package/package.json +1 -1
- package/products.md +26 -26
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +7 -7
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +41 -41
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +7 -7
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +7 -7
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +41 -41
@@ -148,7 +148,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
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);
|
@@ -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);
|
@@ -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);
|
@@ -346,7 +346,7 @@ 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);
|
@@ -634,7 +634,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
634
634
|
return this.request("DescribeInstances", req, cb);
|
635
635
|
}
|
636
636
|
/**
|
637
|
-
*
|
637
|
+
* 更新内核小版本
|
638
638
|
*/
|
639
639
|
async UpgradeClusterVersion(req, cb) {
|
640
640
|
return this.request("UpgradeClusterVersion", 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);
|
@@ -42,11 +42,11 @@ export interface ModifyClusterNameRequest {
|
|
42
42
|
*/
|
43
43
|
export interface ModifyProxyRwSplitRequest {
|
44
44
|
/**
|
45
|
-
* 集群ID
|
45
|
+
* 集群ID,例如cynosdbmysql-asd123
|
46
46
|
*/
|
47
47
|
ClusterId: string;
|
48
48
|
/**
|
49
|
-
* 数据库代理组ID
|
49
|
+
* 数据库代理组ID,例如cynosdbmysql-proxy-qwe123
|
50
50
|
*/
|
51
51
|
ProxyGroupId: string;
|
52
52
|
/**
|
@@ -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
|
/**
|
@@ -157,7 +157,7 @@ export interface DescribeAccountPrivilegesResponse {
|
|
157
157
|
/**
|
158
158
|
* 权限列表,示例值为:["select","update","delete","create","drop","references","index","alter","show_db","create_tmp_table","lock_tables","execute","create_view","show_view","create_routine","alter_routine","event","trigger"]
|
159
159
|
*/
|
160
|
-
Privileges
|
160
|
+
Privileges?: Array<string>;
|
161
161
|
/**
|
162
162
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
163
163
|
*/
|
@@ -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
|
/**
|
@@ -661,7 +661,7 @@ export interface UpgradeClusterVersionResponse {
|
|
661
661
|
/**
|
662
662
|
* 异步任务id
|
663
663
|
*/
|
664
|
-
FlowId
|
664
|
+
FlowId?: number;
|
665
665
|
/**
|
666
666
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
667
667
|
*/
|
@@ -975,12 +975,12 @@ export interface IsolateInstanceResponse {
|
|
975
975
|
/**
|
976
976
|
* 任务流id
|
977
977
|
*/
|
978
|
-
FlowId
|
978
|
+
FlowId?: number;
|
979
979
|
/**
|
980
980
|
* 隔离实例的订单id(预付费实例)
|
981
981
|
注意:此字段可能返回 null,表示取不到有效值。
|
982
982
|
*/
|
983
|
-
DealNames
|
983
|
+
DealNames?: Array<string>;
|
984
984
|
/**
|
985
985
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
986
986
|
*/
|
@@ -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
|
*/
|
@@ -1099,7 +1099,7 @@ export interface CopyClusterPasswordComplexityResponse {
|
|
1099
1099
|
/**
|
1100
1100
|
* 任务流ID
|
1101
1101
|
*/
|
1102
|
-
FlowId
|
1102
|
+
FlowId?: number;
|
1103
1103
|
/**
|
1104
1104
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1105
1105
|
*/
|
@@ -1463,7 +1463,7 @@ export interface SearchClusterTablesResponse {
|
|
1463
1463
|
* 数据表列表
|
1464
1464
|
注意:此字段可能返回 null,表示取不到有效值。
|
1465
1465
|
*/
|
1466
|
-
Tables
|
1466
|
+
Tables?: Array<DatabaseTables>;
|
1467
1467
|
/**
|
1468
1468
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1469
1469
|
*/
|
@@ -1979,17 +1979,17 @@ export interface ModifyClusterStorageResponse {
|
|
1979
1979
|
* 冻结流水ID
|
1980
1980
|
注意:此字段可能返回 null,表示取不到有效值。
|
1981
1981
|
*/
|
1982
|
-
TranId
|
1982
|
+
TranId?: string;
|
1983
1983
|
/**
|
1984
1984
|
* 大订单号
|
1985
1985
|
注意:此字段可能返回 null,表示取不到有效值。
|
1986
1986
|
*/
|
1987
|
-
BigDealIds
|
1987
|
+
BigDealIds?: Array<string>;
|
1988
1988
|
/**
|
1989
1989
|
* 订单号
|
1990
1990
|
注意:此字段可能返回 null,表示取不到有效值。
|
1991
1991
|
*/
|
1992
|
-
DealNames
|
1992
|
+
DealNames?: Array<string>;
|
1993
1993
|
/**
|
1994
1994
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1995
1995
|
*/
|
@@ -2219,7 +2219,7 @@ export interface Package {
|
|
2219
2219
|
*/
|
2220
2220
|
PackageUsedSpec?: number;
|
2221
2221
|
/**
|
2222
|
-
*
|
2222
|
+
* 是否还有库存余量
|
2223
2223
|
注意:此字段可能返回 null,表示取不到有效值。
|
2224
2224
|
*/
|
2225
2225
|
HasQuota?: boolean;
|
@@ -2472,7 +2472,7 @@ export interface IsolateInstanceRequest {
|
|
2472
2472
|
*/
|
2473
2473
|
ClusterId: string;
|
2474
2474
|
/**
|
2475
|
-
* 实例ID
|
2475
|
+
* 实例ID数组,例如["cynosdbbmysql-ins-asd","cynosdbmysql-ins-zxc"]
|
2476
2476
|
*/
|
2477
2477
|
InstanceIdList: Array<string>;
|
2478
2478
|
/**
|
@@ -2700,7 +2700,7 @@ export interface ResetAccountPasswordResponse {
|
|
2700
2700
|
*/
|
2701
2701
|
export interface NewAccount {
|
2702
2702
|
/**
|
2703
|
-
* 账户名,包含字母数字_,以字母开头,字母或数字结尾,长度1-
|
2703
|
+
* 账户名,包含字母数字_,以字母开头,字母或数字结尾,长度1-30
|
2704
2704
|
*/
|
2705
2705
|
AccountName: string;
|
2706
2706
|
/**
|
@@ -2708,7 +2708,7 @@ export interface NewAccount {
|
|
2708
2708
|
*/
|
2709
2709
|
AccountPassword: string;
|
2710
2710
|
/**
|
2711
|
-
* 主机
|
2711
|
+
* 主机(%或ipv4地址)
|
2712
2712
|
*/
|
2713
2713
|
Host: string;
|
2714
2714
|
/**
|
@@ -2931,7 +2931,7 @@ export interface DescribeBackupListRequest {
|
|
2931
2931
|
/**
|
2932
2932
|
* 备份ID
|
2933
2933
|
*/
|
2934
|
-
BackupIds?: Array<number>;
|
2934
|
+
BackupIds?: Array<number | bigint>;
|
2935
2935
|
/**
|
2936
2936
|
* 备份类型,可选值:snapshot,快照备份; logic,逻辑备份
|
2937
2937
|
*/
|
@@ -2963,7 +2963,7 @@ export interface DescribeBackupListRequest {
|
|
2963
2963
|
/**
|
2964
2964
|
* 快照备份Id列表
|
2965
2965
|
*/
|
2966
|
-
SnapshotIdList?: Array<number>;
|
2966
|
+
SnapshotIdList?: Array<number | bigint>;
|
2967
2967
|
}
|
2968
2968
|
/**
|
2969
2969
|
* CloseProxy请求参数结构体
|
@@ -4195,7 +4195,7 @@ export interface SearchClusterDatabasesResponse {
|
|
4195
4195
|
* 数据库列表
|
4196
4196
|
注意:此字段可能返回 null,表示取不到有效值。
|
4197
4197
|
*/
|
4198
|
-
Databases
|
4198
|
+
Databases?: Array<string>;
|
4199
4199
|
/**
|
4200
4200
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4201
4201
|
*/
|
@@ -4363,7 +4363,7 @@ export interface OpenClusterPasswordComplexityResponse {
|
|
4363
4363
|
/**
|
4364
4364
|
* 任务流ID
|
4365
4365
|
*/
|
4366
|
-
FlowId
|
4366
|
+
FlowId?: number;
|
4367
4367
|
/**
|
4368
4368
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4369
4369
|
*/
|
@@ -4415,7 +4415,7 @@ export interface OfflineInstanceResponse {
|
|
4415
4415
|
/**
|
4416
4416
|
* 任务流ID
|
4417
4417
|
*/
|
4418
|
-
FlowId
|
4418
|
+
FlowId?: number;
|
4419
4419
|
/**
|
4420
4420
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4421
4421
|
*/
|
@@ -4554,7 +4554,7 @@ export interface RestartInstanceResponse {
|
|
4554
4554
|
/**
|
4555
4555
|
* 异步任务id
|
4556
4556
|
*/
|
4557
|
-
FlowId
|
4557
|
+
FlowId?: number;
|
4558
4558
|
/**
|
4559
4559
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4560
4560
|
*/
|
@@ -4565,11 +4565,11 @@ export interface RestartInstanceResponse {
|
|
4565
4565
|
*/
|
4566
4566
|
export interface CopyClusterPasswordComplexityRequest {
|
4567
4567
|
/**
|
4568
|
-
* 复制集群ID
|
4568
|
+
* 复制集群ID数组,例如["cynosdbmysql-bzxxrmtq","cynosdbmysql-qwer"]
|
4569
4569
|
*/
|
4570
4570
|
ClusterIds: Array<string>;
|
4571
4571
|
/**
|
4572
|
-
* 集群id
|
4572
|
+
* 集群id,例如"cynosdbmysql-bzxxrmtq"
|
4573
4573
|
*/
|
4574
4574
|
SourceClusterId: string;
|
4575
4575
|
}
|
@@ -5031,16 +5031,16 @@ export interface UpgradeInstanceResponse {
|
|
5031
5031
|
* 冻结流水ID
|
5032
5032
|
注意:此字段可能返回 null,表示取不到有效值。
|
5033
5033
|
*/
|
5034
|
-
TranId
|
5034
|
+
TranId?: string;
|
5035
5035
|
/**
|
5036
5036
|
* 大订单号
|
5037
5037
|
注意:此字段可能返回 null,表示取不到有效值。
|
5038
5038
|
*/
|
5039
|
-
BigDealIds
|
5039
|
+
BigDealIds?: Array<string>;
|
5040
5040
|
/**
|
5041
5041
|
* 订单号
|
5042
5042
|
*/
|
5043
|
-
DealNames
|
5043
|
+
DealNames?: Array<string>;
|
5044
5044
|
/**
|
5045
5045
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5046
5046
|
*/
|
@@ -5587,12 +5587,12 @@ export interface IsolateClusterResponse {
|
|
5587
5587
|
* 任务流ID
|
5588
5588
|
注意:此字段可能返回 null,表示取不到有效值。
|
5589
5589
|
*/
|
5590
|
-
FlowId
|
5590
|
+
FlowId?: number;
|
5591
5591
|
/**
|
5592
5592
|
* 退款订单号
|
5593
5593
|
注意:此字段可能返回 null,表示取不到有效值。
|
5594
5594
|
*/
|
5595
|
-
DealNames
|
5595
|
+
DealNames?: Array<string>;
|
5596
5596
|
/**
|
5597
5597
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5598
5598
|
*/
|
@@ -5807,7 +5807,7 @@ export interface OfflineClusterResponse {
|
|
5807
5807
|
/**
|
5808
5808
|
* 任务流ID
|
5809
5809
|
*/
|
5810
|
-
FlowId
|
5810
|
+
FlowId?: number;
|
5811
5811
|
/**
|
5812
5812
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5813
5813
|
*/
|
@@ -5820,7 +5820,7 @@ export interface SwitchProxyVpcResponse {
|
|
5820
5820
|
/**
|
5821
5821
|
* 异步任务id。
|
5822
5822
|
*/
|
5823
|
-
FlowId
|
5823
|
+
FlowId?: number;
|
5824
5824
|
/**
|
5825
5825
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5826
5826
|
*/
|
@@ -7446,11 +7446,11 @@ export interface DeleteBackupRequest {
|
|
7446
7446
|
/**
|
7447
7447
|
* 备份文件ID,旧版本使用的字段,不推荐使用
|
7448
7448
|
*/
|
7449
|
-
SnapshotIdList?: Array<number>;
|
7449
|
+
SnapshotIdList?: Array<number | bigint>;
|
7450
7450
|
/**
|
7451
7451
|
* 备份文件ID,推荐使用
|
7452
7452
|
*/
|
7453
|
-
BackupIds?: Array<number>;
|
7453
|
+
BackupIds?: Array<number | bigint>;
|
7454
7454
|
}
|
7455
7455
|
/**
|
7456
7456
|
* 计费询价结果
|
@@ -7770,7 +7770,7 @@ export interface ModifyVipVportResponse {
|
|
7770
7770
|
/**
|
7771
7771
|
* 异步任务id
|
7772
7772
|
*/
|
7773
|
-
FlowId
|
7773
|
+
FlowId?: number;
|
7774
7774
|
/**
|
7775
7775
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7776
7776
|
*/
|
@@ -7933,23 +7933,23 @@ export interface InquirePriceRenewResponse {
|
|
7933
7933
|
/**
|
7934
7934
|
* 集群ID
|
7935
7935
|
*/
|
7936
|
-
ClusterId
|
7936
|
+
ClusterId?: string;
|
7937
7937
|
/**
|
7938
7938
|
* 实例ID列表
|
7939
7939
|
*/
|
7940
|
-
InstanceIds
|
7940
|
+
InstanceIds?: Array<string>;
|
7941
7941
|
/**
|
7942
7942
|
* 对应的询价结果数组
|
7943
7943
|
*/
|
7944
|
-
Prices
|
7944
|
+
Prices?: Array<TradePrice>;
|
7945
7945
|
/**
|
7946
7946
|
* 续费计算节点的总价格
|
7947
7947
|
*/
|
7948
|
-
InstanceRealTotalPrice
|
7948
|
+
InstanceRealTotalPrice?: number;
|
7949
7949
|
/**
|
7950
7950
|
* 续费存储节点的总价格
|
7951
7951
|
*/
|
7952
|
-
StorageRealTotalPrice
|
7952
|
+
StorageRealTotalPrice?: number;
|
7953
7953
|
/**
|
7954
7954
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7955
7955
|
*/
|