tencentcloud-sdk-nodejs 4.1.93 → 4.1.94

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.
@@ -1 +1 @@
1
- export const sdkVersion = "4.1.93";
1
+ export const sdkVersion = "4.1.94";
@@ -3,6 +3,9 @@ export class Client extends AbstractClient {
3
3
  constructor(clientConfig) {
4
4
  super("thpc.tencentcloudapi.com", "2023-03-21", clientConfig);
5
5
  }
6
+ async DescribeAutoScalingConfiguration(req, cb) {
7
+ return this.request("DescribeAutoScalingConfiguration", req, cb);
8
+ }
6
9
  async DeleteNodes(req, cb) {
7
10
  return this.request("DeleteNodes", req, cb);
8
11
  }
@@ -24,18 +27,24 @@ export class Client extends AbstractClient {
24
27
  async AddNodes(req, cb) {
25
28
  return this.request("AddNodes", req, cb);
26
29
  }
27
- async DetachNodes(req, cb) {
28
- return this.request("DetachNodes", req, cb);
30
+ async DescribeJobs(req, cb) {
31
+ return this.request("DescribeJobs", req, cb);
29
32
  }
30
33
  async DeleteCluster(req, cb) {
31
34
  return this.request("DeleteCluster", req, cb);
32
35
  }
36
+ async DetachNodes(req, cb) {
37
+ return this.request("DetachNodes", req, cb);
38
+ }
33
39
  async DeleteClusterStorageOption(req, cb) {
34
40
  return this.request("DeleteClusterStorageOption", req, cb);
35
41
  }
36
42
  async DescribeWorkspaces(req, cb) {
37
43
  return this.request("DescribeWorkspaces", req, cb);
38
44
  }
45
+ async TerminateJob(req, cb) {
46
+ return this.request("TerminateJob", req, cb);
47
+ }
39
48
  async DescribeNodes(req, cb) {
40
49
  return this.request("DescribeNodes", req, cb);
41
50
  }
@@ -54,12 +63,15 @@ export class Client extends AbstractClient {
54
63
  async AttachNodes(req, cb) {
55
64
  return this.request("AttachNodes", req, cb);
56
65
  }
57
- async DescribeAutoScalingConfiguration(req, cb) {
58
- return this.request("DescribeAutoScalingConfiguration", req, cb);
66
+ async DescribeJobSubmitInfo(req, cb) {
67
+ return this.request("DescribeJobSubmitInfo", req, cb);
59
68
  }
60
69
  async DescribeClusterActivities(req, cb) {
61
70
  return this.request("DescribeClusterActivities", req, cb);
62
71
  }
72
+ async SubmitJob(req, cb) {
73
+ return this.request("SubmitJob", req, cb);
74
+ }
63
75
  async DescribeClusterStorageOption(req, cb) {
64
76
  return this.request("DescribeClusterStorageOption", req, cb);
65
77
  }
@@ -69,6 +81,12 @@ export class Client extends AbstractClient {
69
81
  async AddClusterStorageOption(req, cb) {
70
82
  return this.request("AddClusterStorageOption", req, cb);
71
83
  }
84
+ async DescribeJobsOverview(req, cb) {
85
+ return this.request("DescribeJobsOverview", req, cb);
86
+ }
87
+ async DeleteJob(req, cb) {
88
+ return this.request("DeleteJob", req, cb);
89
+ }
72
90
  async ModifyWorkspacesRenewFlag(req, cb) {
73
91
  return this.request("ModifyWorkspacesRenewFlag", req, cb);
74
92
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.1.93",
3
+ "version": "4.1.94",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.1.93";
1
+ export declare const sdkVersion = "4.1.94";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.1.93";
4
+ exports.sdkVersion = "4.1.94";
@@ -635,7 +635,9 @@ export interface DescribeWebCallbacksResponse {
635
635
  */
636
636
  export interface CreateLogsetRequest {
637
637
  /**
638
- * 日志集名字,不能重名
638
+ * 日志集名字。
639
+
640
+ - 最大支持255个字符。不支持`|`字符。
639
641
  */
640
642
  LogsetName: string;
641
643
  /**
@@ -1511,7 +1513,8 @@ export interface FilePathInfo {
1511
1513
  */
1512
1514
  export interface DescribeIndexRequest {
1513
1515
  /**
1514
- * 日志主题ID
1516
+ * 日志主题Id。
1517
+ - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
1515
1518
  */
1516
1519
  TopicId: string;
1517
1520
  }
@@ -2308,11 +2311,11 @@ export interface DescribeAlarmShieldsRequest {
2308
2311
  */
2309
2312
  export interface ModifyLogsetRequest {
2310
2313
  /**
2311
- * 日志集ID
2314
+ * 日志集Id。通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集Id。
2312
2315
  */
2313
2316
  LogsetId: string;
2314
2317
  /**
2315
- * 日志集名称
2318
+ * 日志集名字。- 最大支持255个字符。不支持`|`字符。
2316
2319
  */
2317
2320
  LogsetName?: string;
2318
2321
  /**
@@ -3340,7 +3343,8 @@ export interface DescribeConsumerRequest {
3340
3343
  */
3341
3344
  export interface CreateIndexRequest {
3342
3345
  /**
3343
- * 日志主题ID
3346
+ * 日志主题Id。
3347
+ - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
3344
3348
  */
3345
3349
  TopicId: string;
3346
3350
  /**
@@ -3905,7 +3909,8 @@ export interface DescribeMachineGroupsRequest {
3905
3909
  */
3906
3910
  export interface DeleteIndexRequest {
3907
3911
  /**
3908
- * 日志主题ID
3912
+ * 日志主题Id。
3913
+ - 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
3909
3914
  */
3910
3915
  TopicId: string;
3911
3916
  }
@@ -4181,7 +4186,7 @@ export interface LogsetInfo {
4181
4186
  */
4182
4187
  LogsetName?: string;
4183
4188
  /**
4184
- * 创建时间
4189
+ * 创建时间。格式 `YYYY-MM-DD HH:MM:SS`
4185
4190
  */
4186
4191
  CreateTime?: string;
4187
4192
  /**
@@ -7228,7 +7233,7 @@ export interface DescribeScheduledSqlInfoRequest {
7228
7233
  */
7229
7234
  export interface DeleteLogsetRequest {
7230
7235
  /**
7231
- * 日志集ID
7236
+ * 日志集Id。通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集Id。
7232
7237
  */
7233
7238
  LogsetId: string;
7234
7239
  }
@@ -7660,11 +7665,12 @@ export interface DeleteCosRechargeResponse {
7660
7665
  */
7661
7666
  export interface DescribeIndexResponse {
7662
7667
  /**
7663
- * 日志主题ID
7668
+ * 日志主题Id
7664
7669
  */
7665
7670
  TopicId?: string;
7666
7671
  /**
7667
- * 是否生效
7672
+ * 索引状态。true:开启状态,false:关闭状态
7673
+ 开启后可对日志进行检索分析,将产生索引流量、索引存储及相应费用。[费用详情](https://cloud.tencent.com/document/product/614/45802#.E8.AE.A1.E8.B4.B9.E9.A1.B9)
7668
7674
  */
7669
7675
  Status?: boolean;
7670
7676
  /**
@@ -7673,7 +7679,7 @@ export interface DescribeIndexResponse {
7673
7679
  */
7674
7680
  Rule?: RuleInfo;
7675
7681
  /**
7676
- * 索引修改时间,初始值为索引创建时间。
7682
+ * 索引修改时间,初始值为索引创建时间。格式 `YYYY-MM-DD HH:MM:SS`
7677
7683
  */
7678
7684
  ModifyTime?: string;
7679
7685
  /**
@@ -8001,11 +8007,12 @@ export interface DescribeLogsetsRequest {
8001
8007
  - 按照【日志集名称】进行过滤。
8002
8008
  - 类型:String
8003
8009
  - 必选:否
8004
-
8010
+ - 通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集名称。
8005
8011
  logsetId
8006
8012
  - 按照【日志集ID】进行过滤。
8007
8013
  - 类型:String
8008
8014
  - 必选:否
8015
+ - 通过 [获取日志集列表](https://cloud.tencent.com/document/product/614/58624)获取日志集Id。
8009
8016
 
8010
8017
  tagKey
8011
8018
  - 按照【标签键】进行过滤。
@@ -768,52 +768,44 @@ export interface DescribeInstanceOperationsResponse {
768
768
  RequestId?: string;
769
769
  }
770
770
  /**
771
- * Logstash管道信息
771
+ * 索引自治字段
772
772
  */
773
- export interface LogstashPipeline {
774
- /**
775
- * 管道ID
776
- */
777
- PipelineId?: string;
773
+ export interface IndexOptionsField {
778
774
  /**
779
- * 管道描述信息
775
+ * 过期时间
780
776
  注意:此字段可能返回 null,表示取不到有效值。
781
777
  */
782
- PipelineDesc?: string;
783
- /**
784
- * 管道配置内容
785
- */
786
- Config?: string;
778
+ ExpireMaxAge?: string;
787
779
  /**
788
- * 管道的Worker数量
780
+ * 过期大小
789
781
  注意:此字段可能返回 null,表示取不到有效值。
790
782
  */
791
- Workers?: number;
783
+ ExpireMaxSize?: string;
792
784
  /**
793
- * 管道批处理大小
785
+ * 滚动周期
794
786
  注意:此字段可能返回 null,表示取不到有效值。
795
787
  */
796
- BatchSize?: number;
788
+ RolloverMaxAge?: string;
797
789
  /**
798
- * 管道批处理延迟
790
+ * 是否开启动态滚动
799
791
  注意:此字段可能返回 null,表示取不到有效值。
800
792
  */
801
- BatchDelay?: number;
793
+ RolloverDynamic?: string;
802
794
  /**
803
- * 管道缓冲队列类型
795
+ * 是否开启动态分片
804
796
  注意:此字段可能返回 null,表示取不到有效值。
805
797
  */
806
- QueueType?: string;
798
+ ShardNumDynamic?: string;
807
799
  /**
808
- * 管道缓冲队列大小
800
+ * 时间分区字段
809
801
  注意:此字段可能返回 null,表示取不到有效值。
810
802
  */
811
- QueueMaxBytes?: string;
803
+ TimestampField?: string;
812
804
  /**
813
- * 管道缓冲队列检查点写入数
805
+ * 写入模式
814
806
  注意:此字段可能返回 null,表示取不到有效值。
815
807
  */
816
- QueueCheckPointWrites?: number;
808
+ WriteMode?: string;
817
809
  }
818
810
  /**
819
811
  * UpdateRequestTargetNodeTypes返回参数结构体
@@ -918,44 +910,44 @@ export interface DescribeLogstashInstancesRequest {
918
910
  TagList?: Array<TagInfo>;
919
911
  }
920
912
  /**
921
- * 索引自治字段
913
+ * cvm 自动扩盘参数
922
914
  */
923
- export interface IndexOptionsField {
915
+ export interface AutoScaleDiskInfo {
924
916
  /**
925
- * 过期时间
917
+ * 节点类型 hotData,warmData
926
918
  注意:此字段可能返回 null,表示取不到有效值。
927
919
  */
928
- ExpireMaxAge?: string;
920
+ NodeType?: string;
929
921
  /**
930
- * 过期大小
922
+ * 0:百分比扩容;1:绝对值扩容
931
923
  注意:此字段可能返回 null,表示取不到有效值。
932
924
  */
933
- ExpireMaxSize?: string;
925
+ ScaleType?: number;
934
926
  /**
935
- * 滚动周期
927
+ * 触发阈值,单位%,例如80%
936
928
  注意:此字段可能返回 null,表示取不到有效值。
937
929
  */
938
- RolloverMaxAge?: string;
930
+ Threshold?: number;
939
931
  /**
940
- * 是否开启动态滚动
932
+ * 触发持续时间,单位分钟,例如60
941
933
  注意:此字段可能返回 null,表示取不到有效值。
942
934
  */
943
- RolloverDynamic?: string;
935
+ Duration?: number;
944
936
  /**
945
- * 是否开启动态分片
937
+ * 每次扩容比例,单位%,例如20%
946
938
  注意:此字段可能返回 null,表示取不到有效值。
947
939
  */
948
- ShardNumDynamic?: string;
940
+ PercentSize?: number;
949
941
  /**
950
- * 时间分区字段
942
+ * 绝对值扩容,单位GB,例如100GB
951
943
  注意:此字段可能返回 null,表示取不到有效值。
952
944
  */
953
- TimestampField?: string;
945
+ FixSize?: number;
954
946
  /**
955
- * 写入模式
947
+ * 扩容上限,单位GB,例如500GB
956
948
  注意:此字段可能返回 null,表示取不到有效值。
957
949
  */
958
- WriteMode?: string;
950
+ MaxSize?: number;
959
951
  }
960
952
  /**
961
953
  * CreateServerlessSpaceV2返回参数结构体
@@ -1250,6 +1242,10 @@ export interface Operation {
1250
1242
  注意:此字段可能返回 null,表示取不到有效值。
1251
1243
  */
1252
1244
  SubAccountUin?: string;
1245
+ /**
1246
+ * 自动扩容标识:0-非自动,1-自动
1247
+ */
1248
+ AutoScaleTag?: number;
1253
1249
  }
1254
1250
  /**
1255
1251
  * 数据接入cvm数据源信息
@@ -1301,6 +1297,54 @@ export interface InstanceLog {
1301
1297
  */
1302
1298
  NodeID?: string;
1303
1299
  }
1300
+ /**
1301
+ * Logstash管道信息
1302
+ */
1303
+ export interface LogstashPipeline {
1304
+ /**
1305
+ * 管道ID
1306
+ */
1307
+ PipelineId?: string;
1308
+ /**
1309
+ * 管道描述信息
1310
+ 注意:此字段可能返回 null,表示取不到有效值。
1311
+ */
1312
+ PipelineDesc?: string;
1313
+ /**
1314
+ * 管道配置内容
1315
+ */
1316
+ Config?: string;
1317
+ /**
1318
+ * 管道的Worker数量
1319
+ 注意:此字段可能返回 null,表示取不到有效值。
1320
+ */
1321
+ Workers?: number;
1322
+ /**
1323
+ * 管道批处理大小
1324
+ 注意:此字段可能返回 null,表示取不到有效值。
1325
+ */
1326
+ BatchSize?: number;
1327
+ /**
1328
+ * 管道批处理延迟
1329
+ 注意:此字段可能返回 null,表示取不到有效值。
1330
+ */
1331
+ BatchDelay?: number;
1332
+ /**
1333
+ * 管道缓冲队列类型
1334
+ 注意:此字段可能返回 null,表示取不到有效值。
1335
+ */
1336
+ QueueType?: string;
1337
+ /**
1338
+ * 管道缓冲队列大小
1339
+ 注意:此字段可能返回 null,表示取不到有效值。
1340
+ */
1341
+ QueueMaxBytes?: string;
1342
+ /**
1343
+ * 管道缓冲队列检查点写入数
1344
+ 注意:此字段可能返回 null,表示取不到有效值。
1345
+ */
1346
+ QueueCheckPointWrites?: number;
1347
+ }
1304
1348
  /**
1305
1349
  * CreateIndex返回参数结构体
1306
1350
  */
@@ -3018,6 +3062,14 @@ export interface CreateInstanceRequest {
3018
3062
  * 置放群组开启异步任务的可维护时间段
3019
3063
  */
3020
3064
  EnableScheduleOperationDuration?: EnableScheduleOperationDuration;
3065
+ /**
3066
+ * 自动扩盘参数列表
3067
+ */
3068
+ AutoScaleDiskInfoList?: Array<AutoScaleDiskInfo>;
3069
+ /**
3070
+ * 是否开启kibana公网访问,不传默认开启
3071
+ */
3072
+ EnableKibanaPublicAccess?: string;
3021
3073
  }
3022
3074
  /**
3023
3075
  * CreateLogstashInstance请求参数结构体
@@ -4953,6 +5005,14 @@ export interface UpdateInstanceRequest {
4953
5005
  * 开启集群保护:OPEN-开启,CLOSE-关闭
4954
5006
  */
4955
5007
  EnableDestroyProtection?: string;
5008
+ /**
5009
+ * 自动扩盘参数
5010
+ */
5011
+ AutoScaleDiskInfoList?: Array<AutoScaleDiskInfo>;
5012
+ /**
5013
+ * 自动扩盘删除参数
5014
+ */
5015
+ AutoScaleDiskDeleteNodeTypeList?: Array<string>;
4956
5016
  }
4957
5017
  /**
4958
5018
  * CreateServerlessInstance返回参数结构体
@@ -4322,7 +4322,7 @@ export interface DescribeDiskConfigsResponse {
4322
4322
  /**
4323
4323
  * 云硬盘配置列表。
4324
4324
  */
4325
- DiskConfigSet: Array<DiskConfig>;
4325
+ DiskConfigSet?: Array<DiskConfig>;
4326
4326
  /**
4327
4327
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4328
4328
  */
@@ -3505,6 +3505,22 @@ export interface DescribeManagerDetailResponse {
3505
3505
  * 审核状态详细信息
3506
3506
  */
3507
3507
  StatusInfo?: Array<ManagerStatusInfo>;
3508
+ /**
3509
+ * 管理员证件类型,SFZ代表身份证,HZ代表护照
3510
+ */
3511
+ ManagerIdType?: string;
3512
+ /**
3513
+ * 管理员证件号码
3514
+ */
3515
+ ManagerIdNumber?: string;
3516
+ /**
3517
+ * 联系人证件类型,SFZ代表身份证,HZ代表护照
3518
+ */
3519
+ ContactIdType?: string;
3520
+ /**
3521
+ * 联系人证件号码
3522
+ */
3523
+ ContactIdNumber?: string;
3508
3524
  /**
3509
3525
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3510
3526
  */
@@ -10,13 +10,25 @@ export declare class Client extends AbstractClient {
10
10
  /**
11
11
  * **使用说明**
12
12
 
13
- 返回一组临时访问凭证,典型的应用场景是代理应用程序集中申请临时访问凭证,下发给企业网络内其他分布式终端应用,比如终端应用上传文件到COS场景,本接口仅支持永久密钥调用。
13
+ 1. 返回一组临时身份访问凭证,包含token和获取该身份的临时密钥;
14
+
15
+ 2. 当您需要将当前账号下的部分权限和资源临时委托给第三方(如合作伙伴、外包团队),且希望避免下发永久密钥时,调用此接口;
16
+ 3. 临时身份的权限为:当前调用账号的权限和输入参数 Policy 权限的交集;
17
+ 4. 此接口仅支持永久密钥调用。
18
+
19
+
20
+ **典型场景**
21
+
22
+ 1. 代理应用程序集中申请临时访问凭证,下发给企业网络内的其他分布式终端应用。例如:终端应用上传文件到COS。
23
+
24
+ 2. 将指定资源临时委托给第三方代理。例如:申请临时访问凭证,分发给企业外部团队,仅允许查看某个存储桶,有效期结束后权限自动回收。
25
+
14
26
 
15
27
  **最佳实践**
28
+ 1. 临时访问凭证在有效期内(Expiration)都可以使用,建议在有效期内重复使用,避免业务请求该接口频率达到上限被限频;
16
29
 
17
- 1. 临时访问凭据在有效期内都可以使用,建议在有效期内重复使用,以避免业务请求速率上升后被限频
18
- 2. 授予临时访问凭证权限的CAM策略,建议按权限最小化原则
19
- 3. 调用接口的永久密钥,建议不要使用主账号
30
+ 2. 授予临时访问凭证权限的CAM策略,建议严格遵循最小权限原则;
31
+ 3. 建议不要使用主账号永久密钥,对该接口进行调用。
20
32
  */
21
33
  GetFederationToken(req: GetFederationTokenRequest, cb?: (error: string, rep: GetFederationTokenResponse) => void): Promise<GetFederationTokenResponse>;
22
34
  /**
@@ -30,13 +30,25 @@ class Client extends abstract_client_1.AbstractClient {
30
30
  /**
31
31
  * **使用说明**
32
32
 
33
- 返回一组临时访问凭证,典型的应用场景是代理应用程序集中申请临时访问凭证,下发给企业网络内其他分布式终端应用,比如终端应用上传文件到COS场景,本接口仅支持永久密钥调用。
33
+ 1. 返回一组临时身份访问凭证,包含token和获取该身份的临时密钥;
34
+
35
+ 2. 当您需要将当前账号下的部分权限和资源临时委托给第三方(如合作伙伴、外包团队),且希望避免下发永久密钥时,调用此接口;
36
+ 3. 临时身份的权限为:当前调用账号的权限和输入参数 Policy 权限的交集;
37
+ 4. 此接口仅支持永久密钥调用。
38
+
39
+
40
+ **典型场景**
41
+
42
+ 1. 代理应用程序集中申请临时访问凭证,下发给企业网络内的其他分布式终端应用。例如:终端应用上传文件到COS。
43
+
44
+ 2. 将指定资源临时委托给第三方代理。例如:申请临时访问凭证,分发给企业外部团队,仅允许查看某个存储桶,有效期结束后权限自动回收。
45
+
34
46
 
35
47
  **最佳实践**
48
+ 1. 临时访问凭证在有效期内(Expiration)都可以使用,建议在有效期内重复使用,避免业务请求该接口频率达到上限被限频;
36
49
 
37
- 1. 临时访问凭据在有效期内都可以使用,建议在有效期内重复使用,以避免业务请求速率上升后被限频
38
- 2. 授予临时访问凭证权限的CAM策略,建议按权限最小化原则
39
- 3. 调用接口的永久密钥,建议不要使用主账号
50
+ 2. 授予临时访问凭证权限的CAM策略,建议严格遵循最小权限原则;
51
+ 3. 建议不要使用主账号永久密钥,对该接口进行调用。
40
52
  */
41
53
  async GetFederationToken(req, cb) {
42
54
  return this.request("GetFederationToken", req, cb);
@@ -442,10 +442,12 @@ export interface RocketMQGroup {
442
442
  ConsumerNum?: number;
443
443
  /**
444
444
  * 消费TPS
445
+ * @deprecated
445
446
  */
446
447
  TPS?: number;
447
448
  /**
448
449
  * 总堆积数量
450
+ * @deprecated
449
451
  */
450
452
  TotalAccumulative?: number;
451
453
  /**
@@ -507,6 +509,10 @@ export interface RocketMQGroup {
507
509
  注意:此字段可能返回 null,表示取不到有效值。
508
510
  */
509
511
  Namespace?: string;
512
+ /**
513
+ * 订阅的主题个数
514
+ */
515
+ SubscribeTopicNum?: number;
510
516
  }
511
517
  /**
512
518
  * ModifyRabbitMQUser请求参数结构体
@@ -7103,6 +7109,28 @@ export interface RocketMQClusterInfo {
7103
7109
  * 是否已冻结
7104
7110
  */
7105
7111
  IsFrozen?: boolean;
7112
+ /**
7113
+ * 是否开启自动创建主题
7114
+ */
7115
+ AutoCreateTopicEnabled?: boolean;
7116
+ /**
7117
+ * 是否开启集群Admin能力
7118
+ */
7119
+ AdminFeatureEnabled?: boolean;
7120
+ /**
7121
+ * Admin AK
7122
+ 注意:此字段可能返回 null,表示取不到有效值。
7123
+ */
7124
+ AdminAccessKey?: string;
7125
+ /**
7126
+ * Admin SK
7127
+ 注意:此字段可能返回 null,表示取不到有效值。
7128
+ */
7129
+ AdminSecretKey?: string;
7130
+ /**
7131
+ * 是否开启删除保护
7132
+ */
7133
+ EnableDeletionProtection?: boolean;
7106
7134
  }
7107
7135
  /**
7108
7136
  * ModifyRocketMQInstance返回参数结构体
@@ -1,12 +1,16 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeInitNodeScriptsRequest, DeleteClusterResponse, CreateWorkspacesResponse, DeleteClusterRequest, TerminateWorkspacesResponse, ModifyInitNodeScriptsRequest, AttachNodesRequest, DescribeWorkspacesResponse, ModifyWorkspacesRenewFlagRequest, AddNodesResponse, DescribeAutoScalingConfigurationResponse, DescribeClustersRequest, DeleteNodesResponse, AddClusterStorageOptionResponse, DescribeWorkspacesRequest, AddQueueRequest, ModifyWorkspacesRenewFlagResponse, DescribeNodesResponse, DeleteClusterStorageOptionRequest, DetachNodesResponse, DescribeClusterStorageOptionRequest, ModifyWorkspacesAttributeResponse, DescribeClustersResponse, DescribeClusterActivitiesResponse, DescribeInitNodeScriptsResponse, DeleteQueueResponse, DescribeQueuesResponse, CreateClusterResponse, DescribeQueuesRequest, SetAutoScalingConfigurationResponse, CreateClusterRequest, AddQueueResponse, DescribeClusterStorageOptionResponse, ModifyInitNodeScriptsResponse, ModifyWorkspacesAttributeRequest, TerminateWorkspacesRequest, DeleteNodesRequest, DeleteClusterStorageOptionResponse, SetAutoScalingConfigurationRequest, DescribeNodesRequest, DetachNodesRequest, AttachNodesResponse, CreateWorkspacesRequest, DescribeClusterActivitiesRequest, AddNodesRequest, DeleteQueueRequest, AddClusterStorageOptionRequest, DescribeAutoScalingConfigurationRequest } from "./thpc_models";
3
+ import { DescribeInitNodeScriptsRequest, AddNodesResponse, CreateWorkspacesResponse, DeleteClusterRequest, TerminateWorkspacesResponse, ModifyInitNodeScriptsRequest, AttachNodesRequest, DescribeWorkspacesResponse, DescribeJobsOverviewRequest, DeleteClusterResponse, DescribeAutoScalingConfigurationResponse, DescribeClustersRequest, TerminateJobRequest, DeleteNodesResponse, AddClusterStorageOptionResponse, DescribeWorkspacesRequest, AddQueueRequest, DescribeQueuesResponse, SubmitJobRequest, ModifyWorkspacesRenewFlagResponse, DescribeNodesResponse, DeleteClusterStorageOptionRequest, DeleteJobRequest, DetachNodesResponse, DescribeClusterStorageOptionRequest, ModifyWorkspacesAttributeResponse, DescribeClustersResponse, DescribeClusterActivitiesResponse, DescribeInitNodeScriptsResponse, DeleteQueueResponse, DeleteJobResponse, DescribeJobSubmitInfoResponse, CreateClusterResponse, DescribeQueuesRequest, SetAutoScalingConfigurationResponse, CreateClusterRequest, AddQueueResponse, DescribeClusterStorageOptionResponse, ModifyInitNodeScriptsResponse, DescribeJobSubmitInfoRequest, ModifyWorkspacesAttributeRequest, TerminateWorkspacesRequest, DeleteNodesRequest, DeleteClusterStorageOptionResponse, TerminateJobResponse, DescribeJobsRequest, SetAutoScalingConfigurationRequest, SubmitJobResponse, DescribeNodesRequest, DetachNodesRequest, AttachNodesResponse, DescribeJobsOverviewResponse, ModifyWorkspacesRenewFlagRequest, CreateWorkspacesRequest, DescribeClusterActivitiesRequest, DescribeJobsResponse, AddNodesRequest, DeleteQueueRequest, AddClusterStorageOptionRequest, DescribeAutoScalingConfigurationRequest } from "./thpc_models";
4
4
  /**
5
5
  * thpc client
6
6
  * @class
7
7
  */
8
8
  export declare class Client extends AbstractClient {
9
9
  constructor(clientConfig: ClientConfig);
10
+ /**
11
+ * 本接口(DescribeAutoScalingConfiguration)用于查询集群弹性伸缩配置信息。本接口仅适用于弹性伸缩类型为THPC_AS的集群。
12
+ */
13
+ DescribeAutoScalingConfiguration(req: DescribeAutoScalingConfigurationRequest, cb?: (error: string, rep: DescribeAutoScalingConfigurationResponse) => void): Promise<DescribeAutoScalingConfigurationResponse>;
10
14
  /**
11
15
  * 本接口(DeleteNodes)用于删除指定集群中一个或者多个计算节点或者登录节点。
12
16
  */
@@ -38,13 +42,17 @@ export declare class Client extends AbstractClient {
38
42
  */
39
43
  AddNodes(req: AddNodesRequest, cb?: (error: string, rep: AddNodesResponse) => void): Promise<AddNodesResponse>;
40
44
  /**
41
- * 本接口 (DetachNodes) 用于将一个或者多个计算节点从集群中移除,但是不销毁指定计算资源。
45
+ * 本接口 (DescribeJobs) 用于查询作业任务列表信息。
42
46
  */
43
- DetachNodes(req: DetachNodesRequest, cb?: (error: string, rep: DetachNodesResponse) => void): Promise<DetachNodesResponse>;
47
+ DescribeJobs(req: DescribeJobsRequest, cb?: (error: string, rep: DescribeJobsResponse) => void): Promise<DescribeJobsResponse>;
44
48
  /**
45
49
  * 本接口(DeleteCluster)用于删除一个指定的集群。
46
50
  */
47
51
  DeleteCluster(req: DeleteClusterRequest, cb?: (error: string, rep: DeleteClusterResponse) => void): Promise<DeleteClusterResponse>;
52
+ /**
53
+ * 本接口 (DetachNodes) 用于将一个或者多个计算节点从集群中移除,但是不销毁指定计算资源。
54
+ */
55
+ DetachNodes(req: DetachNodesRequest, cb?: (error: string, rep: DetachNodesResponse) => void): Promise<DetachNodesResponse>;
48
56
  /**
49
57
  * 本接口 (DeleteClusterStorageOption) 用于删除集群存储选项信息。
50
58
  */
@@ -53,6 +61,10 @@ export declare class Client extends AbstractClient {
53
61
  * 本接口(DescribeWorkspaces)用于查询工作空间列表。
54
62
  */
55
63
  DescribeWorkspaces(req: DescribeWorkspacesRequest, cb?: (error: string, rep: DescribeWorkspacesResponse) => void): Promise<DescribeWorkspacesResponse>;
64
+ /**
65
+ * 本接口 (TerminateJob) 用于终止一个作业任务。
66
+ */
67
+ TerminateJob(req: TerminateJobRequest, cb?: (error: string, rep: TerminateJobResponse) => void): Promise<TerminateJobResponse>;
56
68
  /**
57
69
  * 本接口 (DescribeNodes) 用于查询指定集群节点概览信息列表。
58
70
  */
@@ -80,13 +92,17 @@ export declare class Client extends AbstractClient {
80
92
  */
81
93
  AttachNodes(req: AttachNodesRequest, cb?: (error: string, rep: AttachNodesResponse) => void): Promise<AttachNodesResponse>;
82
94
  /**
83
- * 本接口(DescribeAutoScalingConfiguration)用于查询集群弹性伸缩配置信息。本接口仅适用于弹性伸缩类型为THPC_AS的集群。
95
+ * 本接口用于查询作业的提交信息。
84
96
  */
85
- DescribeAutoScalingConfiguration(req: DescribeAutoScalingConfigurationRequest, cb?: (error: string, rep: DescribeAutoScalingConfigurationResponse) => void): Promise<DescribeAutoScalingConfigurationResponse>;
97
+ DescribeJobSubmitInfo(req: DescribeJobSubmitInfoRequest, cb?: (error: string, rep: DescribeJobSubmitInfoResponse) => void): Promise<DescribeJobSubmitInfoResponse>;
86
98
  /**
87
99
  * 本接口(DescribeClusterActivities)用于查询集群活动历史记录列表。
88
100
  */
89
101
  DescribeClusterActivities(req: DescribeClusterActivitiesRequest, cb?: (error: string, rep: DescribeClusterActivitiesResponse) => void): Promise<DescribeClusterActivitiesResponse>;
102
+ /**
103
+ * 本接口 (SubmitJob) 用于提交一个作业任务。
104
+ */
105
+ SubmitJob(req?: SubmitJobRequest, cb?: (error: string, rep: SubmitJobResponse) => void): Promise<SubmitJobResponse>;
90
106
  /**
91
107
  * 本接口 (DescribeClusterStorageOption) 用于查询集群存储选项信息。
92
108
  */
@@ -99,6 +115,14 @@ export declare class Client extends AbstractClient {
99
115
  * 本接口(AddClusterStorageOption)用于添加集群存储选项信息。
100
116
  */
101
117
  AddClusterStorageOption(req: AddClusterStorageOptionRequest, cb?: (error: string, rep: AddClusterStorageOptionResponse) => void): Promise<AddClusterStorageOptionResponse>;
118
+ /**
119
+ * 本接口 (DescribeJobs) 用于查询作业任务列表信息。
120
+ */
121
+ DescribeJobsOverview(req?: DescribeJobsOverviewRequest, cb?: (error: string, rep: DescribeJobsOverviewResponse) => void): Promise<DescribeJobsOverviewResponse>;
122
+ /**
123
+ * 本接口 (DeleteJob) 用于删除一个作业任务。
124
+ */
125
+ DeleteJob(req: DeleteJobRequest, cb?: (error: string, rep: DeleteJobResponse) => void): Promise<DeleteJobResponse>;
102
126
  /**
103
127
  * 本接口 (ModifyWorkspacesAttribute) 用于修改工作空间的属性(目前只支持修改工作空间的名称)。
104
128
  */