tencentcloud-sdk-nodejs-cdwdoris 4.0.756
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/LICENSE +201 -0
- package/README.md +140 -0
- package/index.d.ts +2 -0
- package/index.js +6 -0
- package/package.json +47 -0
- package/prettier.config.js +38 -0
- package/products.md +244 -0
- package/src/index.ts +1 -0
- package/src/services/cdwdoris/index.ts +5 -0
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +72 -0
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +498 -0
- package/src/services/cdwdoris/v20211228/index.ts +6 -0
- package/src/services/index.ts +1 -0
- package/tencentcloud/index.d.ts +1 -0
- package/tencentcloud/index.js +4 -0
- package/tencentcloud/services/cdwdoris/index.d.ts +6 -0
- package/tencentcloud/services/cdwdoris/index.js +7 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +21 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +49 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +470 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.js +18 -0
- package/tencentcloud/services/cdwdoris/v20211228/index.d.ts +6 -0
- package/tencentcloud/services/cdwdoris/v20211228/index.js +9 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +4 -0
- package/tsconfig.json +33 -0
- package/typings/index.d.ts +2 -0
|
@@ -0,0 +1,498 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing,
|
|
11
|
+
* software distributed under the License is distributed on an
|
|
12
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
+
* KIND, either express or implied. See the License for the
|
|
14
|
+
* specific language governing permissions and limitations
|
|
15
|
+
* under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* 标签描述
|
|
20
|
+
*/
|
|
21
|
+
export interface Tag {
|
|
22
|
+
/**
|
|
23
|
+
* 标签的键
|
|
24
|
+
*/
|
|
25
|
+
TagKey: string
|
|
26
|
+
/**
|
|
27
|
+
* 标签的值
|
|
28
|
+
*/
|
|
29
|
+
TagValue: string
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 实例节点描述信息
|
|
34
|
+
*/
|
|
35
|
+
export interface InstanceNode {
|
|
36
|
+
/**
|
|
37
|
+
* IP地址
|
|
38
|
+
*/
|
|
39
|
+
Ip?: string
|
|
40
|
+
/**
|
|
41
|
+
* 机型,如 S1
|
|
42
|
+
*/
|
|
43
|
+
Spec?: string
|
|
44
|
+
/**
|
|
45
|
+
* cpu核数
|
|
46
|
+
*/
|
|
47
|
+
Core?: number
|
|
48
|
+
/**
|
|
49
|
+
* 内存大小
|
|
50
|
+
*/
|
|
51
|
+
Memory?: number
|
|
52
|
+
/**
|
|
53
|
+
* 磁盘类型
|
|
54
|
+
*/
|
|
55
|
+
DiskType?: string
|
|
56
|
+
/**
|
|
57
|
+
* 磁盘大小
|
|
58
|
+
*/
|
|
59
|
+
DiskSize?: number
|
|
60
|
+
/**
|
|
61
|
+
* 所属clickhouse cluster名称
|
|
62
|
+
*/
|
|
63
|
+
Role?: string
|
|
64
|
+
/**
|
|
65
|
+
* 状态
|
|
66
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
67
|
+
*/
|
|
68
|
+
Status?: string
|
|
69
|
+
/**
|
|
70
|
+
* rip
|
|
71
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
72
|
+
*/
|
|
73
|
+
Rip?: string
|
|
74
|
+
/**
|
|
75
|
+
* FE节点角色
|
|
76
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
77
|
+
*/
|
|
78
|
+
FeRole?: string
|
|
79
|
+
/**
|
|
80
|
+
* UUID
|
|
81
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
82
|
+
*/
|
|
83
|
+
UUID?: string
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* DescribeInstances请求参数结构体
|
|
88
|
+
*/
|
|
89
|
+
export interface DescribeInstancesRequest {
|
|
90
|
+
/**
|
|
91
|
+
* 搜索的集群id名称
|
|
92
|
+
*/
|
|
93
|
+
SearchInstanceId?: string
|
|
94
|
+
/**
|
|
95
|
+
* 搜索的集群name
|
|
96
|
+
*/
|
|
97
|
+
SearchInstanceName?: string
|
|
98
|
+
/**
|
|
99
|
+
* 分页参数,第一页为0,第二页为10
|
|
100
|
+
*/
|
|
101
|
+
Offset?: number
|
|
102
|
+
/**
|
|
103
|
+
* 分页参数,分页步长,默认为10
|
|
104
|
+
*/
|
|
105
|
+
Limit?: number
|
|
106
|
+
/**
|
|
107
|
+
* 搜索标签列表
|
|
108
|
+
*/
|
|
109
|
+
SearchTags?: Array<SearchTags>
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* DescribeInstanceNodes返回参数结构体
|
|
114
|
+
*/
|
|
115
|
+
export interface DescribeInstanceNodesResponse {
|
|
116
|
+
/**
|
|
117
|
+
* 总数
|
|
118
|
+
*/
|
|
119
|
+
TotalCount: number
|
|
120
|
+
/**
|
|
121
|
+
* 实例节点总数
|
|
122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
123
|
+
*/
|
|
124
|
+
InstanceNodesList: Array<InstanceNode>
|
|
125
|
+
/**
|
|
126
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
127
|
+
*/
|
|
128
|
+
RequestId?: string
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* DescribeInstance请求参数结构体
|
|
133
|
+
*/
|
|
134
|
+
export interface DescribeInstanceRequest {
|
|
135
|
+
/**
|
|
136
|
+
* 集群实例ID
|
|
137
|
+
*/
|
|
138
|
+
InstanceId: string
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* 列表页搜索的标记列表
|
|
143
|
+
*/
|
|
144
|
+
export interface SearchTags {
|
|
145
|
+
/**
|
|
146
|
+
* 标签的键
|
|
147
|
+
*/
|
|
148
|
+
TagKey?: string
|
|
149
|
+
/**
|
|
150
|
+
* 标签的值
|
|
151
|
+
*/
|
|
152
|
+
TagValue?: string
|
|
153
|
+
/**
|
|
154
|
+
* 1表示只输入标签的键,没有输入值;0表示输入键时且输入值
|
|
155
|
+
*/
|
|
156
|
+
AllValue?: number
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* 集群内节点的规格磁盘规格描述
|
|
161
|
+
*/
|
|
162
|
+
export interface AttachCBSSpec {
|
|
163
|
+
/**
|
|
164
|
+
* 节点磁盘类型,例如“CLOUD_SSD”\"CLOUD_PREMIUM"
|
|
165
|
+
*/
|
|
166
|
+
DiskType?: string
|
|
167
|
+
/**
|
|
168
|
+
* 磁盘容量,单位G
|
|
169
|
+
*/
|
|
170
|
+
DiskSize?: number
|
|
171
|
+
/**
|
|
172
|
+
* 磁盘总数
|
|
173
|
+
*/
|
|
174
|
+
DiskCount?: number
|
|
175
|
+
/**
|
|
176
|
+
* 描述
|
|
177
|
+
*/
|
|
178
|
+
DiskDesc?: string
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* DescribeInstanceNodes请求参数结构体
|
|
183
|
+
*/
|
|
184
|
+
export interface DescribeInstanceNodesRequest {
|
|
185
|
+
/**
|
|
186
|
+
* 集群实例ID
|
|
187
|
+
*/
|
|
188
|
+
InstanceId: string
|
|
189
|
+
/**
|
|
190
|
+
* 集群角色类型,默认为 "data"数据节点
|
|
191
|
+
*/
|
|
192
|
+
NodeRole?: string
|
|
193
|
+
/**
|
|
194
|
+
* 分页参数,第一页为0,第二页为10
|
|
195
|
+
*/
|
|
196
|
+
Offset?: number
|
|
197
|
+
/**
|
|
198
|
+
* 分页参数,分页步长,默认为10
|
|
199
|
+
*/
|
|
200
|
+
Limit?: number
|
|
201
|
+
/**
|
|
202
|
+
* 展现策略,All时显示所有
|
|
203
|
+
*/
|
|
204
|
+
DisplayPolicy?: string
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* 实例描述信息
|
|
209
|
+
*/
|
|
210
|
+
export interface InstanceInfo {
|
|
211
|
+
/**
|
|
212
|
+
* 集群实例ID, "cdw-xxxx" 字符串类型
|
|
213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
214
|
+
*/
|
|
215
|
+
InstanceId?: string
|
|
216
|
+
/**
|
|
217
|
+
* 集群实例名称
|
|
218
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
219
|
+
*/
|
|
220
|
+
InstanceName?: string
|
|
221
|
+
/**
|
|
222
|
+
* 状态,
|
|
223
|
+
Init 创建中; Serving 运行中;
|
|
224
|
+
Deleted已销毁;Deleting 销毁中;
|
|
225
|
+
Modify 集群变更中;
|
|
226
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
227
|
+
*/
|
|
228
|
+
Status?: string
|
|
229
|
+
/**
|
|
230
|
+
* 版本
|
|
231
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
232
|
+
*/
|
|
233
|
+
Version?: string
|
|
234
|
+
/**
|
|
235
|
+
* 地域, ap-guangzhou
|
|
236
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
237
|
+
*/
|
|
238
|
+
Region?: string
|
|
239
|
+
/**
|
|
240
|
+
* 可用区, ap-guangzhou-3
|
|
241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
242
|
+
*/
|
|
243
|
+
Zone?: string
|
|
244
|
+
/**
|
|
245
|
+
* 私有网络名称
|
|
246
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
247
|
+
*/
|
|
248
|
+
VpcId?: string
|
|
249
|
+
/**
|
|
250
|
+
* 子网名称
|
|
251
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
252
|
+
*/
|
|
253
|
+
SubnetId?: string
|
|
254
|
+
/**
|
|
255
|
+
* 付费类型,"hour", "prepay"
|
|
256
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
257
|
+
*/
|
|
258
|
+
PayMode?: string
|
|
259
|
+
/**
|
|
260
|
+
* 创建时间
|
|
261
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
262
|
+
*/
|
|
263
|
+
CreateTime?: string
|
|
264
|
+
/**
|
|
265
|
+
* 过期时间
|
|
266
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
267
|
+
*/
|
|
268
|
+
ExpireTime?: string
|
|
269
|
+
/**
|
|
270
|
+
* 数据节点描述信息
|
|
271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
272
|
+
*/
|
|
273
|
+
MasterSummary?: NodesSummary
|
|
274
|
+
/**
|
|
275
|
+
* zookeeper节点描述信息
|
|
276
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
277
|
+
*/
|
|
278
|
+
CoreSummary?: NodesSummary
|
|
279
|
+
/**
|
|
280
|
+
* 高可用,“true" "false"
|
|
281
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
282
|
+
*/
|
|
283
|
+
HA?: string
|
|
284
|
+
/**
|
|
285
|
+
* 高可用类型:
|
|
286
|
+
0:非高可用
|
|
287
|
+
1:读高可用
|
|
288
|
+
2:读写高可用。
|
|
289
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
290
|
+
*/
|
|
291
|
+
HaType?: number
|
|
292
|
+
/**
|
|
293
|
+
* 访问地址,例如 "10.0.0.1:9000"
|
|
294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
295
|
+
*/
|
|
296
|
+
AccessInfo?: string
|
|
297
|
+
/**
|
|
298
|
+
* 记录ID,数值型
|
|
299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
300
|
+
*/
|
|
301
|
+
Id?: number
|
|
302
|
+
/**
|
|
303
|
+
* regionId, 表示地域
|
|
304
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
305
|
+
*/
|
|
306
|
+
RegionId?: number
|
|
307
|
+
/**
|
|
308
|
+
* 可用区说明,例如 "广州二区"
|
|
309
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
310
|
+
*/
|
|
311
|
+
ZoneDesc?: string
|
|
312
|
+
/**
|
|
313
|
+
* 错误流程说明信息
|
|
314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
315
|
+
*/
|
|
316
|
+
FlowMsg?: string
|
|
317
|
+
/**
|
|
318
|
+
* 状态描述,例如“运行中”等
|
|
319
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
320
|
+
*/
|
|
321
|
+
StatusDesc?: string
|
|
322
|
+
/**
|
|
323
|
+
* 自动续费标记
|
|
324
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
325
|
+
*/
|
|
326
|
+
RenewFlag?: boolean
|
|
327
|
+
/**
|
|
328
|
+
* 标签列表
|
|
329
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
330
|
+
*/
|
|
331
|
+
Tags?: Array<Tag>
|
|
332
|
+
/**
|
|
333
|
+
* 监控信息
|
|
334
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
335
|
+
*/
|
|
336
|
+
Monitor?: string
|
|
337
|
+
/**
|
|
338
|
+
* 是否开通日志
|
|
339
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
340
|
+
*/
|
|
341
|
+
HasClsTopic?: boolean
|
|
342
|
+
/**
|
|
343
|
+
* 日志主题ID
|
|
344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
345
|
+
*/
|
|
346
|
+
ClsTopicId?: string
|
|
347
|
+
/**
|
|
348
|
+
* 日志集ID
|
|
349
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
350
|
+
*/
|
|
351
|
+
ClsLogSetId?: string
|
|
352
|
+
/**
|
|
353
|
+
* 是否支持xml配置管理
|
|
354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
355
|
+
*/
|
|
356
|
+
EnableXMLConfig?: number
|
|
357
|
+
/**
|
|
358
|
+
* 区域
|
|
359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
360
|
+
*/
|
|
361
|
+
RegionDesc?: string
|
|
362
|
+
/**
|
|
363
|
+
* 弹性网卡地址
|
|
364
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
365
|
+
*/
|
|
366
|
+
Eip?: string
|
|
367
|
+
/**
|
|
368
|
+
* 冷热分层系数
|
|
369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
370
|
+
*/
|
|
371
|
+
CosMoveFactor?: number
|
|
372
|
+
/**
|
|
373
|
+
* external/local/yunti
|
|
374
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
375
|
+
*/
|
|
376
|
+
Kind?: string
|
|
377
|
+
/**
|
|
378
|
+
* cos桶
|
|
379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
380
|
+
*/
|
|
381
|
+
CosBucketName?: string
|
|
382
|
+
/**
|
|
383
|
+
* cbs
|
|
384
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
385
|
+
*/
|
|
386
|
+
CanAttachCbs?: boolean
|
|
387
|
+
/**
|
|
388
|
+
* 小版本
|
|
389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
390
|
+
*/
|
|
391
|
+
BuildVersion?: string
|
|
392
|
+
/**
|
|
393
|
+
* 组件信息
|
|
394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
395
|
+
*/
|
|
396
|
+
Components?: string
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* DescribeInstance返回参数结构体
|
|
401
|
+
*/
|
|
402
|
+
export interface DescribeInstanceResponse {
|
|
403
|
+
/**
|
|
404
|
+
* 实例描述信息
|
|
405
|
+
*/
|
|
406
|
+
InstanceInfo: InstanceInfo
|
|
407
|
+
/**
|
|
408
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
409
|
+
*/
|
|
410
|
+
RequestId?: string
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* DescribeInstances返回参数结构体
|
|
415
|
+
*/
|
|
416
|
+
export interface DescribeInstancesResponse {
|
|
417
|
+
/**
|
|
418
|
+
* 实例总数
|
|
419
|
+
*/
|
|
420
|
+
TotalCount: number
|
|
421
|
+
/**
|
|
422
|
+
* 实例数组
|
|
423
|
+
*/
|
|
424
|
+
InstancesList: Array<InstanceInfo>
|
|
425
|
+
/**
|
|
426
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
427
|
+
*/
|
|
428
|
+
RequestId?: string
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* 节点角色描述信息
|
|
433
|
+
*/
|
|
434
|
+
export interface NodesSummary {
|
|
435
|
+
/**
|
|
436
|
+
* 机型,如 S1
|
|
437
|
+
*/
|
|
438
|
+
Spec?: string
|
|
439
|
+
/**
|
|
440
|
+
* 节点数目
|
|
441
|
+
*/
|
|
442
|
+
NodeSize?: number
|
|
443
|
+
/**
|
|
444
|
+
* cpu核数,单位个
|
|
445
|
+
*/
|
|
446
|
+
Core?: number
|
|
447
|
+
/**
|
|
448
|
+
* 内存大小,单位G
|
|
449
|
+
*/
|
|
450
|
+
Memory?: number
|
|
451
|
+
/**
|
|
452
|
+
* 磁盘大小,单位G
|
|
453
|
+
*/
|
|
454
|
+
Disk?: number
|
|
455
|
+
/**
|
|
456
|
+
* 磁盘类型
|
|
457
|
+
*/
|
|
458
|
+
DiskType?: string
|
|
459
|
+
/**
|
|
460
|
+
* 磁盘描述
|
|
461
|
+
*/
|
|
462
|
+
DiskDesc?: string
|
|
463
|
+
/**
|
|
464
|
+
* 挂载云盘信息
|
|
465
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
466
|
+
*/
|
|
467
|
+
AttachCBSSpec?: AttachCBSSpec
|
|
468
|
+
/**
|
|
469
|
+
* 子产品名称
|
|
470
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
471
|
+
*/
|
|
472
|
+
SubProductType?: string
|
|
473
|
+
/**
|
|
474
|
+
* 规格核数
|
|
475
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
476
|
+
*/
|
|
477
|
+
SpecCore?: number
|
|
478
|
+
/**
|
|
479
|
+
* 规格内存
|
|
480
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
481
|
+
*/
|
|
482
|
+
SpecMemory?: number
|
|
483
|
+
/**
|
|
484
|
+
* 磁盘大小
|
|
485
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
486
|
+
*/
|
|
487
|
+
DiskCount?: number
|
|
488
|
+
/**
|
|
489
|
+
* 是否加密
|
|
490
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
491
|
+
*/
|
|
492
|
+
Encrypt?: number
|
|
493
|
+
/**
|
|
494
|
+
* 最大磁盘
|
|
495
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
496
|
+
*/
|
|
497
|
+
MaxDiskSize?: number
|
|
498
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { cdwdoris } from "./cdwdoris"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./services";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
+
import { DescribeInstancesRequest, DescribeInstanceNodesResponse, DescribeInstanceRequest, DescribeInstanceNodesRequest, DescribeInstanceResponse, DescribeInstancesResponse } from "./cdwdoris_models";
|
|
3
|
+
/**
|
|
4
|
+
* cdwdoris client
|
|
5
|
+
* @class
|
|
6
|
+
*/
|
|
7
|
+
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
|
+
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
|
+
/**
|
|
10
|
+
* 获取实例列表
|
|
11
|
+
*/
|
|
12
|
+
DescribeInstances(req: DescribeInstancesRequest, cb?: (error: string, rep: DescribeInstancesResponse) => void): Promise<DescribeInstancesResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* 根据实例ID查询某个实例的具体信息
|
|
15
|
+
*/
|
|
16
|
+
DescribeInstance(req: DescribeInstanceRequest, cb?: (error: string, rep: DescribeInstanceResponse) => void): Promise<DescribeInstanceResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* 获取实例节点信息列表
|
|
19
|
+
*/
|
|
20
|
+
DescribeInstanceNodes(req: DescribeInstanceNodesRequest, cb?: (error: string, rep: DescribeInstanceNodesResponse) => void): Promise<DescribeInstanceNodesResponse>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Client = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
|
+
/*
|
|
6
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing,
|
|
15
|
+
* software distributed under the License is distributed on an
|
|
16
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
+
* KIND, either express or implied. See the License for the
|
|
18
|
+
* specific language governing permissions and limitations
|
|
19
|
+
* under the License.
|
|
20
|
+
*/
|
|
21
|
+
const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
|
|
22
|
+
/**
|
|
23
|
+
* cdwdoris client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends TencentCloudCommon.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("cdwdoris.tencentcloudapi.com", "2021-12-28", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 获取实例列表
|
|
32
|
+
*/
|
|
33
|
+
async DescribeInstances(req, cb) {
|
|
34
|
+
return this.request("DescribeInstances", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 根据实例ID查询某个实例的具体信息
|
|
38
|
+
*/
|
|
39
|
+
async DescribeInstance(req, cb) {
|
|
40
|
+
return this.request("DescribeInstance", req, cb);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 获取实例节点信息列表
|
|
44
|
+
*/
|
|
45
|
+
async DescribeInstanceNodes(req, cb) {
|
|
46
|
+
return this.request("DescribeInstanceNodes", req, cb);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.Client = Client;
|