tencentcloud-sdk-nodejs 4.1.16 → 4.1.18
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/es/common/sdk_version.js +1 -1
- package/es/services/bh/v20230418/bh_client.js +20 -8
- package/es/services/bma/index.js +2 -2
- package/es/services/ccc/v20200210/ccc_client.js +9 -0
- package/es/services/chdfs/index.js +2 -2
- package/es/services/ckafka/v20190819/ckafka_client.js +165 -159
- package/es/services/dbbrain/index.js +2 -2
- package/es/services/es/index.js +2 -2
- package/es/services/essbasic/index.js +2 -2
- package/es/services/facefusion/index.js +2 -2
- package/es/services/gs/v20191118/gs_client.js +24 -6
- package/es/services/hunyuan/v20230901/hunyuan_client.js +37 -31
- package/es/services/iotvideo/index.js +2 -2
- package/es/services/monitor/v20180724/monitor_client.js +3 -0
- package/es/services/sms/index.js +2 -2
- package/es/services/thpc/index.js +2 -2
- package/es/services/tke/index.js +2 -2
- package/es/services/tsw/index.js +2 -2
- package/es/services/vm/index.js +2 -2
- package/es/services/vod/index.js +2 -2
- package/es/services/vpc/v20170312/vpc_client.js +3 -0
- package/es/services/wedata/v20210820/wedata_client.js +13 -4
- package/es/services/yunsou/index.js +2 -2
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +7 -22
- package/tencentcloud/services/bh/v20230418/bh_client.d.ts +25 -9
- package/tencentcloud/services/bh/v20230418/bh_client.js +36 -12
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +294 -81
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +13 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +18 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +252 -105
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +0 -4
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +175 -167
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +261 -249
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +205 -107
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +10 -8
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +10 -8
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +87 -86
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +16 -0
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/es/index.d.ts +4 -4
- package/tencentcloud/services/es/index.js +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +5 -4
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +4 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +4 -4
- package/tencentcloud/services/facefusion/index.d.ts +4 -4
- package/tencentcloud/services/facefusion/index.js +2 -2
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +31 -7
- package/tencentcloud/services/gs/v20191118/gs_client.js +45 -9
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +225 -44
- package/tencentcloud/services/gwlb/v20240906/gwlb_client.d.ts +5 -7
- package/tencentcloud/services/gwlb/v20240906/gwlb_client.js +5 -7
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +31 -28
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +61 -53
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +87 -75
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +90 -0
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -7
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +69 -5
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +3 -3
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +3 -3
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +21 -8
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +105 -95
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +8 -0
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +1 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +14 -1
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +13 -0
- package/tencentcloud/services/tke/index.d.ts +4 -4
- package/tencentcloud/services/tke/index.js +2 -2
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +4 -0
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +4 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -5
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +0 -1
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +1 -1
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vod/index.d.ts +4 -4
- package/tencentcloud/services/vod/index.js +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +7 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +8 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +112 -42
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +18 -6
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +25 -7
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +931 -94
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
|
@@ -27,18 +27,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("ckafka.tencentcloudapi.com", "2019-08-19", clientConfig);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* 续费Ckafka实例, 目前只支持国内站包年包月实例续费
|
|
32
|
-
*/
|
|
33
|
-
async RenewCkafkaInstance(req, cb) {
|
|
34
|
-
return this.request("RenewCkafkaInstance", req, cb);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* 查看路由信息
|
|
38
|
-
*/
|
|
39
|
-
async DescribeRoute(req, cb) {
|
|
40
|
-
return this.request("DescribeRoute", req, cb);
|
|
41
|
-
}
|
|
42
30
|
/**
|
|
43
31
|
* 获取消费分组信息
|
|
44
32
|
*/
|
|
@@ -46,154 +34,154 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
46
34
|
return this.request("DescribeGroupInfo", req, cb);
|
|
47
35
|
}
|
|
48
36
|
/**
|
|
49
|
-
*
|
|
37
|
+
* 本接口用于获取实例对应后端CVM信息,包括cvmId和ip等。用于专业版,标准版返回数据为空
|
|
50
38
|
*/
|
|
51
|
-
async
|
|
52
|
-
return this.request("
|
|
39
|
+
async DescribeCvmInfo(req, cb) {
|
|
40
|
+
return this.request("DescribeCvmInfo", req, cb);
|
|
53
41
|
}
|
|
54
42
|
/**
|
|
55
|
-
*
|
|
43
|
+
* 由于出参需要更新,当前接口将会在未来版本中废弃,建议用户迁移使用 CreatePostPaidInstance 接口。创建按量计费实例。通常用于 SDK 或云 API 控制台调用接口,创建后付费 CKafka 实例。调用接口与在 CKafka 控制台购买按量付费实例效果相同。
|
|
56
44
|
*/
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
45
|
+
async CreateInstancePost(req, cb) {
|
|
46
|
+
return this.request("CreateInstancePost", req, cb);
|
|
59
47
|
}
|
|
60
48
|
/**
|
|
61
|
-
*
|
|
49
|
+
* 预付费实例变配接口,调整磁盘,带宽
|
|
62
50
|
*/
|
|
63
|
-
async
|
|
64
|
-
return this.request("
|
|
51
|
+
async ModifyInstancePre(req, cb) {
|
|
52
|
+
return this.request("ModifyInstancePre", req, cb);
|
|
65
53
|
}
|
|
66
54
|
/**
|
|
67
|
-
*
|
|
55
|
+
* 通过HTTP接入层发送消息
|
|
68
56
|
*/
|
|
69
|
-
async
|
|
70
|
-
return this.request("
|
|
57
|
+
async SendMessage(req, cb) {
|
|
58
|
+
return this.request("SendMessage", req, cb);
|
|
71
59
|
}
|
|
72
60
|
/**
|
|
73
|
-
*
|
|
61
|
+
* 删除Datahub连接源
|
|
74
62
|
*/
|
|
75
|
-
async
|
|
76
|
-
return this.request("
|
|
63
|
+
async DeleteConnectResource(req, cb) {
|
|
64
|
+
return this.request("DeleteConnectResource", req, cb);
|
|
77
65
|
}
|
|
78
66
|
/**
|
|
79
|
-
*
|
|
67
|
+
* 查询用户信息
|
|
80
68
|
*/
|
|
81
|
-
async
|
|
82
|
-
return this.request("
|
|
69
|
+
async DescribeUser(req, cb) {
|
|
70
|
+
return this.request("DescribeUser", req, cb);
|
|
83
71
|
}
|
|
84
72
|
/**
|
|
85
|
-
*
|
|
73
|
+
* 获取Datahub消费分组offset
|
|
86
74
|
*/
|
|
87
|
-
async
|
|
88
|
-
return this.request("
|
|
75
|
+
async DescribeDatahubGroupOffsets(req, cb) {
|
|
76
|
+
return this.request("DescribeDatahubGroupOffsets", req, cb);
|
|
89
77
|
}
|
|
90
78
|
/**
|
|
91
|
-
*
|
|
79
|
+
* 查询消费分组信息
|
|
92
80
|
*/
|
|
93
|
-
async
|
|
94
|
-
return this.request("
|
|
81
|
+
async DescribeConsumerGroup(req, cb) {
|
|
82
|
+
return this.request("DescribeConsumerGroup", req, cb);
|
|
95
83
|
}
|
|
96
84
|
/**
|
|
97
|
-
*
|
|
85
|
+
* 创建ckafka主题
|
|
98
86
|
*/
|
|
99
|
-
async
|
|
100
|
-
return this.request("
|
|
87
|
+
async CreateTopic(req, cb) {
|
|
88
|
+
return this.request("CreateTopic", req, cb);
|
|
101
89
|
}
|
|
102
90
|
/**
|
|
103
|
-
*
|
|
91
|
+
* 查询Datahub任务信息
|
|
104
92
|
*/
|
|
105
|
-
async
|
|
106
|
-
return this.request("
|
|
93
|
+
async DescribeDatahubTask(req, cb) {
|
|
94
|
+
return this.request("DescribeDatahubTask", req, cb);
|
|
107
95
|
}
|
|
108
96
|
/**
|
|
109
|
-
*
|
|
97
|
+
* 用于查询cdc-ckafka任务状态
|
|
110
98
|
*/
|
|
111
|
-
async
|
|
112
|
-
return this.request("
|
|
99
|
+
async CheckCdcCluster(req, cb) {
|
|
100
|
+
return this.request("CheckCdcCluster", req, cb);
|
|
113
101
|
}
|
|
114
102
|
/**
|
|
115
|
-
*
|
|
103
|
+
* 获取Topic流量排行,消费者流量排行
|
|
116
104
|
*/
|
|
117
|
-
async
|
|
118
|
-
return this.request("
|
|
105
|
+
async DescribeTopicFlowRanking(req, cb) {
|
|
106
|
+
return this.request("DescribeTopicFlowRanking", req, cb);
|
|
119
107
|
}
|
|
120
108
|
/**
|
|
121
|
-
*
|
|
109
|
+
* 本接口用于增加主题中的分区
|
|
122
110
|
*/
|
|
123
|
-
async
|
|
124
|
-
return this.request("
|
|
111
|
+
async CreatePartition(req, cb) {
|
|
112
|
+
return this.request("CreatePartition", req, cb);
|
|
125
113
|
}
|
|
126
114
|
/**
|
|
127
|
-
*
|
|
115
|
+
* 查询最新消息列表
|
|
128
116
|
*/
|
|
129
|
-
async
|
|
130
|
-
return this.request("
|
|
117
|
+
async FetchLatestDatahubMessageList(req, cb) {
|
|
118
|
+
return this.request("FetchLatestDatahubMessageList", req, cb);
|
|
131
119
|
}
|
|
132
120
|
/**
|
|
133
|
-
*
|
|
121
|
+
* 创建最高权限的token
|
|
134
122
|
*/
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
123
|
+
async CreateToken(req, cb) {
|
|
124
|
+
return this.request("CreateToken", req, cb);
|
|
137
125
|
}
|
|
138
126
|
/**
|
|
139
|
-
*
|
|
127
|
+
* 删除预付费实例,该接口会对实例执行隔离并删除的动作,执行成功后实例会被直接删除销毁
|
|
140
128
|
*/
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
129
|
+
async DeleteInstancePre(req, cb) {
|
|
130
|
+
return this.request("DeleteInstancePre", req, cb);
|
|
143
131
|
}
|
|
144
132
|
/**
|
|
145
|
-
*
|
|
133
|
+
* 用户账户下获取实例列表详情
|
|
146
134
|
*/
|
|
147
|
-
async
|
|
148
|
-
return this.request("
|
|
135
|
+
async DescribeInstancesDetail(req, cb) {
|
|
136
|
+
return this.request("DescribeInstancesDetail", req, cb);
|
|
149
137
|
}
|
|
150
138
|
/**
|
|
151
|
-
*
|
|
139
|
+
* 按量实例缩容
|
|
152
140
|
*/
|
|
153
|
-
async
|
|
154
|
-
return this.request("
|
|
141
|
+
async InstanceScalingDown(req, cb) {
|
|
142
|
+
return this.request("InstanceScalingDown", req, cb);
|
|
155
143
|
}
|
|
156
144
|
/**
|
|
157
|
-
*
|
|
145
|
+
* 获取主题属性
|
|
158
146
|
*/
|
|
159
|
-
async
|
|
160
|
-
return this.request("
|
|
147
|
+
async DescribeTopicAttributes(req, cb) {
|
|
148
|
+
return this.request("DescribeTopicAttributes", req, cb);
|
|
161
149
|
}
|
|
162
150
|
/**
|
|
163
|
-
*
|
|
151
|
+
* 根据时间戳查询消息列表
|
|
164
152
|
*/
|
|
165
|
-
async
|
|
166
|
-
return this.request("
|
|
153
|
+
async FetchMessageListByTimestamp(req, cb) {
|
|
154
|
+
return this.request("FetchMessageListByTimestamp", req, cb);
|
|
167
155
|
}
|
|
168
156
|
/**
|
|
169
|
-
*
|
|
157
|
+
* 添加 ACL 规则
|
|
170
158
|
*/
|
|
171
|
-
async
|
|
172
|
-
return this.request("
|
|
159
|
+
async CreateAclRule(req, cb) {
|
|
160
|
+
return this.request("CreateAclRule", req, cb);
|
|
173
161
|
}
|
|
174
162
|
/**
|
|
175
|
-
*
|
|
163
|
+
* 添加用户
|
|
176
164
|
*/
|
|
177
|
-
async
|
|
178
|
-
return this.request("
|
|
165
|
+
async CreateUser(req, cb) {
|
|
166
|
+
return this.request("CreateUser", req, cb);
|
|
179
167
|
}
|
|
180
168
|
/**
|
|
181
|
-
*
|
|
169
|
+
* 修改密码
|
|
182
170
|
*/
|
|
183
|
-
async
|
|
184
|
-
return this.request("
|
|
171
|
+
async ModifyPassword(req, cb) {
|
|
172
|
+
return this.request("ModifyPassword", req, cb);
|
|
185
173
|
}
|
|
186
174
|
/**
|
|
187
|
-
*
|
|
175
|
+
* 续费Ckafka实例, 目前只支持国内站包年包月实例续费
|
|
188
176
|
*/
|
|
189
|
-
async
|
|
190
|
-
return this.request("
|
|
177
|
+
async RenewCkafkaInstance(req, cb) {
|
|
178
|
+
return this.request("RenewCkafkaInstance", req, cb);
|
|
191
179
|
}
|
|
192
180
|
/**
|
|
193
|
-
*
|
|
181
|
+
* 查询ACL规则列表
|
|
194
182
|
*/
|
|
195
|
-
async
|
|
196
|
-
return this.request("
|
|
183
|
+
async DescribeAclRule(req, cb) {
|
|
184
|
+
return this.request("DescribeAclRule", req, cb);
|
|
197
185
|
}
|
|
198
186
|
/**
|
|
199
187
|
* 获取实例Prometheus信息
|
|
@@ -202,28 +190,28 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
202
190
|
return this.request("DescribePrometheus", req, cb);
|
|
203
191
|
}
|
|
204
192
|
/**
|
|
205
|
-
*
|
|
193
|
+
* 查询Datahub任务列表
|
|
206
194
|
*/
|
|
207
|
-
async
|
|
208
|
-
return this.request("
|
|
195
|
+
async DescribeDatahubTasks(req, cb) {
|
|
196
|
+
return this.request("DescribeDatahubTasks", req, cb);
|
|
209
197
|
}
|
|
210
198
|
/**
|
|
211
|
-
*
|
|
199
|
+
* 修改DIP主题属性
|
|
212
200
|
*/
|
|
213
|
-
async
|
|
214
|
-
return this.request("
|
|
201
|
+
async ModifyDatahubTopic(req, cb) {
|
|
202
|
+
return this.request("ModifyDatahubTopic", req, cb);
|
|
215
203
|
}
|
|
216
204
|
/**
|
|
217
|
-
*
|
|
205
|
+
* 根据位点查询消息列表
|
|
218
206
|
*/
|
|
219
|
-
async
|
|
220
|
-
return this.request("
|
|
207
|
+
async FetchMessageListByOffset(req, cb) {
|
|
208
|
+
return this.request("FetchMessageListByOffset", req, cb);
|
|
221
209
|
}
|
|
222
210
|
/**
|
|
223
|
-
*
|
|
211
|
+
* 创建DIP主题
|
|
224
212
|
*/
|
|
225
|
-
async
|
|
226
|
-
return this.request("
|
|
213
|
+
async CreateDatahubTopic(req, cb) {
|
|
214
|
+
return this.request("CreateDatahubTopic", req, cb);
|
|
227
215
|
}
|
|
228
216
|
/**
|
|
229
217
|
* 取消授权token
|
|
@@ -232,136 +220,148 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
232
220
|
return this.request("CancelAuthorizationToken", req, cb);
|
|
233
221
|
}
|
|
234
222
|
/**
|
|
235
|
-
*
|
|
223
|
+
* 删除DIP主题
|
|
236
224
|
*/
|
|
237
|
-
async
|
|
238
|
-
return this.request("
|
|
225
|
+
async DeleteDatahubTopic(req, cb) {
|
|
226
|
+
return this.request("DeleteDatahubTopic", req, cb);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* 创建Datahub连接源
|
|
230
|
+
*/
|
|
231
|
+
async CreateConnectResource(req, cb) {
|
|
232
|
+
return this.request("CreateConnectResource", req, cb);
|
|
239
233
|
}
|
|
240
234
|
/**
|
|
241
235
|
* 根据指定offset位置的消息
|
|
242
236
|
*/
|
|
243
|
-
async
|
|
244
|
-
return this.request("
|
|
237
|
+
async FetchDatahubMessageByOffset(req, cb) {
|
|
238
|
+
return this.request("FetchDatahubMessageByOffset", req, cb);
|
|
245
239
|
}
|
|
246
240
|
/**
|
|
247
|
-
* 删除
|
|
241
|
+
* 删除ACL
|
|
248
242
|
*/
|
|
249
|
-
async
|
|
250
|
-
return this.request("
|
|
243
|
+
async DeleteAcl(req, cb) {
|
|
244
|
+
return this.request("DeleteAcl", req, cb);
|
|
251
245
|
}
|
|
252
246
|
/**
|
|
253
|
-
*
|
|
247
|
+
* 获取实例属性
|
|
254
248
|
*/
|
|
255
|
-
async
|
|
256
|
-
return this.request("
|
|
249
|
+
async DescribeInstanceAttributes(req, cb) {
|
|
250
|
+
return this.request("DescribeInstanceAttributes", req, cb);
|
|
257
251
|
}
|
|
258
252
|
/**
|
|
259
|
-
*
|
|
253
|
+
* 获取Topic 副本详情信息
|
|
260
254
|
*/
|
|
261
|
-
async
|
|
262
|
-
return this.request("
|
|
255
|
+
async DescribeTopicSyncReplica(req, cb) {
|
|
256
|
+
return this.request("DescribeTopicSyncReplica", req, cb);
|
|
263
257
|
}
|
|
264
258
|
/**
|
|
265
|
-
*
|
|
259
|
+
* 给实例授权token
|
|
266
260
|
*/
|
|
267
|
-
async
|
|
268
|
-
return this.request("
|
|
261
|
+
async AuthorizeToken(req, cb) {
|
|
262
|
+
return this.request("AuthorizeToken", req, cb);
|
|
269
263
|
}
|
|
270
264
|
/**
|
|
271
|
-
*
|
|
265
|
+
* 获取DIP主题属性
|
|
272
266
|
*/
|
|
273
|
-
async
|
|
274
|
-
return this.request("
|
|
267
|
+
async DescribeDatahubTopic(req, cb) {
|
|
268
|
+
return this.request("DescribeDatahubTopic", req, cb);
|
|
275
269
|
}
|
|
276
270
|
/**
|
|
277
|
-
*
|
|
271
|
+
* 用于查看ckafka的可用区列表
|
|
278
272
|
*/
|
|
279
|
-
async
|
|
280
|
-
return this.request("
|
|
273
|
+
async DescribeCkafkaZone(req, cb) {
|
|
274
|
+
return this.request("DescribeCkafkaZone", req, cb);
|
|
281
275
|
}
|
|
282
276
|
/**
|
|
283
|
-
*
|
|
277
|
+
* 查看路由信息
|
|
284
278
|
*/
|
|
285
|
-
async
|
|
286
|
-
return this.request("
|
|
279
|
+
async DescribeRoute(req, cb) {
|
|
280
|
+
return this.request("DescribeRoute", req, cb);
|
|
287
281
|
}
|
|
288
282
|
/**
|
|
289
|
-
*
|
|
283
|
+
* 修改Datahub任务
|
|
290
284
|
*/
|
|
291
|
-
async
|
|
292
|
-
return this.request("
|
|
285
|
+
async ModifyDatahubTask(req, cb) {
|
|
286
|
+
return this.request("ModifyDatahubTask", req, cb);
|
|
293
287
|
}
|
|
294
288
|
/**
|
|
295
|
-
*
|
|
289
|
+
* 查询Datahub连接源
|
|
296
290
|
*/
|
|
297
|
-
async
|
|
298
|
-
return this.request("
|
|
291
|
+
async DescribeConnectResource(req, cb) {
|
|
292
|
+
return this.request("DescribeConnectResource", req, cb);
|
|
299
293
|
}
|
|
300
294
|
/**
|
|
301
|
-
*
|
|
295
|
+
* 批量设置主题属性
|
|
302
296
|
*/
|
|
303
|
-
async
|
|
304
|
-
return this.request("
|
|
297
|
+
async BatchModifyTopicAttributes(req, cb) {
|
|
298
|
+
return this.request("BatchModifyTopicAttributes", req, cb);
|
|
305
299
|
}
|
|
306
300
|
/**
|
|
307
|
-
*
|
|
301
|
+
* 删除路由
|
|
308
302
|
*/
|
|
309
|
-
async
|
|
310
|
-
return this.request("
|
|
303
|
+
async DeleteRoute(req, cb) {
|
|
304
|
+
return this.request("DeleteRoute", req, cb);
|
|
311
305
|
}
|
|
312
306
|
/**
|
|
313
|
-
*
|
|
307
|
+
* 本接口用于修改主题属性。
|
|
314
308
|
*/
|
|
315
|
-
async
|
|
316
|
-
return this.request("
|
|
309
|
+
async ModifyTopicAttributes(req, cb) {
|
|
310
|
+
return this.request("ModifyTopicAttributes", req, cb);
|
|
317
311
|
}
|
|
318
312
|
/**
|
|
319
|
-
*
|
|
313
|
+
* 创建主题ip白名单
|
|
320
314
|
*/
|
|
321
|
-
async
|
|
322
|
-
return this.request("
|
|
315
|
+
async CreateTopicIpWhiteList(req, cb) {
|
|
316
|
+
return this.request("CreateTopicIpWhiteList", req, cb);
|
|
323
317
|
}
|
|
324
318
|
/**
|
|
325
|
-
*
|
|
319
|
+
* 设置Groups 消费分组offset
|
|
326
320
|
*/
|
|
327
|
-
async
|
|
328
|
-
return this.request("
|
|
321
|
+
async ModifyGroupOffsets(req, cb) {
|
|
322
|
+
return this.request("ModifyGroupOffsets", req, cb);
|
|
329
323
|
}
|
|
330
324
|
/**
|
|
331
|
-
*
|
|
325
|
+
* 设置实例属性
|
|
332
326
|
*/
|
|
333
|
-
async
|
|
334
|
-
return this.request("
|
|
327
|
+
async ModifyInstanceAttributes(req, cb) {
|
|
328
|
+
return this.request("ModifyInstanceAttributes", req, cb);
|
|
335
329
|
}
|
|
336
330
|
/**
|
|
337
|
-
*
|
|
331
|
+
* 删除消费组
|
|
338
332
|
*/
|
|
339
|
-
async
|
|
340
|
-
return this.request("
|
|
333
|
+
async DeleteGroup(req, cb) {
|
|
334
|
+
return this.request("DeleteGroup", req, cb);
|
|
341
335
|
}
|
|
342
336
|
/**
|
|
343
|
-
*
|
|
337
|
+
* 删除后付费实例
|
|
344
338
|
*/
|
|
345
|
-
async
|
|
346
|
-
return this.request("
|
|
339
|
+
async DeleteInstancePost(req, cb) {
|
|
340
|
+
return this.request("DeleteInstancePost", req, cb);
|
|
347
341
|
}
|
|
348
342
|
/**
|
|
349
|
-
*
|
|
343
|
+
* 枚举ACL
|
|
350
344
|
*/
|
|
351
|
-
async
|
|
352
|
-
return this.request("
|
|
345
|
+
async DescribeACL(req, cb) {
|
|
346
|
+
return this.request("DescribeACL", req, cb);
|
|
353
347
|
}
|
|
354
348
|
/**
|
|
355
|
-
*
|
|
349
|
+
* 创建实例(预付费包年包月), 仅支持创建专业版实例
|
|
356
350
|
*/
|
|
357
|
-
async
|
|
358
|
-
return this.request("
|
|
351
|
+
async CreateInstancePre(req, cb) {
|
|
352
|
+
return this.request("CreateInstancePre", req, cb);
|
|
359
353
|
}
|
|
360
354
|
/**
|
|
361
|
-
*
|
|
355
|
+
* 删除主题IP白名单
|
|
362
356
|
*/
|
|
363
|
-
async
|
|
364
|
-
return this.request("
|
|
357
|
+
async DeleteTopicIpWhiteList(req, cb) {
|
|
358
|
+
return this.request("DeleteTopicIpWhiteList", req, cb);
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* 查询任务状态
|
|
362
|
+
*/
|
|
363
|
+
async DescribeTaskStatus(req, cb) {
|
|
364
|
+
return this.request("DescribeTaskStatus", req, cb);
|
|
365
365
|
}
|
|
366
366
|
/**
|
|
367
367
|
* 查询用户列表
|
|
@@ -370,173 +370,185 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
370
370
|
return this.request("DescribeAppInfo", req, cb);
|
|
371
371
|
}
|
|
372
372
|
/**
|
|
373
|
-
*
|
|
373
|
+
* 批量添加ACL策略
|
|
374
374
|
*/
|
|
375
|
-
async
|
|
376
|
-
return this.request("
|
|
375
|
+
async BatchCreateAcl(req, cb) {
|
|
376
|
+
return this.request("BatchCreateAcl", req, cb);
|
|
377
377
|
}
|
|
378
378
|
/**
|
|
379
|
-
*
|
|
379
|
+
* 创建DIP转储任务
|
|
380
380
|
*/
|
|
381
|
-
async
|
|
382
|
-
return this.request("
|
|
381
|
+
async CreateDatahubTask(req, cb) {
|
|
382
|
+
return this.request("CreateDatahubTask", req, cb);
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
|
-
*
|
|
385
|
+
* 删除ACL规则
|
|
386
386
|
*/
|
|
387
|
-
async
|
|
388
|
-
return this.request("
|
|
387
|
+
async DeleteAclRule(req, cb) {
|
|
388
|
+
return this.request("DeleteAclRule", req, cb);
|
|
389
389
|
}
|
|
390
390
|
/**
|
|
391
|
-
*
|
|
391
|
+
* 修改ACL策略,目前只支持预设规则的是否应用到新增topic这一项的修改
|
|
392
392
|
*/
|
|
393
|
-
async
|
|
394
|
-
return this.request("
|
|
393
|
+
async ModifyAclRule(req, cb) {
|
|
394
|
+
return this.request("ModifyAclRule", req, cb);
|
|
395
395
|
}
|
|
396
396
|
/**
|
|
397
|
-
*
|
|
397
|
+
* 删除用户
|
|
398
398
|
*/
|
|
399
|
-
async
|
|
400
|
-
return this.request("
|
|
399
|
+
async DeleteUser(req, cb) {
|
|
400
|
+
return this.request("DeleteUser", req, cb);
|
|
401
401
|
}
|
|
402
402
|
/**
|
|
403
|
-
*
|
|
403
|
+
* 查询topic 生产端连接信息
|
|
404
404
|
*/
|
|
405
|
-
async
|
|
406
|
-
return this.request("
|
|
405
|
+
async DescribeTopicProduceConnection(req, cb) {
|
|
406
|
+
return this.request("DescribeTopicProduceConnection", req, cb);
|
|
407
407
|
}
|
|
408
408
|
/**
|
|
409
|
-
*
|
|
409
|
+
* 接口请求域名:https://ckafka.tencentcloudapi.com
|
|
410
|
+
本接口(DescribeTopic)用于在用户获取消息队列 CKafka 实例的主题列表
|
|
410
411
|
*/
|
|
411
|
-
async
|
|
412
|
-
return this.request("
|
|
412
|
+
async DescribeTopic(req, cb) {
|
|
413
|
+
return this.request("DescribeTopic", req, cb);
|
|
413
414
|
}
|
|
414
415
|
/**
|
|
415
|
-
*
|
|
416
|
+
* 查询Datahub连接源列表
|
|
416
417
|
*/
|
|
417
|
-
async
|
|
418
|
-
return this.request("
|
|
418
|
+
async DescribeConnectResources(req, cb) {
|
|
419
|
+
return this.request("DescribeConnectResources", req, cb);
|
|
419
420
|
}
|
|
420
421
|
/**
|
|
421
|
-
*
|
|
422
|
+
* 创建消费者组
|
|
422
423
|
*/
|
|
423
|
-
async
|
|
424
|
-
return this.request("
|
|
424
|
+
async CreateConsumer(req, cb) {
|
|
425
|
+
return this.request("CreateConsumer", req, cb);
|
|
425
426
|
}
|
|
426
427
|
/**
|
|
427
|
-
*
|
|
428
|
+
* 本接口(DescribeTypeInstances)用于在用户账户下获取指定类型消息队列 CKafka 实例列表
|
|
428
429
|
*/
|
|
429
|
-
async
|
|
430
|
-
return this.request("
|
|
430
|
+
async DescribeTypeInstances(req, cb) {
|
|
431
|
+
return this.request("DescribeTypeInstances", req, cb);
|
|
431
432
|
}
|
|
432
433
|
/**
|
|
433
|
-
*
|
|
434
|
+
* 查询DIP主题列表
|
|
434
435
|
*/
|
|
435
|
-
async
|
|
436
|
-
return this.request("
|
|
436
|
+
async DescribeDatahubTopics(req, cb) {
|
|
437
|
+
return this.request("DescribeDatahubTopics", req, cb);
|
|
437
438
|
}
|
|
438
439
|
/**
|
|
439
|
-
*
|
|
440
|
+
* 删除Dip任务
|
|
440
441
|
*/
|
|
441
|
-
async
|
|
442
|
-
return this.request("
|
|
442
|
+
async DeleteDatahubTask(req, cb) {
|
|
443
|
+
return this.request("DeleteDatahubTask", req, cb);
|
|
443
444
|
}
|
|
444
445
|
/**
|
|
445
|
-
*
|
|
446
|
+
* 枚举消费分组(精简版)
|
|
446
447
|
*/
|
|
447
|
-
async
|
|
448
|
-
return this.request("
|
|
448
|
+
async DescribeGroup(req, cb) {
|
|
449
|
+
return this.request("DescribeGroup", req, cb);
|
|
449
450
|
}
|
|
450
451
|
/**
|
|
451
|
-
*
|
|
452
|
+
* 本接口(DescribeInstance)用于在用户账户下获取消息队列 CKafka 实例列表
|
|
452
453
|
*/
|
|
453
|
-
async
|
|
454
|
-
return this.request("
|
|
454
|
+
async DescribeInstances(req, cb) {
|
|
455
|
+
return this.request("DescribeInstances", req, cb);
|
|
455
456
|
}
|
|
456
457
|
/**
|
|
457
|
-
*
|
|
458
|
+
* 添加实例路由
|
|
458
459
|
*/
|
|
459
|
-
async
|
|
460
|
-
return this.request("
|
|
460
|
+
async CreateRoute(req, cb) {
|
|
461
|
+
return this.request("CreateRoute", req, cb);
|
|
461
462
|
}
|
|
462
463
|
/**
|
|
463
|
-
*
|
|
464
|
+
* 获取主题列表详情(仅控制台调用)
|
|
464
465
|
*/
|
|
465
|
-
async
|
|
466
|
-
return this.request("
|
|
466
|
+
async DescribeTopicDetail(req, cb) {
|
|
467
|
+
return this.request("DescribeTopicDetail", req, cb);
|
|
467
468
|
}
|
|
468
469
|
/**
|
|
469
|
-
*
|
|
470
|
+
* 根据指定offset位置的消息
|
|
470
471
|
*/
|
|
471
|
-
async
|
|
472
|
-
return this.request("
|
|
472
|
+
async FetchMessageByOffset(req, cb) {
|
|
473
|
+
return this.request("FetchMessageByOffset", req, cb);
|
|
473
474
|
}
|
|
474
475
|
/**
|
|
475
|
-
*
|
|
476
|
-
本接口(DescribeTopic)用于在用户获取消息队列 CKafka 实例的主题列表
|
|
476
|
+
* 编辑Datahub连接源
|
|
477
477
|
*/
|
|
478
|
-
async
|
|
479
|
-
return this.request("
|
|
478
|
+
async ModifyConnectResource(req, cb) {
|
|
479
|
+
return this.request("ModifyConnectResource", req, cb);
|
|
480
480
|
}
|
|
481
481
|
/**
|
|
482
|
-
* 添加 ACL
|
|
482
|
+
* 添加 ACL 策略
|
|
483
483
|
*/
|
|
484
|
-
async
|
|
485
|
-
return this.request("
|
|
484
|
+
async CreateAcl(req, cb) {
|
|
485
|
+
return this.request("CreateAcl", req, cb);
|
|
486
486
|
}
|
|
487
487
|
/**
|
|
488
|
-
*
|
|
488
|
+
* 查询订阅某主题消息分组信息
|
|
489
489
|
*/
|
|
490
|
-
async
|
|
491
|
-
return this.request("
|
|
490
|
+
async DescribeTopicSubscribeGroup(req, cb) {
|
|
491
|
+
return this.request("DescribeTopicSubscribeGroup", req, cb);
|
|
492
492
|
}
|
|
493
493
|
/**
|
|
494
|
-
*
|
|
494
|
+
* 设置自动化运维属性
|
|
495
495
|
*/
|
|
496
|
-
async
|
|
497
|
-
return this.request("
|
|
496
|
+
async ModifyRoutineMaintenanceTask(req, cb) {
|
|
497
|
+
return this.request("ModifyRoutineMaintenanceTask", req, cb);
|
|
498
498
|
}
|
|
499
499
|
/**
|
|
500
|
-
*
|
|
500
|
+
* 当前接口用来替代 CreateInstancePost 接口。创建按量计费实例。通常用于 SDK 或云 API 控制台调用接口,创建后付费 CKafka 实例。调用接口与在 CKafka 控制台购买按量付费实例效果相同。
|
|
501
501
|
*/
|
|
502
|
-
async
|
|
503
|
-
return this.request("
|
|
502
|
+
async CreatePostPaidInstance(req, cb) {
|
|
503
|
+
return this.request("CreatePostPaidInstance", req, cb);
|
|
504
504
|
}
|
|
505
505
|
/**
|
|
506
|
-
*
|
|
506
|
+
* 添加普罗米修斯监控1
|
|
507
507
|
*/
|
|
508
|
-
async
|
|
509
|
-
return this.request("
|
|
508
|
+
async CreatePrometheus(req, cb) {
|
|
509
|
+
return this.request("CreatePrometheus", req, cb);
|
|
510
510
|
}
|
|
511
511
|
/**
|
|
512
|
-
*
|
|
512
|
+
* 修改删除路由延迟触发时间
|
|
513
513
|
*/
|
|
514
|
-
async
|
|
515
|
-
return this.request("
|
|
514
|
+
async DeleteRouteTriggerTime(req, cb) {
|
|
515
|
+
return this.request("DeleteRouteTriggerTime", req, cb);
|
|
516
516
|
}
|
|
517
517
|
/**
|
|
518
|
-
*
|
|
518
|
+
* 批量修改消费组offset
|
|
519
519
|
*/
|
|
520
|
-
async
|
|
521
|
-
return this.request("
|
|
520
|
+
async BatchModifyGroupOffsets(req, cb) {
|
|
521
|
+
return this.request("BatchModifyGroupOffsets", req, cb);
|
|
522
522
|
}
|
|
523
523
|
/**
|
|
524
|
-
*
|
|
524
|
+
* 获取消费分组offset
|
|
525
525
|
*/
|
|
526
|
-
async
|
|
527
|
-
return this.request("
|
|
526
|
+
async DescribeGroupOffsets(req, cb) {
|
|
527
|
+
return this.request("DescribeGroupOffsets", req, cb);
|
|
528
528
|
}
|
|
529
529
|
/**
|
|
530
|
-
*
|
|
530
|
+
* 枚举地域,只支持广州地域
|
|
531
531
|
*/
|
|
532
|
-
async
|
|
533
|
-
return this.request("
|
|
532
|
+
async DescribeRegion(req, cb) {
|
|
533
|
+
return this.request("DescribeRegion", req, cb);
|
|
534
534
|
}
|
|
535
535
|
/**
|
|
536
|
-
*
|
|
536
|
+
* 用于cdc的专用ckafka集群
|
|
537
537
|
*/
|
|
538
|
-
async
|
|
539
|
-
return this.request("
|
|
538
|
+
async CreateCdcCluster(req, cb) {
|
|
539
|
+
return this.request("CreateCdcCluster", req, cb);
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* 删除ckafka主题
|
|
543
|
+
*/
|
|
544
|
+
async DeleteTopic(req, cb) {
|
|
545
|
+
return this.request("DeleteTopic", req, cb);
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* Ckafka实例购买/续费询价
|
|
549
|
+
*/
|
|
550
|
+
async InquireCkafkaPrice(req, cb) {
|
|
551
|
+
return this.request("InquireCkafkaPrice", req, cb);
|
|
540
552
|
}
|
|
541
553
|
}
|
|
542
554
|
exports.Client = Client;
|