tencentcloud-sdk-nodejs 4.0.657 → 4.0.658

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 (39) hide show
  1. package/CHANGELOG.md +104 -0
  2. package/SERVICE_CHANGELOG.md +249 -357
  3. package/package.json +1 -1
  4. package/products.md +12 -12
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdb/v20170320/cdb_client.ts +36 -0
  7. package/src/services/cdb/v20170320/cdb_models.ts +80 -2
  8. package/src/services/clb/v20180317/clb_models.ts +1 -1
  9. package/src/services/cwp/v20180228/cwp_models.ts +2 -2
  10. package/src/services/dlc/v20210125/dlc_client.ts +16 -2
  11. package/src/services/dlc/v20210125/dlc_models.ts +224 -114
  12. package/src/services/gme/v20180711/gme_client.ts +6 -5
  13. package/src/services/sqlserver/v20180328/sqlserver_models.ts +1 -1
  14. package/src/services/tke/v20180525/tke_client.ts +1 -0
  15. package/src/services/tke/v20180525/tke_models.ts +26 -6
  16. package/src/services/tse/v20201207/tse_models.ts +1 -0
  17. package/src/services/vpc/v20170312/vpc_client.ts +95 -23
  18. package/src/services/vpc/v20170312/vpc_models.ts +216 -98
  19. package/tencentcloud/common/sdk_version.d.ts +1 -1
  20. package/tencentcloud/common/sdk_version.js +1 -1
  21. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +13 -1
  22. package/tencentcloud/services/cdb/v20170320/cdb_client.js +18 -0
  23. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +74 -2
  24. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
  25. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +2 -2
  26. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
  27. package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
  28. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +220 -114
  29. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +6 -5
  30. package/tencentcloud/services/gme/v20180711/gme_client.js +6 -5
  31. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +1 -1
  32. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +25 -6
  33. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +1 -0
  34. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +31 -7
  35. package/tencentcloud/services/vpc/v20170312/vpc_client.js +45 -9
  36. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +204 -98
  37. package/test/cdb.v20170320.test.js +30 -0
  38. package/test/dlc.v20210125.test.js +10 -0
  39. package/test/vpc.v20170312.test.js +66 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.657",
3
+ "version": "4.0.658",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -41,12 +41,12 @@
41
41
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
42
42
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-08-04 01:07:16 |
43
43
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-07-28 01:10:59 |
44
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-08-04 01:07:26 |
44
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-08-07 01:07:06 |
45
45
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-07-28 01:11:59 |
46
46
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-08-04 01:07:45 |
47
47
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-05-18 01:10:41 |
48
48
  | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-07-20 01:14:55 |
49
- | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-07-25 10:44:01 |
49
+ | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-08-07 01:07:52 |
50
50
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-07-27 01:09:08 |
51
51
  | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-07-14 01:08:16 |
