tencentcloud-sdk-nodejs 4.0.253 → 4.0.254
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.
- package/CHANGELOG.md +215 -186
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ccc/v20200210/ccc_models.ts +6 -0
- package/src/services/cdn/v20180606/cdn_models.ts +6 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +17 -5
- package/src/services/ckafka/v20190819/ckafka_models.ts +163 -138
- package/src/services/cwp/v20180228/cwp_models.ts +27 -1
- package/src/services/emr/v20190103/emr_models.ts +22 -4
- package/src/services/faceid/v20180301/faceid_client.ts +1 -0
- package/src/services/faceid/v20180301/faceid_models.ts +46 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +21 -8
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +144 -98
- package/src/services/mrs/v20200910/mrs_models.ts +6 -0
- package/src/services/scf/v20180416/scf_models.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +5 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +140 -118
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +22 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +20 -4
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +39 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +7 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +9 -3
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +120 -80
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +5 -0
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/iotexplorer.v20190423.test.js +12 -2
package/products.md
CHANGED
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
| bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2021-11-10 08:03:01 |
|
|
28
28
|
| bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 |
|
|
29
29
|
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2021-11-10 08:03:08 |
|
|
30
|
-
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2021-
|
|
30
|
+
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2021-12-10 08:02:11 |
|
|
31
31
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2021-12-03 08:02:43 |
|
|
32
32
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-11-10 08:03:19 |
|
|
33
33
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-11-10 08:03:22 |
|
|
34
|
-
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2021-12-
|
|
34
|
+
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2021-12-10 08:02:29 |
|
|
35
35
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2021-12-02 08:03:37 |
|
|
36
|
-
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-12-
|
|
36
|
+
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2021-12-10 08:02:48 |
|
|
37
37
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2021-11-10 08:03:57 |
|
|
38
38
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2021-12-06 08:02:54 |
|
|
39
39
|
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2021-12-01 08:04:35 |
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2021-11-23 08:04:46 |
|
|
42
42
|
| cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
|
|
43
43
|
| cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
|
|
44
|
-
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2021-12-
|
|
44
|
+
| ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2021-12-10 08:03:21 |
|
|
45
45
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2021-11-30 08:04:28 |
|
|
46
46
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2021-11-16 08:07:51 |
|
|
47
47
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2021-11-10 08:04:28 |
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2021-12-09 08:03:47 |
|
|
53
53
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
54
54
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2021-11-26 08:07:10 |
|
|
55
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2021-
|
|
55
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2021-12-10 08:04:29 |
|
|
56
56
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
57
57
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2021-11-17 08:10:15 |
|
|
58
58
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2021-11-10 08:05:47 |
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2021-12-06 08:05:41 |
|
|
72
72
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2021-11-10 08:06:52 |
|
|
73
73
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2021-11-10 08:06:56 |
|
|
74
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2021-12-
|
|
74
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2021-12-10 08:06:20 |
|
|
75
75
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2021-11-10 08:07:00 |
|
|
76
76
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2021-11-10 08:07:03 |
|
|
77
77
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2021-11-18 08:08:10 |
|
|
78
|
-
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2021-
|
|
78
|
+
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2021-12-10 08:06:32 |
|
|
79
79
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2021-12-03 08:06:45 |
|
|
80
80
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2021-12-08 08:10:45 |
|
|
81
81
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2021-12-03 08:06:49 |
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
| ims | [图片内容检测](https://cloud.tencent.com/document/product/1125) | 2021-11-10 08:07:49 |
|
|
93
93
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2021-11-10 08:07:50 |
|
|
94
94
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2021-07-21 08:06:35 |
|
|
95
|
-
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2021-12-
|
|
95
|
+
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2021-12-10 08:07:35 |
|
|
96
96
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2021-11-10 08:08:16 |
|
|
97
97
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2021-12-03 08:07:55 |
|
|
98
98
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2021-12-03 08:08:18 |
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2021-12-09 08:08:23 |
|
|
110
110
|
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2021-12-03 08:09:12 |
|
|
111
111
|
| mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2021-11-24 08:11:23 |
|
|
112
|
-
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2021-
|
|
112
|
+
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2021-12-10 08:09:11 |
|
|
113
113
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product) | 2020-06-05 08:13:52 |
|
|
114
114
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2021-11-10 08:09:22 |
|
|
115
115
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2021-11-10 08:10:03 |
|
|
128
128
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2021-11-10 08:10:04 |
|
|
129
129
|
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2021-12-09 08:09:35 |
|
|
130
|
-
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2021-12-
|
|
130
|
+
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2021-12-10 08:09:59 |
|
|
131
131
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2021-11-26 08:12:29 |
|
|
132
132
|
| smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2021-11-10 08:10:15 |
|
|
133
133
|
| sms | [短信](https://cloud.tencent.com/document/product/382) | 2021-11-16 08:13:49 |
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
| tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
|
|
153
153
|
| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2021-11-18 08:12:32 |
|
|
154
154
|
| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2021-11-11 11:08:37 |
|
|
155
|
-
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2021-12-
|
|
155
|
+
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2021-12-10 08:11:22 |
|
|
156
156
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2021-11-10 08:11:24 |
|
|
157
157
|
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2021-12-03 08:11:41 |
|
|
158
158
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2021-12-09 08:11:43 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.254"
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
DeleteAclResponse,
|
|
77
77
|
DynamicRetentionTime,
|
|
78
78
|
DescribeTopicSubscribeGroupRequest,
|
|
79
|
-
|
|
79
|
+
DeleteInstancePreResponse,
|
|
80
80
|
DescribeInstanceAttributesRequest,
|
|
81
81
|
TopicInSyncReplicaInfo,
|
|
82
82
|
DescribeRegionRequest,
|
|
@@ -92,16 +92,17 @@ import {
|
|
|
92
92
|
DescribeTopicRequest,
|
|
93
93
|
CreatePartitionRequest,
|
|
94
94
|
Group,
|
|
95
|
+
GroupInfoResponse,
|
|
95
96
|
DescribeAppInfoResponse,
|
|
96
97
|
AclResponse,
|
|
97
98
|
ZoneResponse,
|
|
98
99
|
Instance,
|
|
99
100
|
DescribeInstanceAttributesResponse,
|
|
100
101
|
TopicDetailResponse,
|
|
102
|
+
DeleteInstancePreRequest,
|
|
101
103
|
TopicSubscribeGroup,
|
|
102
104
|
Config,
|
|
103
105
|
ModifyPasswordRequest,
|
|
104
|
-
CreateInstancePreRequest,
|
|
105
106
|
ModifyInstanceAttributesRequest,
|
|
106
107
|
DescribeRegionResponse,
|
|
107
108
|
CreateTopicResponse,
|
|
@@ -112,18 +113,19 @@ import {
|
|
|
112
113
|
DeleteTopicResponse,
|
|
113
114
|
DescribeInstancesRequest,
|
|
114
115
|
InstanceAttributesResponse,
|
|
115
|
-
|
|
116
|
+
DescribeGroupRequest,
|
|
116
117
|
Filter,
|
|
117
118
|
GroupOffsetResponse,
|
|
118
119
|
BatchCreateAclResponse,
|
|
119
120
|
CreateUserRequest,
|
|
121
|
+
InstanceDetailResponse,
|
|
120
122
|
DeleteTopicIpWhiteListResponse,
|
|
121
123
|
CreateInstancePreResponse,
|
|
122
124
|
DescribeInstancesDetailRequest,
|
|
123
125
|
ModifyPasswordResponse,
|
|
124
126
|
DescribeRouteRequest,
|
|
125
127
|
TopicInSyncReplicaResult,
|
|
126
|
-
|
|
128
|
+
DescribeCkafkaZoneResponse,
|
|
127
129
|
TopicAttributesResponse,
|
|
128
130
|
InstanceResponse,
|
|
129
131
|
DescribeGroup,
|
|
@@ -140,7 +142,7 @@ import {
|
|
|
140
142
|
Acl,
|
|
141
143
|
TopicRetentionTimeConfigRsp,
|
|
142
144
|
ModifyTopicAttributesRequest,
|
|
143
|
-
|
|
145
|
+
CreateInstancePreRequest,
|
|
144
146
|
DeleteTopicIpWhiteListRequest,
|
|
145
147
|
DescribeGroupOffsetsRequest,
|
|
146
148
|
DescribeUserRequest,
|
|
@@ -391,6 +393,16 @@ export class Client extends AbstractClient {
|
|
|
391
393
|
return this.request("DescribeTopicAttributes", req, cb)
|
|
392
394
|
}
|
|
393
395
|
|
|
396
|
+
/**
|
|
397
|
+
* 删除预付费实例
|
|
398
|
+
*/
|
|
399
|
+
async DeleteInstancePre(
|
|
400
|
+
req: DeleteInstancePreRequest,
|
|
401
|
+
cb?: (error: string, rep: DeleteInstancePreResponse) => void
|
|
402
|
+
): Promise<DeleteInstancePreResponse> {
|
|
403
|
+
return this.request("DeleteInstancePre", req, cb)
|
|
404
|
+
}
|
|
405
|
+
|
|
394
406
|
/**
|
|
395
407
|
* 获取实例属性
|
|
396
408
|
*/
|
|
@@ -1405,18 +1405,18 @@ export interface DescribeTopicSubscribeGroupRequest {
|
|
|
1405
1405
|
}
|
|
1406
1406
|
|
|
1407
1407
|
/**
|
|
1408
|
-
*
|
|
1408
|
+
* DeleteInstancePre返回参数结构体
|
|
1409
1409
|
*/
|
|
1410
|
-
export interface
|
|
1410
|
+
export interface DeleteInstancePreResponse {
|
|
1411
1411
|
/**
|
|
1412
|
-
*
|
|
1412
|
+
* 返回结果
|
|
1413
1413
|
*/
|
|
1414
|
-
|
|
1414
|
+
Result: CreateInstancePreResp
|
|
1415
1415
|
|
|
1416
1416
|
/**
|
|
1417
|
-
*
|
|
1417
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1418
1418
|
*/
|
|
1419
|
-
|
|
1419
|
+
RequestId?: string
|
|
1420
1420
|
}
|
|
1421
1421
|
|
|
1422
1422
|
/**
|
|
@@ -1696,6 +1696,46 @@ export interface Group {
|
|
|
1696
1696
|
GroupName: string
|
|
1697
1697
|
}
|
|
1698
1698
|
|
|
1699
|
+
/**
|
|
1700
|
+
* GroupInfo返回数据的实体
|
|
1701
|
+
*/
|
|
1702
|
+
export interface GroupInfoResponse {
|
|
1703
|
+
/**
|
|
1704
|
+
* 错误码,正常为0
|
|
1705
|
+
*/
|
|
1706
|
+
ErrorCode: string
|
|
1707
|
+
|
|
1708
|
+
/**
|
|
1709
|
+
* group 状态描述(常见的为 Empty、Stable、Dead 三种状态):
|
|
1710
|
+
Dead:消费分组不存在
|
|
1711
|
+
Empty:消费分组,当前没有任何消费者订阅
|
|
1712
|
+
PreparingRebalance:消费分组处于 rebalance 状态
|
|
1713
|
+
CompletingRebalance:消费分组处于 rebalance 状态
|
|
1714
|
+
Stable:消费分组中各个消费者已经加入,处于稳定状态
|
|
1715
|
+
*/
|
|
1716
|
+
State: string
|
|
1717
|
+
|
|
1718
|
+
/**
|
|
1719
|
+
* 消费分组选择的协议类型正常的消费者一般为 consumer 但有些系统采用了自己的协议如 kafka-connect 用的就是 connect。只有标准的 consumer 协议,本接口才知道具体的分配方式的格式,才能解析到具体的 partition 的分配情况
|
|
1720
|
+
*/
|
|
1721
|
+
ProtocolType: string
|
|
1722
|
+
|
|
1723
|
+
/**
|
|
1724
|
+
* 消费者 partition 分配算法常见的有如下几种(Kafka 消费者 SDK 默认的选择项为 range):range、 roundrobin、 sticky
|
|
1725
|
+
*/
|
|
1726
|
+
Protocol: string
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* 仅当 state 为 Stable 且 protocol_type 为 consumer 时, 该数组才包含信息
|
|
1730
|
+
*/
|
|
1731
|
+
Members: Array<GroupInfoMember>
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* Kafka 消费分组
|
|
1735
|
+
*/
|
|
1736
|
+
Group: string
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1699
1739
|
/**
|
|
1700
1740
|
* DescribeAppInfo返回参数结构体
|
|
1701
1741
|
*/
|
|
@@ -1844,6 +1884,16 @@ export interface TopicDetailResponse {
|
|
|
1844
1884
|
TotalCount: number
|
|
1845
1885
|
}
|
|
1846
1886
|
|
|
1887
|
+
/**
|
|
1888
|
+
* DeleteInstancePre请求参数结构体
|
|
1889
|
+
*/
|
|
1890
|
+
export interface DeleteInstancePreRequest {
|
|
1891
|
+
/**
|
|
1892
|
+
* 实例id
|
|
1893
|
+
*/
|
|
1894
|
+
InstanceId: string
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1847
1897
|
/**
|
|
1848
1898
|
* DescribeTopicSubscribeGroup接口出参
|
|
1849
1899
|
*/
|
|
@@ -1950,91 +2000,6 @@ export interface ModifyPasswordRequest {
|
|
|
1950
2000
|
PasswordNew: string
|
|
1951
2001
|
}
|
|
1952
2002
|
|
|
1953
|
-
/**
|
|
1954
|
-
* CreateInstancePre请求参数结构体
|
|
1955
|
-
*/
|
|
1956
|
-
export interface CreateInstancePreRequest {
|
|
1957
|
-
/**
|
|
1958
|
-
* 实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)
|
|
1959
|
-
*/
|
|
1960
|
-
InstanceName: string
|
|
1961
|
-
|
|
1962
|
-
/**
|
|
1963
|
-
* 可用区
|
|
1964
|
-
*/
|
|
1965
|
-
ZoneId: number
|
|
1966
|
-
|
|
1967
|
-
/**
|
|
1968
|
-
* 预付费购买时长,例如 "1m",就是一个月
|
|
1969
|
-
*/
|
|
1970
|
-
Period: string
|
|
1971
|
-
|
|
1972
|
-
/**
|
|
1973
|
-
* 实例规格,专业版默认填写1。1:入门型 ,2: 标准型,3 :进阶型,4 :容量型,5: 高阶型1,6:高阶性2, 7: 高阶型3,8: 高阶型4, 9 :独占型。
|
|
1974
|
-
*/
|
|
1975
|
-
InstanceType: number
|
|
1976
|
-
|
|
1977
|
-
/**
|
|
1978
|
-
* vpcId,不填默认基础网络
|
|
1979
|
-
*/
|
|
1980
|
-
VpcId?: string
|
|
1981
|
-
|
|
1982
|
-
/**
|
|
1983
|
-
* 子网id,vpc网络需要传该参数,基础网络可以不传
|
|
1984
|
-
*/
|
|
1985
|
-
SubnetId?: string
|
|
1986
|
-
|
|
1987
|
-
/**
|
|
1988
|
-
* 可选。实例日志的最长保留时间,单位分钟,默认为10080(7天),最大30天,不填默认0,代表不开启日志保留时间回收策略
|
|
1989
|
-
*/
|
|
1990
|
-
MsgRetentionTime?: number
|
|
1991
|
-
|
|
1992
|
-
/**
|
|
1993
|
-
* 创建实例时可以选择集群Id, 该入参表示集群Id
|
|
1994
|
-
*/
|
|
1995
|
-
ClusterId?: number
|
|
1996
|
-
|
|
1997
|
-
/**
|
|
1998
|
-
* 预付费自动续费标记,0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置)
|
|
1999
|
-
*/
|
|
2000
|
-
RenewFlag?: number
|
|
2001
|
-
|
|
2002
|
-
/**
|
|
2003
|
-
* 支持指定版本Kafka版本(0.10.2/1.1.1/2.4.1) 。指定专业版参数specificationsType=pro
|
|
2004
|
-
*/
|
|
2005
|
-
KafkaVersion?: string
|
|
2006
|
-
|
|
2007
|
-
/**
|
|
2008
|
-
* 专业版必须填写 (专业版:profession、标准版:standard) 默认是standard。专业版填profession
|
|
2009
|
-
*/
|
|
2010
|
-
SpecificationsType?: string
|
|
2011
|
-
|
|
2012
|
-
/**
|
|
2013
|
-
* 磁盘大小,专业版不填写默认最小磁盘,填写后根据磁盘带宽分区数弹性计算
|
|
2014
|
-
*/
|
|
2015
|
-
DiskSize?: number
|
|
2016
|
-
|
|
2017
|
-
/**
|
|
2018
|
-
* 带宽,专业版不填写默认最小带宽,填写后根据磁盘带宽分区数弹性计算
|
|
2019
|
-
*/
|
|
2020
|
-
BandWidth?: number
|
|
2021
|
-
|
|
2022
|
-
/**
|
|
2023
|
-
* 分区大小,专业版不填写默认最小分区数,填写后根据磁盘带宽分区数弹性计算
|
|
2024
|
-
*/
|
|
2025
|
-
Partition?: number
|
|
2026
|
-
|
|
2027
|
-
/**
|
|
2028
|
-
* 标签
|
|
2029
|
-
*/
|
|
2030
|
-
Tags?: Array<Tag>
|
|
2031
|
-
|
|
2032
|
-
/**
|
|
2033
|
-
* 磁盘类型(ssd填写CLOUD_SSD,sata填写CLOUD_BASIC)
|
|
2034
|
-
*/
|
|
2035
|
-
DiskType?: string
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
2003
|
/**
|
|
2039
2004
|
* ModifyInstanceAttributes请求参数结构体
|
|
2040
2005
|
*/
|
|
@@ -2425,18 +2390,28 @@ export interface InstanceAttributesResponse {
|
|
|
2425
2390
|
}
|
|
2426
2391
|
|
|
2427
2392
|
/**
|
|
2428
|
-
*
|
|
2393
|
+
* DescribeGroup请求参数结构体
|
|
2429
2394
|
*/
|
|
2430
|
-
export interface
|
|
2395
|
+
export interface DescribeGroupRequest {
|
|
2431
2396
|
/**
|
|
2432
|
-
*
|
|
2397
|
+
* 实例ID
|
|
2433
2398
|
*/
|
|
2434
|
-
|
|
2399
|
+
InstanceId: string
|
|
2435
2400
|
|
|
2436
2401
|
/**
|
|
2437
|
-
*
|
|
2402
|
+
* 搜索关键字
|
|
2438
2403
|
*/
|
|
2439
|
-
|
|
2404
|
+
SearchWord?: string
|
|
2405
|
+
|
|
2406
|
+
/**
|
|
2407
|
+
* 偏移量
|
|
2408
|
+
*/
|
|
2409
|
+
Offset?: number
|
|
2410
|
+
|
|
2411
|
+
/**
|
|
2412
|
+
* 最大返回数量
|
|
2413
|
+
*/
|
|
2414
|
+
Limit?: number
|
|
2440
2415
|
}
|
|
2441
2416
|
|
|
2442
2417
|
/**
|
|
@@ -2510,6 +2485,21 @@ export interface CreateUserRequest {
|
|
|
2510
2485
|
Password: string
|
|
2511
2486
|
}
|
|
2512
2487
|
|
|
2488
|
+
/**
|
|
2489
|
+
* 实例详情返回结果
|
|
2490
|
+
*/
|
|
2491
|
+
export interface InstanceDetailResponse {
|
|
2492
|
+
/**
|
|
2493
|
+
* 符合条件的实例总数
|
|
2494
|
+
*/
|
|
2495
|
+
TotalCount: number
|
|
2496
|
+
|
|
2497
|
+
/**
|
|
2498
|
+
* 符合条件的实例详情列表
|
|
2499
|
+
*/
|
|
2500
|
+
InstanceList: Array<InstanceDetail>
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2513
2503
|
/**
|
|
2514
2504
|
* DeleteTopicIpWhiteList返回参数结构体
|
|
2515
2505
|
*/
|
|
@@ -2621,43 +2611,18 @@ export interface TopicInSyncReplicaResult {
|
|
|
2621
2611
|
}
|
|
2622
2612
|
|
|
2623
2613
|
/**
|
|
2624
|
-
*
|
|
2614
|
+
* DescribeCkafkaZone返回参数结构体
|
|
2625
2615
|
*/
|
|
2626
|
-
export interface
|
|
2627
|
-
/**
|
|
2628
|
-
* 错误码,正常为0
|
|
2629
|
-
*/
|
|
2630
|
-
ErrorCode: string
|
|
2631
|
-
|
|
2632
|
-
/**
|
|
2633
|
-
* group 状态描述(常见的为 Empty、Stable、Dead 三种状态):
|
|
2634
|
-
Dead:消费分组不存在
|
|
2635
|
-
Empty:消费分组,当前没有任何消费者订阅
|
|
2636
|
-
PreparingRebalance:消费分组处于 rebalance 状态
|
|
2637
|
-
CompletingRebalance:消费分组处于 rebalance 状态
|
|
2638
|
-
Stable:消费分组中各个消费者已经加入,处于稳定状态
|
|
2639
|
-
*/
|
|
2640
|
-
State: string
|
|
2641
|
-
|
|
2642
|
-
/**
|
|
2643
|
-
* 消费分组选择的协议类型正常的消费者一般为 consumer 但有些系统采用了自己的协议如 kafka-connect 用的就是 connect。只有标准的 consumer 协议,本接口才知道具体的分配方式的格式,才能解析到具体的 partition 的分配情况
|
|
2644
|
-
*/
|
|
2645
|
-
ProtocolType: string
|
|
2646
|
-
|
|
2647
|
-
/**
|
|
2648
|
-
* 消费者 partition 分配算法常见的有如下几种(Kafka 消费者 SDK 默认的选择项为 range):range、 roundrobin、 sticky
|
|
2649
|
-
*/
|
|
2650
|
-
Protocol: string
|
|
2651
|
-
|
|
2616
|
+
export interface DescribeCkafkaZoneResponse {
|
|
2652
2617
|
/**
|
|
2653
|
-
*
|
|
2618
|
+
* 查询结果复杂对象实体
|
|
2654
2619
|
*/
|
|
2655
|
-
|
|
2620
|
+
Result: ZoneResponse
|
|
2656
2621
|
|
|
2657
2622
|
/**
|
|
2658
|
-
*
|
|
2623
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2659
2624
|
*/
|
|
2660
|
-
|
|
2625
|
+
RequestId?: string
|
|
2661
2626
|
}
|
|
2662
2627
|
|
|
2663
2628
|
/**
|
|
@@ -3156,28 +3121,88 @@ export interface ModifyTopicAttributesRequest {
|
|
|
3156
3121
|
}
|
|
3157
3122
|
|
|
3158
3123
|
/**
|
|
3159
|
-
*
|
|
3124
|
+
* CreateInstancePre请求参数结构体
|
|
3160
3125
|
*/
|
|
3161
|
-
export interface
|
|
3126
|
+
export interface CreateInstancePreRequest {
|
|
3162
3127
|
/**
|
|
3163
|
-
*
|
|
3128
|
+
* 实例名称,是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)
|
|
3164
3129
|
*/
|
|
3165
|
-
|
|
3130
|
+
InstanceName: string
|
|
3166
3131
|
|
|
3167
3132
|
/**
|
|
3168
|
-
*
|
|
3133
|
+
* 可用区
|
|
3169
3134
|
*/
|
|
3170
|
-
|
|
3135
|
+
ZoneId: number
|
|
3171
3136
|
|
|
3172
3137
|
/**
|
|
3173
|
-
*
|
|
3138
|
+
* 预付费购买时长,例如 "1m",就是一个月
|
|
3174
3139
|
*/
|
|
3175
|
-
|
|
3140
|
+
Period: string
|
|
3176
3141
|
|
|
3177
3142
|
/**
|
|
3178
|
-
*
|
|
3143
|
+
* 实例规格,专业版默认填写1。1:入门型 ,2: 标准型,3 :进阶型,4 :容量型,5: 高阶型1,6:高阶性2, 7: 高阶型3,8: 高阶型4, 9 :独占型。
|
|
3179
3144
|
*/
|
|
3180
|
-
|
|
3145
|
+
InstanceType: number
|
|
3146
|
+
|
|
3147
|
+
/**
|
|
3148
|
+
* vpcId,不填默认基础网络
|
|
3149
|
+
*/
|
|
3150
|
+
VpcId?: string
|
|
3151
|
+
|
|
3152
|
+
/**
|
|
3153
|
+
* 子网id,vpc网络需要传该参数,基础网络可以不传
|
|
3154
|
+
*/
|
|
3155
|
+
SubnetId?: string
|
|
3156
|
+
|
|
3157
|
+
/**
|
|
3158
|
+
* 可选。实例日志的最长保留时间,单位分钟,默认为10080(7天),最大30天,不填默认0,代表不开启日志保留时间回收策略
|
|
3159
|
+
*/
|
|
3160
|
+
MsgRetentionTime?: number
|
|
3161
|
+
|
|
3162
|
+
/**
|
|
3163
|
+
* 创建实例时可以选择集群Id, 该入参表示集群Id
|
|
3164
|
+
*/
|
|
3165
|
+
ClusterId?: number
|
|
3166
|
+
|
|
3167
|
+
/**
|
|
3168
|
+
* 预付费自动续费标记,0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置)
|
|
3169
|
+
*/
|
|
3170
|
+
RenewFlag?: number
|
|
3171
|
+
|
|
3172
|
+
/**
|
|
3173
|
+
* 支持指定版本Kafka版本(0.10.2/1.1.1/2.4.1) 。指定专业版参数specificationsType=pro
|
|
3174
|
+
*/
|
|
3175
|
+
KafkaVersion?: string
|
|
3176
|
+
|
|
3177
|
+
/**
|
|
3178
|
+
* 专业版必须填写 (专业版:profession、标准版:standard) 默认是standard。专业版填profession
|
|
3179
|
+
*/
|
|
3180
|
+
SpecificationsType?: string
|
|
3181
|
+
|
|
3182
|
+
/**
|
|
3183
|
+
* 磁盘大小,专业版不填写默认最小磁盘,填写后根据磁盘带宽分区数弹性计算
|
|
3184
|
+
*/
|
|
3185
|
+
DiskSize?: number
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* 带宽,专业版不填写默认最小带宽,填写后根据磁盘带宽分区数弹性计算
|
|
3189
|
+
*/
|
|
3190
|
+
BandWidth?: number
|
|
3191
|
+
|
|
3192
|
+
/**
|
|
3193
|
+
* 分区大小,专业版不填写默认最小分区数,填写后根据磁盘带宽分区数弹性计算
|
|
3194
|
+
*/
|
|
3195
|
+
Partition?: number
|
|
3196
|
+
|
|
3197
|
+
/**
|
|
3198
|
+
* 标签
|
|
3199
|
+
*/
|
|
3200
|
+
Tags?: Array<Tag>
|
|
3201
|
+
|
|
3202
|
+
/**
|
|
3203
|
+
* 磁盘类型(ssd填写CLOUD_SSD,sata填写CLOUD_BASIC)
|
|
3204
|
+
*/
|
|
3205
|
+
DiskType?: string
|
|
3181
3206
|
}
|
|
3182
3207
|
|
|
3183
3208
|
/**
|
|
@@ -747,7 +747,7 @@ export interface MalWareList {
|
|
|
747
747
|
VirusName: string
|
|
748
748
|
|
|
749
749
|
/**
|
|
750
|
-
* 状态;4-:待处理,5-已信任,6
|
|
750
|
+
* 状态;4-:待处理,5-已信任,6-已隔离,8-文件已删除
|
|
751
751
|
*/
|
|
752
752
|
Status: number
|
|
753
753
|
|
|
@@ -789,6 +789,11 @@ export interface MalWareList {
|
|
|
789
789
|
* 最近扫描时间
|
|
790
790
|
*/
|
|
791
791
|
LatestScanTime: string
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* 风险等级 0未知、1低、2中、3高、4严重
|
|
795
|
+
*/
|
|
796
|
+
Level: number
|
|
792
797
|
}
|
|
793
798
|
|
|
794
799
|
/**
|
|
@@ -9978,6 +9983,11 @@ export interface CreateScanMalwareSettingRequest {
|
|
|
9978
9983
|
* 超时时间单位 秒 默认3600 秒
|
|
9979
9984
|
*/
|
|
9980
9985
|
TimeoutPeriod?: number
|
|
9986
|
+
|
|
9987
|
+
/**
|
|
9988
|
+
* 1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)
|
|
9989
|
+
*/
|
|
9990
|
+
EngineType?: number
|
|
9981
9991
|
}
|
|
9982
9992
|
|
|
9983
9993
|
/**
|
|
@@ -10050,6 +10060,11 @@ export interface DescribeMalwareTimingScanSettingResponse {
|
|
|
10050
10060
|
*/
|
|
10051
10061
|
KillProcess: number
|
|
10052
10062
|
|
|
10063
|
+
/**
|
|
10064
|
+
* 1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)
|
|
10065
|
+
*/
|
|
10066
|
+
EngineType: number
|
|
10067
|
+
|
|
10053
10068
|
/**
|
|
10054
10069
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10055
10070
|
*/
|
|
@@ -12117,6 +12132,11 @@ export interface ModifyMalwareTimingScanSettingsRequest {
|
|
|
12117
12132
|
* 是否杀掉进程 1杀掉 0不杀掉
|
|
12118
12133
|
*/
|
|
12119
12134
|
KillProcess?: number
|
|
12135
|
+
|
|
12136
|
+
/**
|
|
12137
|
+
* 1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)
|
|
12138
|
+
*/
|
|
12139
|
+
EngineType?: number
|
|
12120
12140
|
}
|
|
12121
12141
|
|
|
12122
12142
|
/**
|
|
@@ -12326,6 +12346,12 @@ export interface MalwareInfo {
|
|
|
12326
12346
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12327
12347
|
*/
|
|
12328
12348
|
Status: number
|
|
12349
|
+
|
|
12350
|
+
/**
|
|
12351
|
+
* 风险等级 0提示、1低、2中、3高、4严重
|
|
12352
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12353
|
+
*/
|
|
12354
|
+
Level: number
|
|
12329
12355
|
}
|
|
12330
12356
|
|
|
12331
12357
|
/**
|