tencentcloud-sdk-nodejs 4.0.929 → 4.0.930

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 (28) hide show
  1. package/CHANGELOG.md +98 -0
  2. package/SERVICE_CHANGELOG.md +120 -581
  3. package/package.json +1 -1
  4. package/products.md +7 -7
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +1 -0
  7. package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +76 -0
  8. package/src/services/lke/v20231130/lke_models.ts +1 -1
  9. package/src/services/oceanus/v20190422/oceanus_models.ts +4 -0
  10. package/src/services/ssl/v20191205/ssl_client.ts +14 -1
  11. package/src/services/ssl/v20191205/ssl_models.ts +84 -18
  12. package/src/services/thpc/v20230321/thpc_client.ts +33 -14
  13. package/src/services/thpc/v20230321/thpc_models.ts +347 -19
  14. package/src/services/trtc/v20190722/trtc_models.ts +2 -2
  15. package/tencentcloud/common/sdk_version.d.ts +1 -1
  16. package/tencentcloud/common/sdk_version.js +1 -1
  17. package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +75 -0
  18. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +1 -1
  19. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +4 -0
  20. package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +5 -1
  21. package/tencentcloud/services/ssl/v20191205/ssl_client.js +6 -0
  22. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +81 -18
  23. package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +9 -5
  24. package/tencentcloud/services/thpc/v20230321/thpc_client.js +12 -6
  25. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +338 -19
  26. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
  27. package/test/ssl.v20191205.test.js +10 -0
  28. package/test/thpc.v20230321.test.js +14 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.929",
3
+ "version": "4.0.930",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -45,7 +45,7 @@
45
45
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-26 01:17:46 |
46
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-18 01:18:51 |
47
47
  | cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-07-24 01:18:03 |
48
- | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-09-02 01:18:49 |
48
+ | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-09-04 01:13:34 |
49
49
  | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
50
50
  | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-08-28 01:17:24 |
51
51
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-09-03 01:21:59 |
@@ -138,7 +138,7 @@
138
138
  | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-08-26 02:00:18 |
139
139
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-08-28 01:59:28 |
140
140
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-08-14 02:01:47 |
141
- | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-08-30 01:50:11 |
141
+ | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-09-04 01:48:41 |
142
142
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
143
143
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
144
144
  | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
@@ -157,7 +157,7 @@
157
157
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
158
158
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 |
159
159
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
160
- | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-09-03 02:13:22 |
160
+ | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-09-04 01:54:37 |
161
161
  | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-08-30 01:56:46 |
162
162
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 |
163
163
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-08-28 02:12:13 |
@@ -182,7 +182,7 @@
182
182
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
183
183
  | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-08-27 02:19:04 |
184
184
  | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
185
- | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-09-03 02:24:16 |
185
+ | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-09-04 02:03:03 |
186
186
  | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 |
187
187
  | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-05-21 02:06:48 |
188
188
  | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-08-28 02:21:40 |
@@ -206,11 +206,11 @@
206
206
  | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-08-23 02:13:33 |
207
207
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 |
208
208
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 |
209
- | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-09-03 02:33:30 |
209
+ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-09-04 02:10:25 |
210
210
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-08-07 02:22:38 |
211
211
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-07-24 02:14:59 |
212
212
  | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-08-23 02:18:47 |
213
- | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-07-24 02:16:49 |
213
+ | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-09-04 02:14:20 |
214
214
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
215
215
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
216
216
  | ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
@@ -228,7 +228,7 @@
228
228
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-08-30 02:18:52 |
229
229
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-06-06 02:42:14 |
230
230
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-07-31 02:17:29 |
231
- | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-08-21 02:23:20 |
231
+ | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-09-04 02:18:27 |
232
232
  | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-08-28 02:40:22 |
233
233
  | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-07-30 11:37:37 |
234
234
  | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-08-02 02:22:13 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.929"
