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