tencentcloud-sdk-nodejs 4.0.546 → 4.0.548

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 (89) hide show
  1. package/CHANGELOG.md +377 -0
  2. package/SERVICE_CHANGELOG.md +404 -133
  3. package/package.json +1 -1
  4. package/products.md +32 -32
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/bma/v20221115/bma_models.ts +2 -2
  7. package/src/services/cbs/v20170312/cbs_client.ts +3 -5
  8. package/src/services/cbs/v20170312/cbs_models.ts +139 -12
  9. package/src/services/cdc/v20201214/cdc_models.ts +14 -14
  10. package/src/services/cdn/v20180606/cdn_client.ts +32 -19
  11. package/src/services/cdn/v20180606/cdn_models.ts +164 -11
  12. package/src/services/cfw/v20190904/cfw_client.ts +44 -7
  13. package/src/services/cfw/v20190904/cfw_models.ts +117 -6
  14. package/src/services/clb/v20180317/clb_models.ts +4 -4
  15. package/src/services/cvm/v20170312/cvm_client.ts +1 -1
  16. package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -5
  17. package/src/services/dasb/v20191018/dasb_client.ts +279 -60
  18. package/src/services/dasb/v20191018/dasb_models.ts +1314 -714
  19. package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
  20. package/src/services/dcdb/v20180411/dcdb_models.ts +25 -0
  21. package/src/services/dts/v20211206/dts_models.ts +7 -7
  22. package/src/services/eb/v20210416/eb_client.ts +3 -1
  23. package/src/services/eb/v20210416/eb_models.ts +110 -25
  24. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  25. package/src/services/gs/v20191118/gs_models.ts +8 -8
  26. package/src/services/lcic/v20220817/lcic_client.ts +16 -2
  27. package/src/services/lcic/v20220817/lcic_models.ts +129 -16
  28. package/src/services/lighthouse/v20200324/lighthouse_client.ts +2 -3
  29. package/src/services/lighthouse/v20200324/lighthouse_models.ts +12 -12
  30. package/src/services/ocr/v20181119/ocr_client.ts +2 -4
  31. package/src/services/postgres/v20170312/postgres_models.ts +1 -1
  32. package/src/services/teo/v20220901/teo_models.ts +3 -1
  33. package/src/services/thpc/v20220401/thpc_client.ts +70 -17
  34. package/src/services/thpc/v20220401/thpc_models.ts +296 -83
  35. package/src/services/tke/v20180525/tke_models.ts +1 -1
  36. package/src/services/vpc/v20170312/vpc_client.ts +4 -3
  37. package/src/services/vpc/v20170312/vpc_models.ts +18 -8
  38. package/src/services/wedata/v20210820/wedata_models.ts +1 -1
  39. package/tencentcloud/common/sdk_version.d.ts +1 -1
  40. package/tencentcloud/common/sdk_version.js +1 -1
  41. package/tencentcloud/services/bma/v20221115/bma_models.d.ts +2 -2
  42. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +0 -3
  43. package/tencentcloud/services/cbs/v20170312/cbs_client.js +0 -3
  44. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +118 -12
  45. package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +14 -14
  46. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +11 -7
  47. package/tencentcloud/services/cdn/v20180606/cdn_client.js +15 -9
  48. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +138 -11
  49. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +15 -3
  50. package/tencentcloud/services/cfw/v20190904/cfw_client.js +21 -3
  51. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +102 -6
  52. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -4
  53. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
  54. package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
  55. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -5
  56. package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +81 -9
  57. package/tencentcloud/services/dasb/v20191018/dasb_client.js +120 -12
  58. package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +1183 -664
  59. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
  60. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
  61. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +22 -0
  62. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +6 -6
  63. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +95 -24
  64. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  65. package/tencentcloud/services/gs/v20191118/gs_models.d.ts +7 -7
  66. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
  67. package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
  68. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +112 -16
  69. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -3
  70. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -3
  71. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +12 -12
  72. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +0 -2
  73. package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -2
  74. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +1 -1
  75. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +3 -1
  76. package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +23 -5
  77. package/tencentcloud/services/thpc/v20220401/thpc_client.js +32 -6
  78. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +258 -74
  79. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
  80. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -1
  81. package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -1
  82. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +16 -8
  83. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +1 -1
  84. package/test/cdn.v20180606.test.js +16 -6
  85. package/test/cfw.v20190904.test.js +32 -2
  86. package/test/dasb.v20191018.test.js +188 -8
  87. package/test/dcdb.v20180411.test.js +10 -0
  88. package/test/lcic.v20220817.test.js +10 -0
  89. package/test/thpc.v20220401.test.js +44 -4
