tencentcloud-sdk-nodejs 4.0.290 → 4.0.291

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 (30) hide show
  1. package/CHANGELOG.md +123 -0
  2. package/SERVICE_CHANGELOG.md +150 -114
  3. package/package.json +1 -1
  4. package/products.md +8 -8
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/batch/v20170312/batch_models.ts +15 -15
  7. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  8. package/src/services/cls/v20201016/cls_client.ts +1 -1
  9. package/src/services/cls/v20201016/cls_models.ts +1 -1
  10. package/src/services/cvm/v20170312/cvm_models.ts +15 -15
  11. package/src/services/cynosdb/v20190107/cynosdb_client.ts +199 -58
  12. package/src/services/cynosdb/v20190107/cynosdb_models.ts +1668 -1113
  13. package/src/services/es/v20180416/es_models.ts +12 -0
  14. package/src/services/rum/v20210622/rum_models.ts +12 -12
  15. package/src/services/tse/v20201207/tse_models.ts +10 -0
  16. package/tencentcloud/common/sdk_version.d.ts +1 -1
  17. package/tencentcloud/common/sdk_version.js +1 -1
  18. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +15 -15
  19. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  20. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  21. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  22. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
  23. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +15 -15
  24. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +47 -3
  25. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +69 -3
  26. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1409 -933
  27. package/tencentcloud/services/es/v20180416/es_models.d.ts +10 -0
  28. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +12 -12
  29. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +8 -0
  30. package/test/cynosdb.v20190107.test.js +112 -2