1
+ export const sdkVersion = "4.0.930"
@@ -27,6 +27,7 @@ import {
27
27
  ModifyUserPrivilegesV3Response,
28
28
  ModifyUserPrivilegesV3Request,
29
29
  DestroyInstanceRequest,
30
+ ScheduleInfo,
30
31
  BindUser,
31
32
  CancelBackupJobRequest,
32
33
  ModifyWorkloadGroupRequest,
@@ -189,6 +189,55 @@ export interface DestroyInstanceRequest {
189
189
  InstanceId: string
190
190
  }
191
191
 
192
+ /**
193
+ * 调度信息
194
+ */
195
+ export interface ScheduleInfo {
196
+ /**
197
+ * 生效时间
198
+ 注意:此字段可能返回 null,表示取不到有效值。
199
+ */
200
+ EffectivePeriod?: string
201
+ /**
202
+ * 调度类型:
203
+ Day-天
204
+ Week-周
205
+ Month-月
206
+ Once-单次
207
+ 注意:此字段可能返回 null,表示取不到有效值。
208
+ */
209
+ ScheduleType?: string
210
+ /**
211
+ * 执行调度的日期。调度类型为周和月时以英文逗号分隔;
212
+ 调度类型为单次时,该值是个日期
213
+ 注意:此字段可能返回 null,表示取不到有效值。
214
+ */
215
+ ScheduleData?: string
216
+ /**
217
+ * 执行时间:时
218
+ 注意:此字段可能返回 null,表示取不到有效值。
219
+ */
220
+ ScheduleHour?: number
221
+ /**
222
+ * 执行时间:分
223
+ 注意:此字段可能返回 null,表示取不到有效值。
224
+ */
225
+ ScheduleMin?: number
226
+ /**
227
+ * 备份粒度:
228
+ All-全量
229
+ Database-按库
230
+ Table-按表
231
+ 注意:此字段可能返回 null,表示取不到有效值。
232
+ */
233
+ BackupScope?: string
234
+ /**
235
+ * 备份库:如果是按库备份,则需要该字段,库之间用英文逗号分割
236
+ 注意:此字段可能返回 null,表示取不到有效值。
237
+ */
238
+ BackupDatabase?: string
239
+ }
240
+
192
241
  /**
193
242
  * 资源组绑定的用户信息,需要username和host信息进行授权
194
243
  */
@@ -1618,6 +1667,14 @@ export interface InstanceConfigItem {
1618
1667
  * CreateBackUpSchedule请求参数结构体
1619
1668
  */
1620
1669
  export interface CreateBackUpScheduleRequest {
1670
+ /**
1671
+ * 集群id
1672
+ */
1673
+ InstanceId: string
1674
+ /**
1675
+ * 操作类型 create(创建) update(编辑修改)
1676
+ */
1677
+ OperationType: string
1621
1678
  /**
1622
1679
  * 编辑时需要传
1623
1680
  */
@@ -1660,6 +1717,25 @@ export interface CreateBackUpScheduleRequest {
1660
1717
  * cos认证的信息
1661
1718
  */
1662
1719
  CosSourceInfo?: CosSourceInfo
1720
+ /**
1721
+ * 调度任务名
1722
+ */
1723
+ ScheduleName?: string
1724
+ /**
1725
+ * 调度信息
1726
+ */
1727
+ ScheduleInfo?: ScheduleInfo
1728
+ /**
1729
+ * 更新任务状态:
1730
+ 3-暂停,
1731
+ 2-删除,
1732
+ 1-启动
1733
+ */
1734
+ UpdateStatus?: number
1735
+ /**
1736
+ * 当前任务的cos桶信息
1737
+ */
1738
+ CosBucket?: string
1663
1739
  }
1664
1740
 
1665
1741
  /**
@@ -2765,7 +2765,7 @@ export interface RetryReleaseRequest {
2765
2765
  */
2766
2766
  export interface CreateAppRequest {
2767
2767
  /**
2768
- * 应用类型;knowledge_qa-知识问答管理;summary-知识摘要;classifys-知识标签提取
2768
+ * 应用类型;knowledge_qa-知识问答管理
2769
2769
  */
2770
2770
  AppType: string
2771
2771
  /**
@@ -180,6 +180,10 @@ export interface DeleteJobsRequest {
180
180
  * 工作空间Id
181
181
  */
182
182
  WorkSpaceId?: string
183
+ /**
184
+ * 作业名称列表
185
+ */
186
+ JobNames?: Array<string>
183
187
  }
184
188
 
185
189
  /**
@@ -45,6 +45,7 @@ import {
45
45
  ClbListener,
46
46
  COSInstanceList,
47
47
  DescribeCompaniesResponse,
48
+ UpdateRecordInfo,
48
49
  CheckCertificateChainResponse,
49
50
  DescribeHostCosInstanceListResponse,
50
51
  DvAuths,
@@ -93,6 +94,7 @@ import {
93
94
  DescribeCertificateBindResourceTaskDetailResponse,
94
95
  DeployCertificateRecordRetryResponse,
95
96
  DvAuthDetail,
97
+ CheckCertificateDomainVerificationRequest,
96
98
  CdnInstanceList,
97
99
  UpdateCertificateRecordRetryRequest,
98
100
  DdosInstanceDetail,
@@ -129,6 +131,7 @@ import {
129
131
  BatchDeleteFail,
130
132
  TkeSecretDetail,
131
133
  DescribeHostDeployRecordResponse,
134
+ CheckCertificateDomainVerificationResponse,
132
135
  Tags,
133
136
  DescribeDownloadCertificateUrlResponse,
134
137
  DescribeHostTkeInstanceListRequest,
@@ -181,7 +184,7 @@ import {
181
184
  ApplyCertificateRequest,
182
185
  CreateCertificateResponse,
183
186
  Error,
184
- UpdateRecordInfo,
187
+ DomainValidationResult,
185
188
  DescribeHostApiGatewayInstanceListResponse,
186
189
  DescribeCertificateDetailResponse,
187
190
  DescribeCertificateBindResourceTaskResultResponse,
@@ -248,6 +251,16 @@ export class Client extends AbstractClient {
248
251
  return this.request("DescribeHostCdnInstanceList", req, cb)
249
252
  }
250
253
 
254
+ /**
255
+ * 检查证书域名验证
256
+ */
257
+ async CheckCertificateDomainVerification(
258
+ req: CheckCertificateDomainVerificationRequest,
259
+ cb?: (error: string, rep: CheckCertificateDomainVerificationResponse) => void
260
+ ): Promise<CheckCertificateDomainVerificationResponse> {
261
+ return this.request("CheckCertificateDomainVerification", req, cb)
262
+ }
263
+
251
264
  /**
252
265
  * 查询证书tke云资源部署实例列表
253
266
  */
@@ -1006,6 +1006,45 @@ export interface DescribeCompaniesResponse {
1006
1006
  RequestId?: string
1007
1007
  }
1008
1008
 
1009
+ /**
1010
+ * 部署记录信息
1011
+ */
1012
+ export interface UpdateRecordInfo {
1013
+ /**
1014
+ * 记录ID
1015
+ */
1016
+ Id: number
1017
+ /**
1018
+ * 新证书ID
1019
+ */
1020
+ CertId: string
1021
+ /**
1022
+ * 原证书ID
1023
+ */
1024
+ OldCertId: string
1025
+ /**
1026
+ * 部署资源类型列表
1027
+ */
1028
+ ResourceTypes: Array<string>
1029
+ /**
1030
+ * 部署地域列表
1031
+ 注意:此字段可能返回 null,表示取不到有效值。
1032
+ */
1033
+ Regions: Array<string>
1034
+ /**
1035
+ * 部署状态
1036
+ */
1037
+ Status: number
1038
+ /**
1039
+ * 部署时间
1040
+ */
1041
+ CreateTime: string
1042
+ /**
1043
+ * 最后一次更新时间
1044
+ */
1045
+ UpdateTime: string
1046
+ }
1047
+
1009
1048
  /**
1010
1049
  * CheckCertificateChain返回参数结构体
1011
1050
  */
@@ -2379,6 +2418,16 @@ export interface DvAuthDetail {
2379
2418
  DvAuths: Array<DvAuths>
2380
2419
  }
2381
2420
 
2421
+ /**
2422
+ * CheckCertificateDomainVerification请求参数结构体
2423
+ */
2424
+ export interface CheckCertificateDomainVerificationRequest {
2425
+ /**
2426
+ * 证书ID。
2427
+ */
2428
+ CertificateId: string
2429
+ }
2430
+
2382
2431
  /**
2383
2432
  * cdn实例详情 - 异步关联云资源数据结构
2384
2433
  */
@@ -3421,6 +3470,21 @@ export interface DescribeHostDeployRecordResponse {
3421
3470
  RequestId?: string
3422
3471
  }
3423
3472
 
3473
+ /**
3474
+ * CheckCertificateDomainVerification返回参数结构体
3475
+ */
3476
+ export interface CheckCertificateDomainVerificationResponse {
3477
+ /**
3478
+ * 域名验证结果
3479
+ 注意:此字段可能返回 null,表示取不到有效值。
3480
+ */
3481
+ VerificationResults: Array<DomainValidationResult>
3482
+ /**
3483
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3484
+ */
3485
+ RequestId?: string
3486
+ }
3487
+
3424
3488
  /**
3425
3489
  * 标签
3426
3490
  */
@@ -4627,42 +4691,44 @@ export interface Error {
4627
4691
  }
4628
4692
 
4629
4693
  /**
4630
- * 部署记录信息
4694
+ * 域名验证结果
4631
4695
  */
4632
- export interface UpdateRecordInfo {
4696
+ export interface DomainValidationResult {
4633
4697
  /**
4634
- * 记录ID
4698
+ * 域名。
4635
4699
  */
4636
- Id: number
4700
+ Domain: string
4637
4701
  /**
4638
- * 新证书ID
4702
+ * 验证类型。
4703
+ 注意:此字段可能返回 null,表示取不到有效值。
4639
4704
  */
4640
- CertId: string
4705
+ VerifyType: string
4641
4706
  /**
4642
- * 原证书ID
4707
+ * 本地检查结果。
4643
4708
  */
4644
- OldCertId: string
4709
+ LocalCheck: number
4645
4710
  /**
4646
- * 部署资源类型列表
4711
+ * CA检查结果。
4647
4712
  */
4648
- ResourceTypes: Array<string>
4713
+ CaCheck: number
4649
4714
  /**
4650
- * 部署地域列表
4715
+ * 检查失败原因。
4651
4716
  注意:此字段可能返回 null,表示取不到有效值。
4652
4717
  */
4653
- Regions: Array<string>
4718
+ LocalCheckFailReason: string
4654
4719
  /**
4655
- * 部署状态
4720
+ * 检查到的值。
4721
+ 注意:此字段可能返回 null,表示取不到有效值。
4656
4722
  */
4657
- Status: number
4723
+ CheckValue: Array<string>
4658
4724
  /**
4659
- * 部署时间
4725
+ * 是否频繁请求。
4660
4726
  */
4661
- CreateTime: string
4727
+ Frequently: boolean
4662
4728
  /**
4663
- * 最后一次更新时间
4729
+ * 是否已经签发。
4664
4730
  */
4665
- UpdateTime: string
4731
+ Issued: boolean
4666
4732
  }
4667
4733
 
4668
4734
  /**
@@ -19,6 +19,7 @@ import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  DescribeAutoScalingConfigurationResponse,
22
+ SpaceChargePrepaid,
22
23
  DescribeClusterStorageOptionRequest,
23
24
  ClusterOverview,
24
25
  QueueOverview,
@@ -26,6 +27,7 @@ import {
26
27
  SetAutoScalingConfigurationRequest,
27
28
  DetachNodesRequest,
28
29
  NodeOverview,
30
+ SpaceDataDisk,
29
31
  DescribeNodesRequest,
30
32
  DeleteNodesResponse,
31
33
  AddClusterStorageOptionResponse,
@@ -35,10 +37,11 @@ import {
35
37
  NodeActivity,
36
38
  Placement,
37
39
  AddQueueRequest,
38
- InternetAccessible,
40
+ CreateWorkspacesResponse,
39
41
  AttachNodesResponse,
40
42
  ClusterActivity,
41
43
  CreateClusterResponse,
44
+ SpaceVirtualPrivateCloud,
42
45
  RunSecurityServiceEnabled,
43
46
  DescribeQueuesRequest,
44
47
  SetAutoScalingConfigurationResponse,
@@ -48,6 +51,7 @@ import {
48
51
  CFSOption,
49
52
  GooseFSOptionOverview,
50
53
  EnhancedService,
54
+ CreateWorkspacesRequest,
51
55
  InstanceChargePrepaid,
52
56
  LoginNodeOverview,
53
57
  LoginNode,
@@ -55,6 +59,7 @@ import {
55
59
  NodeScript,
56
60
  ModifyInitNodeScriptsResponse,
57
61
  ManagerNodeOverview,
62
+ SpaceSystemDisk,
58
63
  ManagerNode,
59
64
  DeleteClusterRequest,
60
65
  ComputeNodeOverview,
@@ -65,9 +70,12 @@ import {
65
70
  RunAutomationServiceEnabled,
66
71
  DescribeClusterActivitiesRequest,
67
72
  QueueConfig,
73
+ VirtualPrivateCloud,
68
74
  DeleteQueueRequest,
69
75
  Filter,
76
+ SpaceInternetAccessible,
70
77
  AddNodesRequest,
78
+ InternetAccessible,
71
79
  CFSOptionOverview,
72
80
  DeleteClusterStorageOptionRequest,
73
81
  AddClusterStorageOptionRequest,
@@ -75,7 +83,7 @@ import {
75
83
  RunMonitorServiceEnabled,
76
84
  QueueConfigOverview,
77
85
  DescribeQueuesResponse,
78
- VirtualPrivateCloud,
86
+ SpacePlacement,
79
87
  ExpansionNodeConfigOverview,
80
88
  ModifyInitNodeScriptsRequest,
81
89
  GooseFSxOptionOverview,
@@ -92,6 +100,7 @@ import {
92
100
  DescribeInitNodeScriptsResponse,
93
101
  DataDisk,
94
102
  DeleteQueueResponse,
103
+ TagSpecification,
95
104
  AddNodesResponse,
96
105
  } from "./thpc_models"
97
106
 
@@ -147,13 +156,13 @@ export class Client extends AbstractClient {
147
156
  }
148
157
 
149
158
  /**
150
- * 本接口(AddClusterStorageOption)用于添加集群存储选项信息。
159
+ * 本接口(DeleteCluster)用于删除一个指定的集群。
151
160
  */
152
- async AddClusterStorageOption(
153
- req: AddClusterStorageOptionRequest,
154
- cb?: (error: string, rep: AddClusterStorageOptionResponse) => void
155
- ): Promise<AddClusterStorageOptionResponse> {
156
- return this.request("AddClusterStorageOption", req, cb)
161
+ async DeleteCluster(
162
+ req: DeleteClusterRequest,
163
+ cb?: (error: string, rep: DeleteClusterResponse) => void
164
+ ): Promise<DeleteClusterResponse> {
165
+ return this.request("DeleteCluster", req, cb)
157
166
  }
158
167
 
159
168
  /**
@@ -188,6 +197,16 @@ export class Client extends AbstractClient {
188
197
  return this.request("DescribeNodes", req, cb)
189
198
  }
190
199
 
200
+ /**
201
+ * 本接口 (CreateWorkspaces) 用于创建工作空间。
202
+ */
203
+ async CreateWorkspaces(
204
+ req: CreateWorkspacesRequest,
205
+ cb?: (error: string, rep: CreateWorkspacesResponse) => void
206
+ ): Promise<CreateWorkspacesResponse> {
207
+ return this.request("CreateWorkspaces", req, cb)
208
+ }
209
+
191
210
  /**
192
211
  * 本接口 (DescribeInitNodeScripts) 用于查询节点初始化脚本列表。
193
212
  */
@@ -259,13 +278,13 @@ export class Client extends AbstractClient {
259
278
  }
260
279
 
261
280
  /**
262
- * 本接口(DeleteCluster)用于删除一个指定的集群。
281
+ * 本接口(AddClusterStorageOption)用于添加集群存储选项信息。
263
282
  */
264
- async DeleteCluster(
265
- req: DeleteClusterRequest,
266
- cb?: (error: string, rep: DeleteClusterResponse) => void
267
- ): Promise<DeleteClusterResponse> {
268
- return this.request("DeleteCluster", req, cb)
283
+ async AddClusterStorageOption(
284
+ req: AddClusterStorageOptionRequest,
285
+ cb?: (error: string, rep: AddClusterStorageOptionResponse) => void
286
+ ): Promise<AddClusterStorageOptionResponse> {
287
+ return this.request("AddClusterStorageOption", req, cb)
269
288
  }
270
289
 
271
290
  /**