@@ -72,11 +72,10 @@ class Client extends abstract_client_1.AbstractClient {
72
72
  * 本接口(ApplyDiskBackup)用于回滚指定云硬盘的备份点。
73
73
  * 仅支持回滚到原云硬盘。
74
74
  * 用于回滚的云硬盘备份点必须处于 NORMAL 状态。
75
- 云硬盘备份点状态可以通过 DescribeDiskBackups 接口查询。
75
+ 云硬盘备份点状态可以通过 [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379) 接口查询。
76
76
  * 回滚云硬盘备份点时,云硬盘的状态必须为 UNATTACHED或ATTACHED。
77
77
  云硬盘状态可通过 [DescribeDisks](https://cloud.tencent.com/document/api/1207/66093) 接口查询。
78
78
  * 如果云硬盘处于 ATTACHED状态,相关RUNNING 状态的实例会强制关机,然后回滚云硬盘备份点。
79
-
80
79
  */
81
80
  async ApplyDiskBackup(req, cb) {
82
81
  return this.request("ApplyDiskBackup", req, cb);
@@ -205,7 +204,7 @@ class Client extends abstract_client_1.AbstractClient {
205
204
  }
206
205
  /**
207
206
  * 本接口(DeleteDiskBackups)用于删除云硬盘备份点。
208
- 云硬盘备份点必须处于 NORMAL 状态,云硬盘备份点状态可以通过 DescribeDiskBackups接口查询,见输出参数中 DiskBackupState 字段解释。
207
+ 云硬盘备份点必须处于 NORMAL 状态,云硬盘备份点状态可以通过 [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379)接口查询,见输出参数中 DiskBackupState 字段解释。
209
208
  */
210
209
  async DeleteDiskBackups(req, cb) {
211
210
  return this.request("DeleteDiskBackups", req, cb);
@@ -79,7 +79,7 @@ export interface DescribeDiskBackupsRequest {
79
79
  <li>disk-backup-state</li>按照【云硬盘备份点状态】进行过滤。
80
80
  类型:String
81
81
  必选:否
82
- 取值:参考数据结构DiskBackup下的DiskBackupState取值。
82
+ 取值:参考数据结构[DiskBackup](https://cloud.tencent.com/document/product/1207/47576#DiskBackup)下的DiskBackupState取值。
83
83
  <li>disk-usage</li>按照【云硬盘类型】进行过滤。
84
84
  类型:String
85
85
  必选:否
@@ -501,7 +501,7 @@ false:表示不自动抵扣代金券
501
501
  */
502
502
  export interface DeleteDiskBackupsRequest {
503
503
  /**
504
- * 云硬盘备份点ID列表,可通过 DescribeDiskBackups接口查询。
504
+ * 云硬盘备份点ID列表,可通过 [DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379)接口查询。
505
505
  */
506
506
  DiskBackupIds: Array<string>;
507
507
  }
@@ -514,9 +514,9 @@ export interface InquirePriceRenewInstancesRequest {
514
514
  */
515
515
  InstanceIds: Array<string>;
516
516
  /**
517
- * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
517
+ * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。
518
518
  */
519
- InstanceChargePrepaid?: InstanceChargePrepaid;
519
+ InstanceChargePrepaid: InstanceChargePrepaid;
520
520
  /**
521
521
  * 是否续费数据盘。默认值: false, 即不续费。
522
522
  */
@@ -591,11 +591,11 @@ export interface DescribeDiskBackupsResponse {
591
591
  /**
592
592
  * 云硬盘备份点的数量。
593
593
  */
594
- TotalCount: number;
594
+ TotalCount?: number;
595
595
  /**
596
596
  * 云硬盘备份点信息列表。
597
597
  */
598
- DiskBackupSet: Array<DiskBackup>;
598
+ DiskBackupSet?: Array<DiskBackup>;
599
599
  /**
600
600
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
601
601
  */
@@ -1821,7 +1821,7 @@ export interface ApplyDiskBackupRequest {
1821
1821
  */
1822
1822
  DiskId: string;
1823
1823
  /**
1824
- * 云硬盘备份点ID,可通过 DescribeDiskBackups 接口查询。
1824
+ * 云硬盘备份点ID,可通过[DescribeDiskBackups](https://cloud.tencent.com/document/api/1207/84379)接口查询。
1825
1825
  */
1826
1826
  DiskBackupId: string;
1827
1827
  }
@@ -2218,7 +2218,7 @@ export interface InquirePriceCreateInstancesResponse {
2218
2218
  /**
2219
2219
  * 询价信息。
2220
2220
  */
2221
- Price: Price;
2221
+ Price?: Price;
2222
2222
  /**
2223
2223
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2224
2224
  */
@@ -3568,13 +3568,13 @@ export interface InquirePriceCreateInstancesRequest {
3568
3568
  */
3569
3569
  BundleId: string;
3570
3570
  /**
3571
- * 创建数量,默认为 1。
3571
+ * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。
3572
3572
  */
3573
- InstanceCount?: number;
3573
+ InstanceChargePrepaid: InstanceChargePrepaid;
3574
3574
  /**
3575
- * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
3575
+ * 创建数量,默认为 1。
3576
3576
  */
3577
- InstanceChargePrepaid?: InstanceChargePrepaid;
3577
+ InstanceCount?: number;
3578
3578
  /**
3579
3579
  * 应用镜像 ID,使用收费应用镜像时必填。可通过[DescribeBlueprints](https://cloud.tencent.com/document/product/1207/47689)接口返回值中的BlueprintId获取。
3580
3580
  */
@@ -181,8 +181,6 @@ export declare class Client extends AbstractClient {
181
181
  RecognizeContainerOCR(req: RecognizeContainerOCRRequest, cb?: (error: string, rep: RecognizeContainerOCRResponse) => void): Promise<RecognizeContainerOCRResponse>;
182
182
  /**
183
183
  * 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。
184
-
185
- 默认接口请求频率限制:2次/秒。
186
184
  */
187
185
  RecognizeTableAccurateOCR(req: RecognizeTableAccurateOCRRequest, cb?: (error: string, rep: RecognizeTableAccurateOCRResponse) => void): Promise<RecognizeTableAccurateOCRResponse>;
188
186
  /**
@@ -229,8 +229,6 @@ class Client extends abstract_client_1.AbstractClient {
229
229
  }
230
230
  /**
231
231
  * 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。
232
-
233
- 默认接口请求频率限制:2次/秒。
234
232
  */
235
233
  async RecognizeTableAccurateOCR(req, cb) {
236
234
  return this.request("RecognizeTableAccurateOCR", req, cb);
@@ -2848,7 +2848,7 @@ export interface DBInstance {
2848
2848
  */
2849
2849
  DBInstanceName: string;
2850
2850
  /**
2851
- * 实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolated(已隔离)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)
2851
+ * 实例状态,分别为:applying(申请中)、init(待初始化)、initing(初始化中)、running(运行中)、limited run(受限运行)、isolated(已隔离)、recycling(回收中)、recycled(已回收)、job running(任务执行中)、offline(下线)、migrating(迁移中)、expanding(扩容中)、waitSwitch(等待切换)、switching(切换中)、readonly(只读)、restarting(重启中)、network changing(网络变更中)、upgrading(内核版本升级中)
2852
2852
  */
2853
2853
  DBInstanceStatus: string;
2854
2854
  /**
@@ -1176,7 +1176,8 @@ export interface DescribeSingleL7AnalysisDataRequest {
1176
1176
  * 过滤条件,详细的过滤条件Key值如下:
1177
1177
  <li>country<br>   按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
1178
1178
  <li>domain<br>   按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
1179
- <li>protocol<br>   按照【<strong>HTTP协议</strong>】进行过滤。<br>   对应的Value可选项如下:<br>   HTTP/1.0:HTTP 1.0;<br>   HTTP/1.1:HTTP 1.1;<br>   HTTP/2.0:HTTP 2.0;<br>   HTTP/3.0:HTTP 3.0;<br>   WebSocket:WebSocket。</li>
1179
+ <li>protocol<br>   按照【<strong>HTTP协议版本</strong>】进行过滤。<br>   对应的Value可选项如下:<br>   HTTP/1.0:HTTP 1.0;<br>   HTTP/1.1:HTTP 1.1;<br>   HTTP/2.0:HTTP 2.0;<br>   HTTP/3.0:HTTP 3.0;<br>   WebSocket:WebSocket。</li>
1180
+ <li>socket<br>   按照【<strong>HTTP协议类型</strong>】进行过滤。<br>   对应的Value可选项如下:<br>   HTTP:HTTP 协议;<br>   HTTPS:HTTPS协议;<br>   QUIC:QUIC协议。</li>
1180
1181
  <li>tagKey<br>   按照【<strong>标签Key</strong>】进行过滤。</li>
1181
1182
  <li>tagValue<br>   按照【<strong>标签Value</strong>】进行过滤。</li>
1182
1183
  */
@@ -2995,6 +2996,7 @@ export interface DescribeOverviewL7DataRequest {
2995
2996
  Interval?: string;
2996
2997
  /**
2997
2998
  * 过滤条件,详细的过滤条件Key值如下:
2999
+ <li>socket<br>   按照【<strong>HTTP协议类型</strong>】进行过滤。<br>   对应的Value可选项如下:<br>   HTTP:HTTP 协议;<br>   HTTPS:HTTPS协议;<br>   QUIC:QUIC协议。</li>
2998
3000
  <li>tagKey<br>   按照【<strong>标签Key</strong>】进行过滤。</li>
2999
3001
  <li>tagValue<br>   按照【<strong>标签Value</strong>】进行过滤。</li>
3000
3002
  */
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeAutoScalingConfigurationResponse, DescribeClusterStorageOptionRequest, DescribeClustersRequest, SetAutoScalingConfigurationRequest, DeleteNodesResponse, AddClusterStorageOptionResponse, DeleteClusterResponse, CreateClusterResponse, SetAutoScalingConfigurationResponse, CreateClusterRequest, DescribeClusterStorageOptionResponse, BindAutoScalingGroupResponse, DeleteClusterRequest, DescribeClusterActivitiesRequest, AddNodesRequest, DeleteClusterStorageOptionRequest, AddClusterStorageOptionRequest, BindAutoScalingGroupRequest, DescribeAutoScalingConfigurationRequest, DeleteNodesRequest, DescribeClustersResponse, DeleteClusterStorageOptionResponse, DescribeClusterActivitiesResponse, AddNodesResponse } from "./thpc_models";
3
+ import { DescribeAutoScalingConfigurationResponse, DescribeClusterStorageOptionRequest, DescribeClustersRequest, SetAutoScalingConfigurationRequest, DescribeNodesRequest, DeleteNodesResponse, AddClusterStorageOptionResponse, DeleteClusterResponse, AddQueueRequest, CreateClusterResponse, DescribeQueuesRequest, SetAutoScalingConfigurationResponse, CreateClusterRequest, AddQueueResponse, DescribeClusterStorageOptionResponse, DescribeQueuesResponse, BindAutoScalingGroupResponse, DeleteClusterRequest, DescribeClusterActivitiesRequest, DeleteQueueRequest, AddNodesRequest, DeleteClusterStorageOptionRequest, AddClusterStorageOptionRequest, BindAutoScalingGroupRequest, DescribeAutoScalingConfigurationRequest, DeleteNodesRequest, DescribeClustersResponse, DeleteClusterStorageOptionResponse, DescribeNodesResponse, DescribeClusterActivitiesResponse, DeleteQueueResponse, AddNodesResponse } from "./thpc_models";
4
4
  /**
5
5
  * thpc client
6
6
  * @class
@@ -24,13 +24,31 @@ export declare class Client extends AbstractClient {
24
24
  */
25
25
  CreateCluster(req: CreateClusterRequest, cb?: (error: string, rep: CreateClusterResponse) => void): Promise<CreateClusterResponse>;
26
26
  /**
27
- * 本接口 (DeleteClusterStorageOption) 用于删除集群存储选项信息。
27
+ * 本接口(DeleteCluster)用于删除一个指定的集群。
28
28
  */
29
- DeleteClusterStorageOption(req: DeleteClusterStorageOptionRequest, cb?: (error: string, rep: DeleteClusterStorageOptionResponse) => void): Promise<DeleteClusterStorageOptionResponse>;
29
+ DeleteCluster(req: DeleteClusterRequest, cb?: (error: string, rep: DeleteClusterResponse) => void): Promise<DeleteClusterResponse>;
30
30
  /**
31
31
  * 本接口(SetAutoScalingConfiguration)用于为集群设置集群弹性伸缩配置信息。
32
32
  */
33
33
  SetAutoScalingConfiguration(req: SetAutoScalingConfigurationRequest, cb?: (error: string, rep: SetAutoScalingConfigurationResponse) => void): Promise<SetAutoScalingConfigurationResponse>;
34
+ /**
35
+ * 本接口(AddQueue)用于添加队列到指定集群。
36
+ */
37
+ AddQueue(req: AddQueueRequest, cb?: (error: string, rep: AddQueueResponse) => void): Promise<AddQueueResponse>;
38
+ /**
39
+ * 本接口 (DescribeNodes) 用于查询指定集群节点概览信息列表。
40
+ */
41
+ DescribeNodes(req: DescribeNodesRequest, cb?: (error: string, rep: DescribeNodesResponse) => void): Promise<DescribeNodesResponse>;
42
+ /**
43
+ * 本接口(DeleteQueue)用于从指定集群删除队列。
44
+
45
+ * 删除队列时,需要保证队列内不存在节点。
46
+ */
47
+ DeleteQueue(req: DeleteQueueRequest, cb?: (error: string, rep: DeleteQueueResponse) => void): Promise<DeleteQueueResponse>;
48
+ /**
49
+ * 本接口 (DeleteClusterStorageOption) 用于删除集群存储选项信息。
50
+ */
51
+ DeleteClusterStorageOption(req: DeleteClusterStorageOptionRequest, cb?: (error: string, rep: DeleteClusterStorageOptionResponse) => void): Promise<DeleteClusterStorageOptionResponse>;
34
52
  /**
35
53
  * 本接口(AddNodes)用于添加一个或者多个计算节点或者登录节点到指定集群。
36
54
  */
@@ -52,7 +70,7 @@ export declare class Client extends AbstractClient {
52
70
  */
53
71
  DescribeClusterActivities(req: DescribeClusterActivitiesRequest, cb?: (error: string, rep: DescribeClusterActivitiesResponse) => void): Promise<DescribeClusterActivitiesResponse>;
54
72
  /**
55
- * 本接口(DeleteCluster)用于删除一个指定的集群。
73
+ * 本接口(DescribeQueues)用于查询指定集群队列概览信息列表。
56
74
  */
57
- DeleteCluster(req: DeleteClusterRequest, cb?: (error: string, rep: DeleteClusterResponse) => void): Promise<DeleteClusterResponse>;
75
+ DescribeQueues(req: DescribeQueuesRequest, cb?: (error: string, rep: DescribeQueuesResponse) => void): Promise<DescribeQueuesResponse>;
58
76
  }
@@ -52,10 +52,10 @@ class Client extends abstract_client_1.AbstractClient {
52
52
  return this.request("CreateCluster", req, cb);
53
53
  }
54
54
  /**
55
- * 本接口 (DeleteClusterStorageOption) 用于删除集群存储选项信息。
55
+ * 本接口(DeleteCluster)用于删除一个指定的集群。
56
56
  */
57
- async DeleteClusterStorageOption(req, cb) {
58
- return this.request("DeleteClusterStorageOption", req, cb);
57
+ async DeleteCluster(req, cb) {
58
+ return this.request("DeleteCluster", req, cb);
59
59
  }
60
60
  /**
61
61
  * 本接口(SetAutoScalingConfiguration)用于为集群设置集群弹性伸缩配置信息。
@@ -63,6 +63,32 @@ class Client extends abstract_client_1.AbstractClient {
63
63
  async SetAutoScalingConfiguration(req, cb) {
64
64
  return this.request("SetAutoScalingConfiguration", req, cb);
65
65
  }
66
+ /**
67
+ * 本接口(AddQueue)用于添加队列到指定集群。
68
+ */
69
+ async AddQueue(req, cb) {
70
+ return this.request("AddQueue", req, cb);
71
+ }
72
+ /**
73
+ * 本接口 (DescribeNodes) 用于查询指定集群节点概览信息列表。
74
+ */
75
+ async DescribeNodes(req, cb) {
76
+ return this.request("DescribeNodes", req, cb);
77
+ }
78
+ /**
79
+ * 本接口(DeleteQueue)用于从指定集群删除队列。
80
+
81
+ * 删除队列时,需要保证队列内不存在节点。
82
+ */
83
+ async DeleteQueue(req, cb) {
84
+ return this.request("DeleteQueue", req, cb);
85
+ }
86
+ /**
87
+ * 本接口 (DeleteClusterStorageOption) 用于删除集群存储选项信息。
88
+ */
89
+ async DeleteClusterStorageOption(req, cb) {
90
+ return this.request("DeleteClusterStorageOption", req, cb);
91
+ }
66
92
  /**
67
93
  * 本接口(AddNodes)用于添加一个或者多个计算节点或者登录节点到指定集群。
68
94
  */
@@ -94,10 +120,10 @@ class Client extends abstract_client_1.AbstractClient {
94
120
  return this.request("DescribeClusterActivities", req, cb);
95
121
  }
96
122
  /**
97
- * 本接口(DeleteCluster)用于删除一个指定的集群。
123
+ * 本接口(DescribeQueues)用于查询指定集群队列概览信息列表。
98
124
  */
99
- async DeleteCluster(req, cb) {
100
- return this.request("DeleteCluster", req, cb);
125
+ async DescribeQueues(req, cb) {
126
+ return this.request("DescribeQueues", req, cb);
101
127
  }
102
128
  }
103
129
  exports.Client = Client;