@@ -2441,100 +2441,100 @@ export interface ItemPrice {
2441
2441
  * 折扣,如20.0代表2折。
2442
2442
  注意:此字段可能返回 null,表示取不到有效值。
2443
2443
  */
2444
- Discount: number
2444
+ Discount?: number
2445
2445
 
2446
2446
  /**
2447
2447
  * 后续合计费用的折扣价,后付费模式使用,单位:元<br><li>如返回了其他时间区间项,如UnitPriceDiscountSecondStep,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
2448
2448
  注意:此字段可能返回 null,表示取不到有效值。
2449
2449
  */
2450
- UnitPriceDiscount: number
2450
+ UnitPriceDiscount?: number
2451
2451
 
2452
2452
  /**
2453
2453
  * 使用时间区间在(96, 360)小时的后续合计费用的原价,后付费模式使用,单位:元。
2454
2454
  注意:此字段可能返回 null,表示取不到有效值。
2455
2455
  */
2456
- UnitPriceSecondStep: number
2456
+ UnitPriceSecondStep?: number
2457
2457
 
2458
2458
  /**
2459
2459
  * 使用时间区间在(96, 360)小时的后续合计费用的折扣价,后付费模式使用,单位:元
2460
2460
  注意:此字段可能返回 null,表示取不到有效值。
2461
2461
  */
2462
- UnitPriceDiscountSecondStep: number
2462
+ UnitPriceDiscountSecondStep?: number
2463
2463
 
2464
2464
  /**
2465
2465
  * 使用时间区间在(360, ∞)小时的后续合计费用的原价,后付费模式使用,单位:元。
2466
2466
  注意:此字段可能返回 null,表示取不到有效值。
2467
2467
  */
2468
- UnitPriceThirdStep: number
2468
+ UnitPriceThirdStep?: number
2469
2469
 
2470
2470
  /**
2471
2471
  * 使用时间区间在(360, ∞)小时的后续合计费用的折扣价,后付费模式使用,单位:元
2472
2472
  注意:此字段可能返回 null,表示取不到有效值。
2473
2473
  */
2474
- UnitPriceDiscountThirdStep: number
2474
+ UnitPriceDiscountThirdStep?: number
2475
2475
 
2476
2476
  /**
2477
2477
  * 预支三年合计费用的原价,预付费模式使用,单位:元。
2478
2478
  注意:此字段可能返回 null,表示取不到有效值。
2479
2479
  注意:此字段可能返回 null,表示取不到有效值。
2480
2480
  */
2481
- OriginalPriceThreeYear: number
2481
+ OriginalPriceThreeYear?: number
2482
2482
 
2483
2483
  /**
2484
2484
  * 预支三年合计费用的折扣价,预付费模式使用,单位:元。
2485
2485
  注意:此字段可能返回 null,表示取不到有效值。
2486
2486
  注意:此字段可能返回 null,表示取不到有效值。
2487
2487
  */
2488
- DiscountPriceThreeYear: number
2488
+ DiscountPriceThreeYear?: number
2489
2489
 
2490
2490
  /**
2491
2491
  * 预支三年应用的折扣,如20.0代表2折。
2492
2492
  注意:此字段可能返回 null,表示取不到有效值。
2493
2493
  注意:此字段可能返回 null,表示取不到有效值。
2494
2494
  */
2495
- DiscountThreeYear: number
2495
+ DiscountThreeYear?: number
2496
2496
 
2497
2497
  /**
2498
2498
  * 预支五年合计费用的原价,预付费模式使用,单位:元。
2499
2499
  注意:此字段可能返回 null,表示取不到有效值。
2500
2500
  注意:此字段可能返回 null,表示取不到有效值。
2501
2501
  */
2502
- OriginalPriceFiveYear: number
2502
+ OriginalPriceFiveYear?: number
2503
2503
 
2504
2504
  /**
2505
2505
  * 预支五年合计费用的折扣价,预付费模式使用,单位:元。
2506
2506
  注意:此字段可能返回 null,表示取不到有效值。
2507
2507
  注意:此字段可能返回 null,表示取不到有效值。
2508
2508
  */
2509
- DiscountPriceFiveYear: number
2509
+ DiscountPriceFiveYear?: number
2510
2510
 
2511
2511
  /**
2512
2512
  * 预支五年应用的折扣,如20.0代表2折。
2513
2513
  注意:此字段可能返回 null,表示取不到有效值。
2514
2514
  注意:此字段可能返回 null,表示取不到有效值。
2515
2515
  */
2516
- DiscountFiveYear: number
2516
+ DiscountFiveYear?: number
2517
2517
 
2518
2518
  /**
2519
2519
  * 预支一年合计费用的原价,预付费模式使用,单位:元。
2520
2520
  注意:此字段可能返回 null,表示取不到有效值。
2521
2521
  注意:此字段可能返回 null,表示取不到有效值。
2522
2522
  */
2523
- OriginalPriceOneYear: number
2523
+ OriginalPriceOneYear?: number
2524
2524
 
2525
2525
  /**
2526
2526
  * 预支一年合计费用的折扣价,预付费模式使用,单位:元。
2527
2527
  注意:此字段可能返回 null,表示取不到有效值。
2528
2528
  注意:此字段可能返回 null,表示取不到有效值。
2529
2529
  */
2530
- DiscountPriceOneYear: number
2530
+ DiscountPriceOneYear?: number
2531
2531
 
2532
2532
  /**
2533
2533
  * 预支一年应用的折扣,如20.0代表2折。
2534
2534
  注意:此字段可能返回 null,表示取不到有效值。
2535
2535
  注意:此字段可能返回 null,表示取不到有效值。
2536
2536
  */
2537
- DiscountOneYear: number
2537
+ DiscountOneYear?: number
2538
2538
  }
2539
2539
 
2540
2540
  /**
@@ -6414,7 +6414,7 @@ export interface ModifyAccountPrivilegesRequest {
6414
6414
  Accounts: Array<Account>
6415
6415
 
6416
6416
  /**
6417
- * 全局权限。其中,GlobalPrivileges 中权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "PROCESS", "DROP","REFERENCES","INDEX","ALTER","SHOW DATABASES","CREATE TEMPORARY TABLES","LOCK TABLES","EXECUTE","CREATE VIEW","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EVENT","TRIGGER"。
6417
+ * 全局权限。其中,GlobalPrivileges 中权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "PROCESS", "DROP","REFERENCES","INDEX","ALTER","SHOW DATABASES","CREATE TEMPORARY TABLES","LOCK TABLES","EXECUTE","CREATE VIEW","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EVENT","TRIGGER","CREATE USER","RELOAD","REPLICATION CLIENT","REPLICATION SLAVE","UPDATE"
6418
6418
  注意,不传该参数表示清除该权限。
6419
6419
  */
6420
6420
  GlobalPrivileges?: Array<string>
@@ -717,7 +717,7 @@ cls.pb.cc cls.pb.h cls.proto
717
717
  }
718
718
 