52
52
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-05-31 01:12:53 |
@@ -55,7 +55,7 @@
55
55
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
56
56
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
57
57
  | ckafka | [消息队列 CKafka](https://cloud.tencent.com/document/product/597) | 2023-07-31 01:13:15 |
58
- | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-08-04 01:08:28 |
58
+ | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2023-08-07 01:08:20 |
59
59
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2023-05-18 01:13:28 |
60
60
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2023-05-18 01:13:36 |
61
61
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2023-08-03 01:03:28 |
@@ -68,9 +68,9 @@
68
68
  | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-07-18 01:21:16 |
69
69
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
70
70
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-08-02 01:09:12 |
71
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-07-28 01:18:37 |
71
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-08-07 01:09:27 |
72
72
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
73
- | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-08-02 01:13:37 |
73
+ | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-08-07 01:09:57 |
74
74
  | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-08-02 01:13:55 |
75
75
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
76
76
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
@@ -78,7 +78,7 @@
78
78
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-05-18 01:21:33 |
79
79
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-05-18 01:21:37 |
80
80
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-06-28 01:18:44 |
81
- | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-08-01 01:17:48 |
81
+ | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-08-07 01:10:42 |
82
82
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-08-01 01:18:18 |
83
83
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-07-24 01:25:15 |
84
84
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-05-18 01:23:31 |
@@ -100,7 +100,7 @@
100
100
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-07-14 14:55:45 |
101
101
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2023-05-18 01:28:35 |
102
102
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2023-07-28 01:27:13 |
103
- | gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-07-21 01:25:06 |
103
+ | gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-08-07 01:12:20 |
104
104
  | goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2023-08-02 01:16:12 |
105
105
  | gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
106
106
  | gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2023-05-18 01:29:42 |
@@ -137,7 +137,7 @@
137
137
  | memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2023-05-26 01:41:20 |
138
138
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
139
139
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2023-05-18 01:39:20 |
140
- | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-08-01 01:32:11 |
140
+ | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-08-07 01:14:24 |
141
141
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-07-06 01:31:55 |
142
142
  | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-08-03 01:09:25 |
143
143
  | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-08-03 01:09:40 |
@@ -170,7 +170,7 @@
170
170
  | sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-06-28 01:37:53 |
171
171
  | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2023-07-10 01:39:48 |
172
172
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
173
- | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-08-04 01:16:26 |
173
+ | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-08-07 01:16:11 |
174
174
  | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-07-26 01:34:12 |
175
175
  | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2023-07-19 01:38:38 |
176
176
  | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-05-18 01:49:36 |
@@ -208,7 +208,7 @@
208
208
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2023-07-10 01:48:50 |
209
209
  | tione | [TI-ONE 训练平台](https://cloud.tencent.com/document/product/851) | 2023-07-28 15:36:37 |
210
210
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2023-08-03 01:13:41 |
211
- | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-08-03 01:13:56 |
211
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-08-07 01:18:30 |
212
212
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
213
213
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2023-05-18 02:01:07 |
214
214
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-07-28 01:54:14 |
@@ -217,7 +217,7 @@
217
217
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-07-10 01:51:20 |
218
218
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
219
219
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-08-04 01:19:38 |
220
- | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-08-02 01:26:15 |
220
+ | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-08-07 01:19:09 |
221
221
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-08-02 01:26:52 |
222
222
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
223
223
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-08-01 01:49:43 |
@@ -225,7 +225,7 @@
225
225
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-05-18 02:04:19 |
226
226
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-05-18 02:04:23 |
227
227
  | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-08-04 01:20:16 |
228
- | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-08-03 01:15:17 |
228
+ | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-08-07 01:19:59 |
229
229
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-07-18 01:58:58 |
230
230
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-07-31 01:50:43 |
231
231
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-07-18 01:59:28 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.657"
1
+ export const sdkVersion = "4.0.658"
@@ -64,6 +64,7 @@ import {
64
64
  DescribeRoMinScaleResponse,
65
65
  StopDBImportJobResponse,
66
66
  ProxyAllocation,
67
+ StopCpuExpandRequest,
67
68
  ModifyDBInstanceNameRequest,
68
69
  TagInfoUnit,
69
70
  ModifyAuditRuleResponse,
@@ -153,12 +154,14 @@ import {
153
154
  CreateAuditPolicyRequest,
154
155
  CreateRoInstanceIpRequest,
155
156
  OpenWanServiceRequest,
157
+ StopCpuExpandResponse,
156
158
  DescribeBackupConfigResponse,
157
159
  DescribeParamTemplatesResponse,
158
160
  ZoneConf,
159
161
  SlaveInstanceInfo,
160
162
  DescribeProjectSecurityGroupsRequest,
161
163
  StopReplicationRequest,
164
+ StartCpuExpandResponse,
162
165
  CreateCloneInstanceResponse,
163
166
  DescribeCdbZoneConfigRequest,
164
167
  DeviceCpuInfo,
@@ -291,6 +294,8 @@ import {
291
294
  DescribeDBImportRecordsRequest,
292
295
  CreateDBImportJobResponse,
293
296
  DescribeTagsOfInstanceIdsRequest,
297
+ StartCpuExpandRequest,
298
+ DescribeCpuExpandStrategyRequest,
294
299
  CloseCDBProxyResponse,
295
300
  StopReplicationResponse,
296
301
  UpgradeDBInstanceEngineVersionRequest,
@@ -374,6 +379,7 @@ import {
374
379
  UpgradeCDBProxyVersionResponse,
375
380
  ModifyAccountDescriptionRequest,
376
381
  ModifyAccountPasswordRequest,
382
+ DescribeCpuExpandStrategyResponse,
377
383
  InstanceRebootTime,
378
384
  RenewDBInstanceResponse,
379
385
  TablePrivilege,
@@ -534,6 +540,16 @@ export class Client extends AbstractClient {
534
540
  return this.request("StopReplication", req, cb)
535
541
  }
536
542
 
543
+ /**
544
+ * 通过该API,可以关闭 CPU 弹性扩容。
545
+ */
546
+ async StopCpuExpand(
547
+ req: StopCpuExpandRequest,
548
+ cb?: (error: string, rep: StopCpuExpandResponse) => void
549
+ ): Promise<StopCpuExpandResponse> {
550
+ return this.request("StopCpuExpand", req, cb)
551
+ }
552
+
537
553
  /**
538
554
  * 本接口(ModifyDBInstanceName)用于修改云数据库实例的名称。
539
555
  */
@@ -1533,6 +1549,16 @@ export class Client extends AbstractClient {
1533
1549
  return this.request("DescribeAccounts", req, cb)
1534
1550
  }
1535
1551
 
1552
+ /**
1553
+ * 通过该 API 可以查询实例的 CPU 弹性扩容策略
1554
+ */
1555
+ async DescribeCpuExpandStrategy(
1556
+ req: DescribeCpuExpandStrategyRequest,
1557
+ cb?: (error: string, rep: DescribeCpuExpandStrategyResponse) => void
1558
+ ): Promise<DescribeCpuExpandStrategyResponse> {
1559
+ return this.request("DescribeCpuExpandStrategy", req, cb)
1560
+ }
1561
+
1536
1562
  /**
1537
1563
  * 重新负载均衡数据库代理
1538
1564
  */
@@ -1802,6 +1828,16 @@ export class Client extends AbstractClient {
1802
1828
  return this.request("DeleteAuditRule", req, cb)
1803
1829
  }
1804
1830
 
1831
+ /**
1832
+ * 通过该API,可以开启CPU弹性扩容,包括一次性的手动扩容以及自动弹性扩容。
1833
+ */
1834
+ async StartCpuExpand(
1835
+ req?: StartCpuExpandRequest,
1836
+ cb?: (error: string, rep: StartCpuExpandResponse) => void
1837
+ ): Promise<StartCpuExpandResponse> {
1838
+ return this.request("StartCpuExpand", req, cb)
1839
+ }
1840
+
1805
1841
  /**
1806
1842
  * 本接口(DescribeSupportedPrivileges)用于查询云数据库的支持的权限信息,包括全局权限,数据库权限,表权限以及列权限。
1807
1843
  */
@@ -1195,6 +1195,16 @@ export interface ProxyAllocation {
1195
1195
  ProxyInstance: Array<ProxyInst>
1196
1196
  }
1197
1197
 
1198
+ /**
1199
+ * StopCpuExpand请求参数结构体
1200
+ */
1201
+ export interface StopCpuExpandRequest {
1202
+ /**
1203
+ * 实例 ID 。
1204
+ */
1205
+ InstanceId: string
1206
+ }
1207
+
1198
1208
  /**
1199
1209
  * ModifyDBInstanceName请求参数结构体
1200
1210
  */
@@ -3132,6 +3142,20 @@ export interface OpenWanServiceRequest {
3132
3142
  InstanceId: string
3133
3143
  }
3134
3144
 
3145
+ /**
3146
+ * StopCpuExpand返回参数结构体
3147
+ */
3148
+ export interface StopCpuExpandResponse {
3149
+ /**
3150
+ * 异步任务 ID 。可以调用DescribeAsyncRequest 传入该 ID ,进行任务执行进度的查询
3151
+ */
3152
+ AsyncRequestId?: string
3153
+ /**
3154
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3155
+ */
3156
+ RequestId?: string
3157
+ }
3158
+
3135
3159
  /**
3136
3160
  * DescribeBackupConfig返回参数结构体
3137
3161
  */
@@ -3300,6 +3324,20 @@ export interface StopReplicationRequest {
3300
3324
  InstanceId: string
3301
3325
  }
3302
3326
 
3327
+ /**
3328
+ * StartCpuExpand返回参数结构体
3329
+ */
3330
+ export interface StartCpuExpandResponse {
3331
+ /**
3332
+ * 异步任务 ID 。可以调用DescribeAsyncRequest 传入该 ID ,进行任务执行进度的查询
3333
+ */
3334
+ AsyncRequestId?: string
3335
+ /**
3336
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3337
+ */
3338
+ RequestId?: string
3339
+ }
3340
+
3303
3341
  /**
3304
3342
  * CreateCloneInstance返回参数结构体
3305
3343
  */
@@ -4272,7 +4310,7 @@ export interface CreateDBInstanceRequest {
4272
4310
  */
4273
4311
  EngineVersion?: string
4274
4312
  /**
4275
- * 设置 root 帐号密码,密码规则:8 - 64 个字符,至少包含字母、数字、字符(支持的字符:_+-&=!@#$%^*())中的两种,购买主实例时可指定该参数,购买只读实例或者灾备实例时指定该参数无意义。
4313
+ * 设置 root 账号密码,密码规则:8 - 64 个字符,至少包含字母、数字、字符(支持的字符:_+-&=!@#$%^*())中的两种,购买主实例时可指定该参数,购买只读实例或者灾备实例时指定该参数无意义。
4276
4314
  */
4277
4315
  Password?: string
4278
4316
  /**
@@ -4336,7 +4374,7 @@ export interface CreateDBInstanceRequest {
4336
4374
  */
4337
4375
  ParamTemplateId?: number
4338
4376
  /**
4339
- * 告警策略id数组。云监控DescribeAlarmPolicy接口返回的OriginId。
4377
+ * 告警策略id数组。腾讯云可观测平台DescribeAlarmPolicy接口返回的OriginId。
4340
4378
  */
4341
4379
  AlarmPolicyList?: Array<number>
4342
4380
  /**
@@ -6657,6 +6695,21 @@ export interface DescribeTagsOfInstanceIdsRequest {
6657
6695
  Limit?: number
6658
6696
  }
6659
6697
 
6698
+ /**
6699
+ * StartCpuExpand请求参数结构体
6700
+ */
6701
+ export type StartCpuExpandRequest = null
6702
+
6703
+ /**
6704
+ * DescribeCpuExpandStrategy请求参数结构体
6705
+ */
6706
+ export interface DescribeCpuExpandStrategyRequest {
6707
+ /**
6708
+ * 实例 ID 。
6709
+ */
6710
+ InstanceId: string
6711
+ }
6712
+
6660
6713
  /**
6661
6714
  * CloseCDBProxy返回参数结构体
6662
6715
  */
@@ -8544,6 +8597,31 @@ export interface ModifyAccountPasswordRequest {
8544
8597
  Accounts: Array<Account>
8545
8598
  }
8546
8599
 
8600
+ /**
8601
+ * DescribeCpuExpandStrategy返回参数结构体
8602
+ */
8603
+ export interface DescribeCpuExpandStrategyResponse {
8604
+ /**
8605
+ * 策略类型。可选值 auto、manual。
8606
+ 注意:此字段可能返回 null,表示取不到有效值。
8607
+ */
8608
+ Type?: string
8609
+ /**
8610
+ * 手动扩容的 CPU 。Type为 manual 时有效。
8611
+ 注意:此字段可能返回 null,表示取不到有效值。
8612
+ */
8613
+ ExpandCpu?: string
8614
+ /**
8615
+ * 自动扩容策略。Type 为 auto 时有效
8616
+ 注意:此字段可能返回 null,表示取不到有效值。
8617
+ */
8618
+ AutoStrategy?: string
8619
+ /**
8620
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8621
+ */
8622
+ RequestId?: string
8623
+ }
8624
+
8547
8625
  /**
8548
8626
  * 实例预期重启时间
8549
8627
  */
@@ -225,7 +225,7 @@ OPEN:公网属性, INTERNAL:内网属性。
225
225
  */
226
226
  InternetAccessible?: InternetAccessible
227
227
  /**
228
- * 仅适用于公网负载均衡。CMCC | CTCC | CUCC,分别对应 移动 | 电信 | 联通,如果不指定本参数,则默认使用BGP。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域所支持的Isp。如果指定运营商,则网络计费式只能使用按带宽包计费(BANDWIDTH_PACKAGE)。
228
+ * 仅适用于公网负载均衡。CMCC | CTCC | CUCC,分别对应 移动 | 电信 | 联通,如果不指定本参数,则默认使用BGP。可通过 [DescribeResources](https://cloud.tencent.com/document/api/214/70213) 接口查询一个地域所支持的Isp。如果指定运营商,则网络计费模式只能使用按带宽包计费(BANDWIDTH_PACKAGE)。
229
229
  */
230
230
  VipIsp?: string
231
231
  /**
@@ -2750,11 +2750,11 @@ export interface DescribeAttackLogsResponse {
2750
2750
  * 日志列表
2751
2751
  注意:此字段可能返回 null,表示取不到有效值。
2752
2752
  */
2753
- AttackLogs: Array<DefendAttackLog>
2753
+ AttackLogs?: Array<DefendAttackLog>
2754
2754
  /**
2755
2755
  * 总条数
2756
2756
  */
2757
- TotalCount: number
2757
+ TotalCount?: number
2758
2758
  /**
2759
2759
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2760
2760
  */
@@ -31,7 +31,7 @@ import {
31
31
  Asset,
32
32
  SparkSessionBatchLogOperate,
33
33
  DetachUserPolicyResponse,
34
- TaskResultInfo,
34
+ CosPermission,
35
35
  CreateResultDownloadResponse,
36
36
  ModifyGovernEventRuleResponse,
37
37
  DescribeNotebookSessionsRequest,
@@ -56,6 +56,7 @@ import {
56
56
  CrontabResumeSuspendStrategy,
57
57
  AlterDMSTableResponse,
58
58
  DescribeEngineUsageInfoRequest,
59
+ TaskResultInfo,
59
60
  DescribeDMSTableResponse,
60
61
  DropDMSPartitionsRequest,
61
62
  NotebookSessions,
@@ -130,7 +131,7 @@ import {
130
131
  DescribeStoreLocationRequest,
131
132
  AddUsersToWorkGroupResponse,
132
133
  DescribeNotebookSessionLogRequest,
133
- UserInfo,
134
+ DescribeUserRolesResponse,
134
135
  CreateExportTaskRequest,
135
136
  DescribeNotebookSessionStatementResponse,
136
137
  ReportHeartbeatMetaDataResponse,
@@ -155,6 +156,7 @@ import {
155
156
  AddDMSPartitionsRequest,
156
157
  Script,
157
158
  NotebookSessionStatementBatchInformation,
159
+ DescribeUserRolesRequest,
158
160
  DescribeNotebookSessionStatementSqlResultRequest,
159
161
  ModifySparkAppResponse,
160
162
  AlterDMSTableRequest,
@@ -227,6 +229,7 @@ import {
227
229
  TasksOverview,
228
230
  UnbindWorkGroupsFromUserRequest,
229
231
  UpdateRowFilterResponse,
232
+ UserInfo,
230
233
  CreateTasksResponse,
231
234
  CreateNotebookSessionResponse,
232
235
  DescribeViewsResponse,
@@ -260,6 +263,7 @@ import {
260
263
  UpdateRowFilterRequest,
261
264
  TColumn,
262
265
  DescribeResultDownloadRequest,
266
+ UserRole,
263
267
  } from "./dlc_models"
264
268
 
265
269
  /**
@@ -311,6 +315,16 @@ export class Client extends AbstractClient {
311
315
  return this.request("DescribeForbiddenTablePro", req, cb)
312
316
  }
313
317
 
318
+ /**
319
+ * 列举用户角色信息
320
+ */
321
+ async DescribeUserRoles(
322
+ req: DescribeUserRolesRequest,
323
+ cb?: (error: string, rep: DescribeUserRolesResponse) => void
324
+ ): Promise<DescribeUserRolesResponse> {
325
+ return this.request("DescribeUserRoles", req, cb)
326
+ }
327
+
314
328
  /**
315
329
  * 本接口(DescribeNotebookSession)用于查询交互式 session详情信息
316
330
  */