719
719
  /**
720
- * 本接口用于日志主题的索引配置
720
+ * 本接口用于删除日志主题的索引配置,删除索引配置后将无法检索和查询采集到的日志。
721
721
  */
722
722
  async DeleteIndex(
723
723
  req: DeleteIndexRequest,
@@ -575,7 +575,7 @@ export interface CallBackInfo {
575
575
  }
576
576
 
577
577
  /**
578
- * 日志告警监控对线
578
+ * 告警对象
579
579
  */
580
580
  export interface AlarmTargetInfo {
581
581
  /**
@@ -3925,100 +3925,100 @@ export interface ItemPrice {
3925
3925
  * 折扣,如20.0代表2折。
3926
3926
  注意:此字段可能返回 null,表示取不到有效值。
3927
3927
  */
3928
- Discount: number
3928
+ Discount?: number
3929
3929
 
3930
3930
  /**
3931
3931
  * 后续合计费用的折扣价,后付费模式使用,单位:元<br><li>如返回了其他时间区间项,如UnitPriceDiscountSecondStep,则本项代表时间区间在(0, 96)小时;若未返回其他时间区间项,则本项代表全时段,即(0, ∞)小时
3932
3932
  注意:此字段可能返回 null,表示取不到有效值。
3933
3933
  */
3934
- UnitPriceDiscount: number
3934
+ UnitPriceDiscount?: number
3935
3935
 
3936
3936
  /**
3937
3937
  * 使用时间区间在(96, 360)小时的后续合计费用的原价,后付费模式使用,单位:元。
3938
3938
  注意:此字段可能返回 null,表示取不到有效值。
3939
3939
  */
3940
- UnitPriceSecondStep: number
3940
+ UnitPriceSecondStep?: number
3941
3941
 
3942
3942
  /**
3943
3943
  * 使用时间区间在(96, 360)小时的后续合计费用的折扣价,后付费模式使用,单位:元
3944
3944
  注意:此字段可能返回 null,表示取不到有效值。
3945
3945
  */
3946
- UnitPriceDiscountSecondStep: number
3946
+ UnitPriceDiscountSecondStep?: number
3947
3947
 
3948
3948
  /**
3949
3949
  * 使用时间区间在(360, ∞)小时的后续合计费用的原价,后付费模式使用,单位:元。
3950
3950
  注意:此字段可能返回 null,表示取不到有效值。
3951
3951
  */
3952
- UnitPriceThirdStep: number
3952
+ UnitPriceThirdStep?: number
3953
3953
 
3954
3954
  /**
3955
3955
  * 使用时间区间在(360, ∞)小时的后续合计费用的折扣价,后付费模式使用,单位:元
3956
3956
  注意:此字段可能返回 null,表示取不到有效值。
3957
3957
  */
3958
- UnitPriceDiscountThirdStep: number
3958
+ UnitPriceDiscountThirdStep?: number
3959
3959
 
3960
3960
  /**
3961
3961
  * 预支三年合计费用的原价,预付费模式使用,单位:元。
3962
3962
  注意:此字段可能返回 null,表示取不到有效值。
3963
3963
  注意:此字段可能返回 null,表示取不到有效值。
3964
3964
  */
3965
- OriginalPriceThreeYear: number
3965
+ OriginalPriceThreeYear?: number
3966
3966
 
3967
3967
  /**
3968
3968
  * 预支三年合计费用的折扣价,预付费模式使用,单位:元。
3969
3969
  注意:此字段可能返回 null,表示取不到有效值。
3970
3970
  注意:此字段可能返回 null,表示取不到有效值。
3971
3971
  */
3972
- DiscountPriceThreeYear: number
3972
+ DiscountPriceThreeYear?: number
3973
3973
 
3974
3974
  /**
3975
3975
  * 预支三年应用的折扣,如20.0代表2折。
3976
3976
  注意:此字段可能返回 null,表示取不到有效值。
3977
3977
  注意:此字段可能返回 null,表示取不到有效值。
3978
3978
  */
3979
- DiscountThreeYear: number
3979
+ DiscountThreeYear?: number
3980
3980
 
3981
3981
  /**
3982
3982
  * 预支五年合计费用的原价,预付费模式使用,单位:元。
3983
3983
  注意:此字段可能返回 null,表示取不到有效值。
3984
3984
  注意:此字段可能返回 null,表示取不到有效值。
3985
3985
  */
3986
- OriginalPriceFiveYear: number
3986
+ OriginalPriceFiveYear?: number
3987
3987
 
3988
3988
  /**
3989
3989
  * 预支五年合计费用的折扣价,预付费模式使用,单位:元。
3990
3990
  注意:此字段可能返回 null,表示取不到有效值。
3991
3991
  注意:此字段可能返回 null,表示取不到有效值。
3992
3992
  */
3993
- DiscountPriceFiveYear: number
3993
+ DiscountPriceFiveYear?: number
3994
3994
 
3995
3995
  /**
3996
3996
  * 预支五年应用的折扣,如20.0代表2折。
3997
3997
  注意:此字段可能返回 null,表示取不到有效值。
3998
3998
  注意:此字段可能返回 null,表示取不到有效值。
3999
3999
  */
4000
- DiscountFiveYear: number
4000
+ DiscountFiveYear?: number
4001
4001
 
4002
4002
  /**
4003
4003
  * 预支一年合计费用的原价,预付费模式使用,单位:元。
4004
4004
  注意:此字段可能返回 null,表示取不到有效值。
4005
4005
  注意:此字段可能返回 null,表示取不到有效值。
4006
4006
  */
4007
- OriginalPriceOneYear: number
4007
+ OriginalPriceOneYear?: number
4008
4008
 
4009
4009
  /**
4010
4010
  * 预支一年合计费用的折扣价,预付费模式使用,单位:元。
4011
4011
  注意:此字段可能返回 null,表示取不到有效值。
4012
4012
  注意:此字段可能返回 null,表示取不到有效值。
4013
4013
  */
4014
- DiscountPriceOneYear: number
4014
+ DiscountPriceOneYear?: number
4015
4015
 
4016
4016
  /**
4017
4017
  * 预支一年应用的折扣,如20.0代表2折。
4018
4018
  注意:此字段可能返回 null,表示取不到有效值。
4019
4019
  注意:此字段可能返回 null,表示取不到有效值。
4020
4020
  */
4021
- DiscountOneYear: number
4021
+ DiscountOneYear?: number
4022
4022
  }
4023
4023
 
4024
4024
  /**
@@ -18,78 +18,109 @@
18
18
  import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
- AddInstancesResponse,
22
- UpgradeInstanceResponse,
23
- Addr,
24
- DescribeClustersRequest,
25
- InstanceSpec,
26
- DescribeProjectSecurityGroupsRequest,
27
- ModifyClusterParamResponse,
21
+ DescribeRollbackTimeRangeRequest,
22
+ ObjectTask,
23
+ DescribeBackupConfigRequest,
24
+ DescribeAccountsRequest,
25
+ ModifyMaintainPeriodConfigRequest,
26
+ DescribeRollbackTimeRangeResponse,
27
+ AssociateSecurityGroupsRequest,
28
+ DescribeDBSecurityGroupsResponse,
29
+ DescribeMaintainPeriodRequest,
30
+ AccountParam,
31
+ DescribeInstancesResponse,
32
+ ClusterInstanceDetail,
28
33
  Account,
29
- SecurityGroup,
34
+ IsolateInstanceResponse,
35
+ DescribeInstanceSpecsRequest,
36
+ RevokeAccountPrivilegesResponse,
37
+ CreateClustersResponse,
38
+ SetRenewFlagRequest,
39
+ CynosdbInstanceGrp,
40
+ Tag,
41
+ ActivateInstanceRequest,
42
+ RollbackTableInfo,
43
+ DescribeAccountAllGrantPrivilegesResponse,
44
+ RollbackDatabase,
45
+ DatabasePrivileges,
46
+ DescribeClustersRequest,
47
+ DescribeInstanceDetailResponse,
30
48
  ModifyDBInstanceSecurityGroupsResponse,
31
- DescribeBackupConfigRequest,
49
+ DescribeClusterParamLogsResponse,
32
50
  DescribeClusterInstanceGrpsRequest,
33
51
  DescribeResourcesByDealNameResponse,
34
- DescribeAccountsRequest,
52
+ ResumeServerlessResponse,
35
53
  IsolateInstanceRequest,
54
+ DescribeDBSecurityGroupsRequest,
55
+ RollBackClusterRequest,
56
+ RollbackTable,
57
+ DescribeClusterDetailRequest,
58
+ DescribeProjectSecurityGroupsResponse,
59
+ PauseServerlessResponse,
60
+ OfflineClusterRequest,
61
+ BackupFileInfo,
62
+ DescribeBackupListRequest,
63
+ CynosdbInstance,
64
+ DbTable,
65
+ GrantAccountPrivilegesRequest,
66
+ IsolateClusterResponse,
67
+ CreateClustersRequest,
68
+ DescribeClustersResponse,
69
+ QueryFilter,
70
+ DescribeBackupConfigResponse,
71
+ ModifyDBInstanceSecurityGroupsRequest,
72
+ AddInstancesResponse,
73
+ Addr,
74
+ DescribeProjectSecurityGroupsRequest,
75
+ ModifyClusterParamResponse,
76
+ SecurityGroup,
77
+ NetAddr,
78
+ AssociateSecurityGroupsResponse,
79
+ DescribeResourcesByDealNameRequest,
80
+ DescribeRollbackTimeValidityResponse,
81
+ GrantAccountPrivilegesResponse,
82
+ ResumeServerlessRequest,
83
+ BillingResourceInfo,
84
+ ModifyBackupConfigResponse,
85
+ PauseServerlessRequest,
86
+ UpgradeInstanceResponse,
87
+ ModifyAccountParamsRequest,
88
+ CynosdbCluster,
89
+ SetRenewFlagResponse,
90
+ OfflineClusterResponse,
91
+ RevokeAccountPrivilegesRequest,
92
+ InstanceSpec,
93
+ DescribeClusterParamLogsRequest,
94
+ UpgradeInstanceRequest,
36
95
  DescribeMaintainPeriodResponse,
37
96
  DescribeBackupListResponse,
38
- DescribeRollbackTimeRangeResponse,
39
- ModifyMaintainPeriodConfigRequest,
40
- ModifyBackupConfigRequest,
41
- ModifyClusterParamRequest,
42
- DescribeDBSecurityGroupsRequest,
97
+ RollBackClusterResponse,
98
+ DescribeClusterDetailResponse,
99
+ ActivateInstanceResponse,
43
100
  DescribeRollbackTimeValidityRequest,
44
101
  IsolateClusterRequest,
45
102
  DescribeClusterInstanceGrpsResponse,
46
103
  AddInstancesRequest,
47
- NetAddr,
48
- DescribeClusterDetailRequest,
49
- Tag,
50
- DescribeProjectSecurityGroupsResponse,
104
+ DescribeInstancesRequest,
105
+ ClusterParamModifyLog,
51
106
  CynosdbInstanceDetail,
52
- DescribeDBSecurityGroupsResponse,
53
- DescribeMaintainPeriodRequest,
54
- DescribeInstancesResponse,
55
107
  CynosdbClusterDetail,
56
- ClusterInstanceDetail,
57
- BackupFileInfo,
58
- DescribeRollbackTimeValidityResponse,
59
108
  DescribeInstanceDetailRequest,
60
109
  ModifyMaintainPeriodConfigResponse,
61
- DescribeInstancesRequest,
62
- DescribeResourcesByDealNameRequest,
63
- IsolateInstanceResponse,
64
- DescribeBackupListRequest,
65
- DescribeRollbackTimeRangeRequest,
66
- QueryFilter,
67
- CynosdbInstance,
110
+ DisassociateSecurityGroupsRequest,
111
+ TablePrivileges,
112
+ ModifyClusterParamRequest,
68
113
  DescribeAccountsResponse,
69
- UpgradeInstanceRequest,
70
- DescribeInstanceDetailResponse,
114
+ ModifyAccountParamsResponse,
71
115
  OfflineInstanceRequest,
72
- BillingResourceInfo,
73
- OfflineClusterResponse,
74
116
  DescribeInstanceSpecsResponse,
75
- ObjectTask,
76
- DescribeInstanceSpecsRequest,
77
- ParamItem,
78
- IsolateClusterResponse,
79
- CreateClustersResponse,
80
- SetRenewFlagRequest,
81
- CreateClustersRequest,
82
- CynosdbCluster,
83
- OfflineClusterRequest,
84
- DescribeClusterDetailResponse,
117
+ DescribeAccountAllGrantPrivilegesRequest,
85
118
  OfflineInstanceResponse,
86
- CynosdbInstanceGrp,
87
- DescribeClustersResponse,
88
- SetRenewFlagResponse,
89
- ModifyBackupConfigResponse,
119
+ ParamItem,
90
120
  PolicyRule,
91
- DescribeBackupConfigResponse,
92
- ModifyDBInstanceSecurityGroupsRequest,
121
+ ModifyBackupConfigRequest,
122
+ InputAccount,
123
+ DisassociateSecurityGroupsResponse,
93
124
  } from "./cynosdb_models"
94
125
 
95
126
  /**
@@ -101,6 +132,16 @@ export class Client extends AbstractClient {
101
132
  super("cynosdb.tencentcloudapi.com", "2019-01-07", clientConfig)
102
133
  }
103
134
 
135
+ /**
136
+ * 恢复serverless集群
137
+ */
138
+ async ResumeServerless(
139
+ req: ResumeServerlessRequest,
140
+ cb?: (error: string, rep: ResumeServerlessResponse) => void
141
+ ): Promise<ResumeServerlessResponse> {
142
+ return this.request("ResumeServerless", req, cb)
143
+ }
144
+
104
145
  /**
105
146
  * 查询备份文件列表
106
147
  */
@@ -111,6 +152,26 @@ export class Client extends AbstractClient {
111
152
  return this.request("DescribeBackupList", req, cb)
112
153
  }
113
154
 
155
+ /**
156
+ * 批量回收账号权限
157
+ */
158
+ async RevokeAccountPrivileges(
159
+ req: RevokeAccountPrivilegesRequest,
160
+ cb?: (error: string, rep: RevokeAccountPrivilegesResponse) => void
161
+ ): Promise<RevokeAccountPrivilegesResponse> {
162
+ return this.request("RevokeAccountPrivileges", req, cb)
163
+ }
164
+
165
+ /**
166
+ * 本接口(RollBackCluster)用于回档集群
167
+ */
168
+ async RollBackCluster(
169
+ req: RollBackClusterRequest,
170
+ cb?: (error: string, rep: RollBackClusterResponse) => void
171
+ ): Promise<RollBackClusterResponse> {
172
+ return this.request("RollBackCluster", req, cb)
173
+ }
174
+
114
175
  /**
115
176
  * 获取指定集群的备份配置信息,包括全量备份时间段,备份文件保留时间
116
177
  */
@@ -141,6 +202,16 @@ export class Client extends AbstractClient {
141
202
  return this.request("OfflineCluster", req, cb)
142
203
  }
143
204
 
205
+ /**
206
+ * 暂停serverless集群
207
+ */
208
+ async PauseServerless(
209
+ req: PauseServerlessRequest,
210
+ cb?: (error: string, rep: PauseServerlessResponse) => void
211
+ ): Promise<PauseServerlessResponse> {
212
+ return this.request("PauseServerless", req, cb)
213
+ }
214
+
144
215
  /**
145
216
  * 本接口(DescribeInstanceDetail)用于查询实例详情。
146
217
  */
@@ -181,6 +252,26 @@ export class Client extends AbstractClient {
181
252
  return this.request("DescribeInstances", req, cb)
182
253
  }
183
254
 
255
+ /**
256
+ * 批量授权账号权限
257
+ */
258
+ async GrantAccountPrivileges(
259
+ req: GrantAccountPrivilegesRequest,
260
+ cb?: (error: string, rep: GrantAccountPrivilegesResponse) => void
261
+ ): Promise<GrantAccountPrivilegesResponse> {
262
+ return this.request("GrantAccountPrivileges", req, cb)
263
+ }
264
+
265
+ /**
266
+ * 本接口(DescribeClusterParamLogs)查询参数修改日志
267
+ */
268
+ async DescribeClusterParamLogs(
269
+ req: DescribeClusterParamLogsRequest,
270
+ cb?: (error: string, rep: DescribeClusterParamLogsResponse) => void
271
+ ): Promise<DescribeClusterParamLogsResponse> {
272
+ return this.request("DescribeClusterParamLogs", req, cb)
273
+ }
274
+
184
275
  /**
185
276
  * 修改维护时间配置
186
277
  */
@@ -191,6 +282,16 @@ export class Client extends AbstractClient {
191
282
  return this.request("ModifyMaintainPeriodConfig", req, cb)
192
283
  }
193
284
 
285
+ /**
286
+ * 修改账号参数
287
+ */
288
+ async ModifyAccountParams(
289
+ req: ModifyAccountParamsRequest,
290
+ cb?: (error: string, rep: ModifyAccountParamsResponse) => void
291
+ ): Promise<ModifyAccountParamsResponse> {
292
+ return this.request("ModifyAccountParams", req, cb)
293
+ }
294
+
194
295
  /**
195
296
  * 下线实例
196
297
  */
@@ -241,6 +342,16 @@ export class Client extends AbstractClient {
241
342
  return this.request("DescribeProjectSecurityGroups", req, cb)
242
343
  }
243
344
 
345
+ /**
346
+ * 安全组批量绑定云资源
347
+ */
348
+ async AssociateSecurityGroups(
349
+ req: AssociateSecurityGroupsRequest,
350
+ cb?: (error: string, rep: AssociateSecurityGroupsResponse) => void
351
+ ): Promise<AssociateSecurityGroupsResponse> {
352
+ return this.request("AssociateSecurityGroups", req, cb)
353
+ }
354
+
244
355
  /**
245
356
  * SetRenewFlag设置实例的自动续费功能
246
357
  */
@@ -291,6 +402,16 @@ export class Client extends AbstractClient {
291
402
  return this.request("DescribeInstanceSpecs", req, cb)
292
403
  }
293
404
 
405
+ /**
406
+ * 账号所有权限
407
+ */
408
+ async DescribeAccountAllGrantPrivileges(
409
+ req: DescribeAccountAllGrantPrivilegesRequest,
410
+ cb?: (error: string, rep: DescribeAccountAllGrantPrivilegesResponse) => void
411
+ ): Promise<DescribeAccountAllGrantPrivilegesResponse> {
412
+ return this.request("DescribeAccountAllGrantPrivileges", req, cb)
413
+ }
414
+
294
415
  /**
295
416
  * 本接口(DescribeAccounts)用于查询数据库管理账号。
296
417
  */
@@ -342,13 +463,13 @@ export class Client extends AbstractClient {
342
463
  }
343
464
 
344
465
  /**
345
- * 指定时间和集群查询是否可回滚
466
+ * 本接口(ActivateInstance)用于恢复已隔离的实例访问。
346
467
  */
347
- async DescribeRollbackTimeValidity(
348
- req: DescribeRollbackTimeValidityRequest,
349
- cb?: (error: string, rep: DescribeRollbackTimeValidityResponse) => void
350
- ): Promise<DescribeRollbackTimeValidityResponse> {
351
- return this.request("DescribeRollbackTimeValidity", req, cb)
468
+ async ActivateInstance(
469
+ req: ActivateInstanceRequest,
470
+ cb?: (error: string, rep: ActivateInstanceResponse) => void
471
+ ): Promise<ActivateInstanceResponse> {
472
+ return this.request("ActivateInstance", req, cb)
352
473
  }
353
474
 
354
475
  /**
@@ -361,6 +482,26 @@ export class Client extends AbstractClient {
361
482
  return this.request("DescribeDBSecurityGroups", req, cb)
362
483
  }
363
484
 
485
+ /**
486
+ * 安全组批量解绑云资源
487
+ */
488
+ async DisassociateSecurityGroups(
489
+ req: DisassociateSecurityGroupsRequest,
490
+ cb?: (error: string, rep: DisassociateSecurityGroupsResponse) => void
491
+ ): Promise<DisassociateSecurityGroupsResponse> {
492
+ return this.request("DisassociateSecurityGroups", req, cb)
493
+ }
494
+
495
+ /**
496
+ * 指定时间和集群查询是否可回滚
497
+ */
498
+ async DescribeRollbackTimeValidity(
499
+ req: DescribeRollbackTimeValidityRequest,
500
+ cb?: (error: string, rep: DescribeRollbackTimeValidityResponse) => void
501
+ ): Promise<DescribeRollbackTimeValidityResponse> {
502
+ return this.request("DescribeRollbackTimeValidity", req, cb)
503
+ }
504
+
364
505
  /**
365
506
  * 本接口(AddInstances)用于集群添加实例
366
507
  */