tencentcloud-sdk-nodejs 4.0.546 → 4.0.548
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 +377 -0
- package/SERVICE_CHANGELOG.md +404 -133
- package/package.json +1 -1
- package/products.md +32 -32
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20221115/bma_models.ts +2 -2
- package/src/services/cbs/v20170312/cbs_client.ts +3 -5
- package/src/services/cbs/v20170312/cbs_models.ts +139 -12
- package/src/services/cdc/v20201214/cdc_models.ts +14 -14
- package/src/services/cdn/v20180606/cdn_client.ts +32 -19
- package/src/services/cdn/v20180606/cdn_models.ts +164 -11
- package/src/services/cfw/v20190904/cfw_client.ts +44 -7
- package/src/services/cfw/v20190904/cfw_models.ts +117 -6
- package/src/services/clb/v20180317/clb_models.ts +4 -4
- package/src/services/cvm/v20170312/cvm_client.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -5
- package/src/services/dasb/v20191018/dasb_client.ts +279 -60
- package/src/services/dasb/v20191018/dasb_models.ts +1314 -714
- package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +25 -0
- package/src/services/dts/v20211206/dts_models.ts +7 -7
- package/src/services/eb/v20210416/eb_client.ts +3 -1
- package/src/services/eb/v20210416/eb_models.ts +110 -25
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/gs/v20191118/gs_models.ts +8 -8
- package/src/services/lcic/v20220817/lcic_client.ts +16 -2
- package/src/services/lcic/v20220817/lcic_models.ts +129 -16
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +2 -3
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +12 -12
- package/src/services/ocr/v20181119/ocr_client.ts +2 -4
- package/src/services/postgres/v20170312/postgres_models.ts +1 -1
- package/src/services/teo/v20220901/teo_models.ts +3 -1
- package/src/services/thpc/v20220401/thpc_client.ts +70 -17
- package/src/services/thpc/v20220401/thpc_models.ts +296 -83
- package/src/services/tke/v20180525/tke_models.ts +1 -1
- package/src/services/vpc/v20170312/vpc_client.ts +4 -3
- package/src/services/vpc/v20170312/vpc_models.ts +18 -8
- package/src/services/wedata/v20210820/wedata_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20221115/bma_models.d.ts +2 -2
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +0 -3
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +0 -3
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +118 -12
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +14 -14
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +11 -7
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +15 -9
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +138 -11
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +15 -3
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +21 -3
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +102 -6
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -4
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -5
- package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +81 -9
- package/tencentcloud/services/dasb/v20191018/dasb_client.js +120 -12
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +1183 -664
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +22 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +6 -6
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +95 -24
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +7 -7
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +112 -16
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +2 -3
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +2 -3
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +12 -12
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +0 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -2
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +3 -1
- package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +23 -5
- package/tencentcloud/services/thpc/v20220401/thpc_client.js +32 -6
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +258 -74
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +2 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +2 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +16 -8
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +1 -1
- package/test/cdn.v20180606.test.js +16 -6
- package/test/cfw.v20190904.test.js +32 -2
- package/test/dasb.v20191018.test.js +188 -8
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/lcic.v20220817.test.js +10 -0
- package/test/thpc.v20220401.test.js +44 -4
|
@@ -89,6 +89,16 @@ export interface ClusterOverview {
|
|
|
89
89
|
*/
|
|
90
90
|
VpcId: string;
|
|
91
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* 队列信息概览。
|
|
94
|
+
*/
|
|
95
|
+
export interface QueueOverview {
|
|
96
|
+
/**
|
|
97
|
+
* 队列名称。
|
|
98
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
99
|
+
*/
|
|
100
|
+
QueueName?: string;
|
|
101
|
+
}
|
|
92
102
|
/**
|
|
93
103
|
* DescribeClusters请求参数结构体
|
|
94
104
|
*/
|
|
@@ -136,13 +146,65 @@ false(默认):发送正常请求,通过检查后直接绑定弹性伸缩
|
|
|
136
146
|
DryRun?: boolean;
|
|
137
147
|
}
|
|
138
148
|
/**
|
|
139
|
-
*
|
|
149
|
+
* 节点概览信息。
|
|
140
150
|
*/
|
|
141
|
-
export interface
|
|
151
|
+
export interface NodeOverview {
|
|
142
152
|
/**
|
|
143
|
-
*
|
|
153
|
+
* 节点实例ID。
|
|
154
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
144
155
|
*/
|
|
145
|
-
|
|
156
|
+
InstanceId?: string;
|
|
157
|
+
/**
|
|
158
|
+
* 节点所在可用区信息。
|
|
159
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
160
|
+
*/
|
|
161
|
+
Zone?: string;
|
|
162
|
+
/**
|
|
163
|
+
* 节点状态。<br><li>SUBMITTED:已完成提交。<br><li>CREATING:创建中。<br><li>CREATED:完成创建。<br><li>INITING:初始化中。<br><li>INIT_FAILED:初始化失败。<br><li>RUNNING:运行中。<br><li>DELETING:销毁中。
|
|
164
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
165
|
+
*/
|
|
166
|
+
NodeState?: string;
|
|
167
|
+
/**
|
|
168
|
+
* 镜像ID。
|
|
169
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
170
|
+
*/
|
|
171
|
+
ImageId?: string;
|
|
172
|
+
/**
|
|
173
|
+
* 节点所属队列名称。
|
|
174
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
175
|
+
*/
|
|
176
|
+
QueueName?: string;
|
|
177
|
+
/**
|
|
178
|
+
* 节点角色。<br><li>Manager:管控节点。<br><li>Compute:计算节点。<br><li>Login:登录节点。<br><li>ManagerBackup:备用管控节点。
|
|
179
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
180
|
+
*/
|
|
181
|
+
NodeRole?: string;
|
|
182
|
+
/**
|
|
183
|
+
* 节点类型。<br><li>STATIC:静态节点。<br><li>DYNAMIC:弹性节点。
|
|
184
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
185
|
+
*/
|
|
186
|
+
NodeType?: string;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* DescribeNodes请求参数结构体
|
|
190
|
+
*/
|
|
191
|
+
export interface DescribeNodesRequest {
|
|
192
|
+
/**
|
|
193
|
+
* 集群ID。
|
|
194
|
+
*/
|
|
195
|
+
ClusterId: string;
|
|
196
|
+
/**
|
|
197
|
+
* <li><strong>queue-name</strong></li> <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;"><li><strong>node-role</strong></li> <p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;"><li><strong>node-type</strong></li> <p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
|
|
198
|
+
*/
|
|
199
|
+
Filters?: Array<Filter>;
|
|
200
|
+
/**
|
|
201
|
+
* 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
202
|
+
*/
|
|
203
|
+
Offset?: number;
|
|
204
|
+
/**
|
|
205
|
+
* 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
206
|
+
*/
|
|
207
|
+
Limit?: number;
|
|
146
208
|
}
|
|
147
209
|
/**
|
|
148
210
|
* DeleteNodes返回参数结构体
|
|
@@ -235,49 +297,59 @@ export interface NodeActivity {
|
|
|
235
297
|
NodeActivityStatusReason: string;
|
|
236
298
|
}
|
|
237
299
|
/**
|
|
238
|
-
*
|
|
300
|
+
* 描述了实例的抽象位置
|
|
239
301
|
*/
|
|
240
|
-
export interface
|
|
241
|
-
/**
|
|
242
|
-
* 队列名称。
|
|
243
|
-
*/
|
|
244
|
-
QueueName: string;
|
|
245
|
-
/**
|
|
246
|
-
* 队列中弹性节点数量最小值。取值范围0~200。
|
|
247
|
-
*/
|
|
248
|
-
MinSize?: number;
|
|
302
|
+
export interface Placement {
|
|
249
303
|
/**
|
|
250
|
-
*
|
|
304
|
+
* 实例所属的可用区名称。该参数可以通过调用 [DescribeZones](https://cloud.tencent.com/document/product/213/15707) 的返回值中的Zone字段来获取。
|
|
251
305
|
*/
|
|
252
|
-
|
|
306
|
+
Zone: string;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* AddQueue请求参数结构体
|
|
310
|
+
*/
|
|
311
|
+
export interface AddQueueRequest {
|
|
253
312
|
/**
|
|
254
|
-
*
|
|
313
|
+
* 集群ID。
|
|
255
314
|
*/
|
|
256
|
-
|
|
315
|
+
ClusterId: string;
|
|
257
316
|
/**
|
|
258
|
-
*
|
|
317
|
+
* 队列名称。<br><li>最多支持32个字符。
|
|
259
318
|
*/
|
|
260
|
-
|
|
319
|
+
QueueName: string;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* 登录节点概览。
|
|
323
|
+
*/
|
|
324
|
+
export interface LoginNodeOverview {
|
|
261
325
|
/**
|
|
262
|
-
*
|
|
326
|
+
* 登录节点ID。
|
|
263
327
|
*/
|
|
264
|
-
|
|
328
|
+
NodeId: string;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* 描述CFS文件系统版本和挂载信息
|
|
332
|
+
*/
|
|
333
|
+
export interface CFSOption {
|
|
265
334
|
/**
|
|
266
|
-
*
|
|
335
|
+
* 文件系统本地挂载路径。
|
|
267
336
|
*/
|
|
268
|
-
|
|
337
|
+
LocalPath: string;
|
|
269
338
|
/**
|
|
270
|
-
*
|
|
339
|
+
* 文件系统远程挂载ip及路径。
|
|
271
340
|
*/
|
|
272
|
-
|
|
341
|
+
RemotePath: string;
|
|
273
342
|
/**
|
|
274
|
-
*
|
|
343
|
+
* 文件系统协议类型,默认值NFS 3.0。
|
|
344
|
+
<li>NFS 3.0。
|
|
345
|
+
<li>NFS 4.0。
|
|
346
|
+
<li>TURBO。
|
|
275
347
|
*/
|
|
276
|
-
|
|
348
|
+
Protocol?: string;
|
|
277
349
|
/**
|
|
278
|
-
*
|
|
350
|
+
* 文件系统存储类型,默认值SD;其中 SD 为通用标准型标准型存储, HP为通用性能型存储, TB为turbo标准型, TP 为turbo性能型。
|
|
279
351
|
*/
|
|
280
|
-
|
|
352
|
+
StorageType?: string;
|
|
281
353
|
}
|
|
282
354
|
/**
|
|
283
355
|
* 符合条件的集群活动信息。
|
|
@@ -292,7 +364,8 @@ export interface ClusterActivity {
|
|
|
292
364
|
*/
|
|
293
365
|
ActivityId: string;
|
|
294
366
|
/**
|
|
295
|
-
*
|
|
367
|
+
* 集群活动类型。取值范围:<br><li>CreateAndAddNodes:创建实例并添加进集群<br><li>RemoveNodesFromCluster:从集群移除实例<br><li>TerminateNodes:销毁实例<br><li>MountStorageOption:增加挂载选项并进行挂载<br><li>UmountStorageOption:删除集群挂载存储选项并解挂载
|
|
368
|
+
|
|
296
369
|
*/
|
|
297
370
|
ActivityType: string;
|
|
298
371
|
/**
|
|
@@ -333,51 +406,35 @@ export interface ClusterActivity {
|
|
|
333
406
|
EndTime: string;
|
|
334
407
|
}
|
|
335
408
|
/**
|
|
336
|
-
*
|
|
337
|
-
*/
|
|
338
|
-
export interface LoginNodeOverview {
|
|
339
|
-
/**
|
|
340
|
-
* 登录节点ID。
|
|
341
|
-
*/
|
|
342
|
-
NodeId: string;
|
|
343
|
-
}
|
|
344
|
-
/**
|
|
345
|
-
* 描述CFS文件系统版本和挂载信息
|
|
409
|
+
* CreateCluster返回参数结构体
|
|
346
410
|
*/
|
|
347
|
-
export interface
|
|
348
|
-
/**
|
|
349
|
-
* 文件系统本地挂载路径。
|
|
350
|
-
*/
|
|
351
|
-
LocalPath: string;
|
|
352
|
-
/**
|
|
353
|
-
* 文件系统远程挂载ip及路径。
|
|
354
|
-
*/
|
|
355
|
-
RemotePath: string;
|
|
411
|
+
export interface CreateClusterResponse {
|
|
356
412
|
/**
|
|
357
|
-
*
|
|
358
|
-
|
|
359
|
-
<li>NFS 4.0。
|
|
360
|
-
<li>TURBO。
|
|
413
|
+
* 集群ID。
|
|
414
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
361
415
|
*/
|
|
362
|
-
|
|
416
|
+
ClusterId: string;
|
|
363
417
|
/**
|
|
364
|
-
*
|
|
418
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
365
419
|
*/
|
|
366
|
-
|
|
420
|
+
RequestId?: string;
|
|
367
421
|
}
|
|
368
422
|
/**
|
|
369
|
-
*
|
|
423
|
+
* DescribeQueues请求参数结构体
|
|
370
424
|
*/
|
|
371
|
-
export interface
|
|
425
|
+
export interface DescribeQueuesRequest {
|
|
372
426
|
/**
|
|
373
427
|
* 集群ID。
|
|
374
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
375
428
|
*/
|
|
376
429
|
ClusterId: string;
|
|
377
430
|
/**
|
|
378
|
-
*
|
|
431
|
+
* 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
379
432
|
*/
|
|
380
|
-
|
|
433
|
+
Offset?: number;
|
|
434
|
+
/**
|
|
435
|
+
* 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
436
|
+
*/
|
|
437
|
+
Limit?: number;
|
|
381
438
|
}
|
|
382
439
|
/**
|
|
383
440
|
* SetAutoScalingConfiguration返回参数结构体
|
|
@@ -474,6 +531,15 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
474
531
|
*/
|
|
475
532
|
AutoScalingType?: string;
|
|
476
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
* AddQueue返回参数结构体
|
|
536
|
+
*/
|
|
537
|
+
export interface AddQueueResponse {
|
|
538
|
+
/**
|
|
539
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
540
|
+
*/
|
|
541
|
+
RequestId?: string;
|
|
542
|
+
}
|
|
477
543
|
/**
|
|
478
544
|
* DescribeClusterStorageOption返回参数结构体
|
|
479
545
|
*/
|
|
@@ -487,6 +553,23 @@ export interface DescribeClusterStorageOptionResponse {
|
|
|
487
553
|
*/
|
|
488
554
|
RequestId?: string;
|
|
489
555
|
}
|
|
556
|
+
/**
|
|
557
|
+
* DescribeQueues返回参数结构体
|
|
558
|
+
*/
|
|
559
|
+
export interface DescribeQueuesResponse {
|
|
560
|
+
/**
|
|
561
|
+
* 队列概览信息列表。
|
|
562
|
+
*/
|
|
563
|
+
QueueSet?: Array<QueueOverview>;
|
|
564
|
+
/**
|
|
565
|
+
* 符合条件的节点数量。
|
|
566
|
+
*/
|
|
567
|
+
TotalCount?: number;
|
|
568
|
+
/**
|
|
569
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
570
|
+
*/
|
|
571
|
+
RequestId?: string;
|
|
572
|
+
}
|
|
490
573
|
/**
|
|
491
574
|
* GooseFS存储选项概览信息。
|
|
492
575
|
*/
|
|
@@ -504,6 +587,51 @@ export interface GooseFSOptionOverview {
|
|
|
504
587
|
*/
|
|
505
588
|
Masters: Array<string>;
|
|
506
589
|
}
|
|
590
|
+
/**
|
|
591
|
+
* 扩容队列配置。
|
|
592
|
+
*/
|
|
593
|
+
export interface QueueConfig {
|
|
594
|
+
/**
|
|
595
|
+
* 队列名称。
|
|
596
|
+
*/
|
|
597
|
+
QueueName: string;
|
|
598
|
+
/**
|
|
599
|
+
* 队列中弹性节点数量最小值。取值范围0~200。
|
|
600
|
+
*/
|
|
601
|
+
MinSize?: number;
|
|
602
|
+
/**
|
|
603
|
+
* 队列中弹性节点数量最大值。取值范围0~200。
|
|
604
|
+
*/
|
|
605
|
+
MaxSize?: number;
|
|
606
|
+
/**
|
|
607
|
+
* 是否开启自动扩容。
|
|
608
|
+
*/
|
|
609
|
+
EnableAutoExpansion?: boolean;
|
|
610
|
+
/**
|
|
611
|
+
* 是否开启自动缩容。
|
|
612
|
+
*/
|
|
613
|
+
EnableAutoShrink?: boolean;
|
|
614
|
+
/**
|
|
615
|
+
* 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜和特定自定义镜像。
|
|
616
|
+
*/
|
|
617
|
+
ImageId?: string;
|
|
618
|
+
/**
|
|
619
|
+
* 节点系统盘配置信息。若不指定该参数,则按照系统默认值进行分配。
|
|
620
|
+
*/
|
|
621
|
+
SystemDisk?: SystemDisk;
|
|
622
|
+
/**
|
|
623
|
+
* 节点数据盘配置信息。若不指定该参数,则默认不购买数据盘。支持购买的时候指定21块数据盘,其中最多包含1块LOCAL_BASIC数据盘或者LOCAL_SSD数据盘,最多包含20块CLOUD_BASIC数据盘、CLOUD_PREMIUM数据盘或者CLOUD_SSD数据盘。
|
|
624
|
+
*/
|
|
625
|
+
DataDisks?: Array<DataDisk>;
|
|
626
|
+
/**
|
|
627
|
+
* 公网带宽相关信息设置。若不指定该参数,则默认公网带宽为0Mbps。
|
|
628
|
+
*/
|
|
629
|
+
InternetAccessible?: InternetAccessible;
|
|
630
|
+
/**
|
|
631
|
+
* 扩容节点配置信息。
|
|
632
|
+
*/
|
|
633
|
+
ExpansionNodeConfigs?: Array<ExpansionNodeConfig>;
|
|
634
|
+
}
|
|
507
635
|
/**
|
|
508
636
|
* 描述了实例的计费模式
|
|
509
637
|
*/
|
|
@@ -668,13 +796,30 @@ CLOUD_PREMIUM:高性能云硬盘
|
|
|
668
796
|
DiskSize?: number;
|
|
669
797
|
}
|
|
670
798
|
/**
|
|
671
|
-
*
|
|
799
|
+
* 描述了实例登录相关配置与信息。
|
|
672
800
|
*/
|
|
673
|
-
export interface
|
|
801
|
+
export interface LoginSettings {
|
|
674
802
|
/**
|
|
675
|
-
*
|
|
803
|
+
* 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<br><li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。<br><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。<br><br>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。
|
|
676
804
|
*/
|
|
677
|
-
|
|
805
|
+
Password?: string;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* 描述GooseFS挂载信息
|
|
809
|
+
*/
|
|
810
|
+
export interface GooseFSOption {
|
|
811
|
+
/**
|
|
812
|
+
* 文件系统本地挂载路径。
|
|
813
|
+
*/
|
|
814
|
+
LocalPath: string;
|
|
815
|
+
/**
|
|
816
|
+
* 文件系统远程挂载路径。
|
|
817
|
+
*/
|
|
818
|
+
RemotePath: string;
|
|
819
|
+
/**
|
|
820
|
+
* 文件系统master的ip和端口。
|
|
821
|
+
*/
|
|
822
|
+
Masters: Array<string>;
|
|
678
823
|
}
|
|
679
824
|
/**
|
|
680
825
|
* DescribeClusterActivities请求参数结构体
|
|
@@ -693,6 +838,36 @@ export interface DescribeClusterActivitiesRequest {
|
|
|
693
838
|
*/
|
|
694
839
|
Limit?: number;
|
|
695
840
|
}
|
|
841
|
+
/**
|
|
842
|
+
* DeleteQueue请求参数结构体
|
|
843
|
+
*/
|
|
844
|
+
export interface DeleteQueueRequest {
|
|
845
|
+
/**
|
|
846
|
+
* 集群ID。
|
|
847
|
+
*/
|
|
848
|
+
ClusterId: string;
|
|
849
|
+
/**
|
|
850
|
+
* 队列名称。<br><li>最多支持32个字符。
|
|
851
|
+
*/
|
|
852
|
+
QueueName: string;
|
|
853
|
+
}
|
|
854
|
+
/**
|
|
855
|
+
* >描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
|
856
|
+
> * 若存在多个`Filter`时,`Filter`间的关系为逻辑与(`AND`)关系。
|
|
857
|
+
> * 若同一个`Filter`存在多个`Values`,同一`Filter`下`Values`间的关系为逻辑或(`OR`)关系。
|
|
858
|
+
*/
|
|
859
|
+
export interface Filter {
|
|
860
|
+
/**
|
|
861
|
+
* 需要过滤的字段。
|
|
862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
863
|
+
*/
|
|
864
|
+
Name: string;
|
|
865
|
+
/**
|
|
866
|
+
* 字段的过滤值。
|
|
867
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
868
|
+
*/
|
|
869
|
+
Values: Array<string>;
|
|
870
|
+
}
|
|
696
871
|
/**
|
|
697
872
|
* AddNodes请求参数结构体
|
|
698
873
|
*/
|
|
@@ -1084,21 +1259,21 @@ export interface DeleteClusterStorageOptionResponse {
|
|
|
1084
1259
|
RequestId?: string;
|
|
1085
1260
|
}
|
|
1086
1261
|
/**
|
|
1087
|
-
*
|
|
1262
|
+
* DescribeNodes返回参数结构体
|
|
1088
1263
|
*/
|
|
1089
|
-
export interface
|
|
1264
|
+
export interface DescribeNodesResponse {
|
|
1090
1265
|
/**
|
|
1091
|
-
*
|
|
1266
|
+
* 节点概览信息列表。
|
|
1092
1267
|
*/
|
|
1093
|
-
|
|
1268
|
+
NodeSet?: Array<NodeOverview>;
|
|
1094
1269
|
/**
|
|
1095
|
-
*
|
|
1270
|
+
* 符合条件的节点数量。
|
|
1096
1271
|
*/
|
|
1097
|
-
|
|
1272
|
+
TotalCount?: number;
|
|
1098
1273
|
/**
|
|
1099
|
-
*
|
|
1274
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1100
1275
|
*/
|
|
1101
|
-
|
|
1276
|
+
RequestId?: string;
|
|
1102
1277
|
}
|
|
1103
1278
|
/**
|
|
1104
1279
|
* DescribeClusterActivities返回参数结构体
|
|
@@ -1130,6 +1305,15 @@ export interface DataDisk {
|
|
|
1130
1305
|
*/
|
|
1131
1306
|
DiskType?: string;
|
|
1132
1307
|
}
|
|
1308
|
+
/**
|
|
1309
|
+
* DeleteQueue返回参数结构体
|
|
1310
|
+
*/
|
|
1311
|
+
export interface DeleteQueueResponse {
|
|
1312
|
+
/**
|
|
1313
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1314
|
+
*/
|
|
1315
|
+
RequestId?: string;
|
|
1316
|
+
}
|
|
1133
1317
|
/**
|
|
1134
1318
|
* AddNodes返回参数结构体
|
|
1135
1319
|
*/
|
|
@@ -1018,7 +1018,7 @@ export declare class Client extends AbstractClient {
|
|
|
1018
1018
|
EnableFlowLogs(req: EnableFlowLogsRequest, cb?: (error: string, rep: EnableFlowLogsResponse) => void): Promise<EnableFlowLogsResponse>;
|
|
1019
1019
|
/**
|
|
1020
1020
|
* 本接口(DescribeIpGeolocationInfos)用于查询IP地址信息,包括地理位置信息和网络信息。
|
|
1021
|
-
|
|
1021
|
+
<font color="#FF0000">本接口即将下线,仅供存量客户使用,暂停新增用户。</font>
|
|
1022
1022
|
*/
|
|
1023
1023
|
DescribeIpGeolocationInfos(req: DescribeIpGeolocationInfosRequest, cb?: (error: string, rep: DescribeIpGeolocationInfosResponse) => void): Promise<DescribeIpGeolocationInfosResponse>;
|
|
1024
1024
|
/**
|
|
@@ -1382,6 +1382,7 @@ LimitTypes取值范围:
|
|
|
1382
1382
|
DisassociateDirectConnectGatewayNatGateway(req: DisassociateDirectConnectGatewayNatGatewayRequest, cb?: (error: string, rep: DisassociateDirectConnectGatewayNatGatewayResponse) => void): Promise<DisassociateDirectConnectGatewayNatGatewayResponse>;
|
|
1383
1383
|
/**
|
|
1384
1384
|
* 本接口(DescribeIpGeolocationDatabaseUrl)用于获取IP地理位置库下载链接。
|
|
1385
|
+
<font color="#FF0000">本接口即将下线,仅供存量用户使用,暂停新增用户。</font>
|
|
1385
1386
|
*/
|
|
1386
1387
|
DescribeIpGeolocationDatabaseUrl(req: DescribeIpGeolocationDatabaseUrlRequest, cb?: (error: string, rep: DescribeIpGeolocationDatabaseUrlResponse) => void): Promise<DescribeIpGeolocationDatabaseUrlResponse>;
|
|
1387
1388
|
/**
|
|
@@ -1460,7 +1460,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1460
1460
|
}
|
|
1461
1461
|
/**
|
|
1462
1462
|
* 本接口(DescribeIpGeolocationInfos)用于查询IP地址信息,包括地理位置信息和网络信息。
|
|
1463
|
-
|
|
1463
|
+
<font color="#FF0000">本接口即将下线,仅供存量客户使用,暂停新增用户。</font>
|
|
1464
1464
|
*/
|
|
1465
1465
|
async DescribeIpGeolocationInfos(req, cb) {
|
|
1466
1466
|
return this.request("DescribeIpGeolocationInfos", req, cb);
|
|
@@ -1972,6 +1972,7 @@ LimitTypes取值范围:
|
|
|
1972
1972
|
}
|
|
1973
1973
|
/**
|
|
1974
1974
|
* 本接口(DescribeIpGeolocationDatabaseUrl)用于获取IP地理位置库下载链接。
|
|
1975
|
+
<font color="#FF0000">本接口即将下线,仅供存量用户使用,暂停新增用户。</font>
|
|
1975
1976
|
*/
|
|
1976
1977
|
async DescribeIpGeolocationDatabaseUrl(req, cb) {
|
|
1977
1978
|
return this.request("DescribeIpGeolocationDatabaseUrl", req, cb);
|
|
@@ -1493,11 +1493,11 @@ export interface DescribeIpGeolocationInfosResponse {
|
|
|
1493
1493
|
/**
|
|
1494
1494
|
* IP地址信息列表。
|
|
1495
1495
|
*/
|
|
1496
|
-
AddressInfo
|
|
1496
|
+
AddressInfo?: Array<IpGeolocationInfo>;
|
|
1497
1497
|
/**
|
|
1498
1498
|
* IP地址信息个数。
|
|
1499
1499
|
*/
|
|
1500
|
-
Total
|
|
1500
|
+
Total?: number;
|
|
1501
1501
|
/**
|
|
1502
1502
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1503
1503
|
*/
|
|
@@ -1916,11 +1916,11 @@ export interface DescribeIpGeolocationDatabaseUrlResponse {
|
|
|
1916
1916
|
/**
|
|
1917
1917
|
* IP地理位置库下载链接地址。
|
|
1918
1918
|
*/
|
|
1919
|
-
DownLoadUrl
|
|
1919
|
+
DownLoadUrl?: string;
|
|
1920
1920
|
/**
|
|
1921
1921
|
* 链接到期时间。按照`ISO8601`标准表示,并且使用`UTC`时间。
|
|
1922
1922
|
*/
|
|
1923
|
-
ExpiredAt
|
|
1923
|
+
ExpiredAt?: string;
|
|
1924
1924
|
/**
|
|
1925
1925
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1926
1926
|
*/
|
|
@@ -7984,13 +7984,21 @@ export interface AssociateDirectConnectGatewayNatGatewayRequest {
|
|
|
7984
7984
|
*/
|
|
7985
7985
|
export interface AddressTemplateItem {
|
|
7986
7986
|
/**
|
|
7987
|
-
*
|
|
7987
|
+
* ipm-xxxxxxxx
|
|
7988
|
+
*/
|
|
7989
|
+
AddressTemplateId?: string;
|
|
7990
|
+
/**
|
|
7991
|
+
* IP模板名称
|
|
7992
|
+
*/
|
|
7993
|
+
AddressTemplateName?: string;
|
|
7994
|
+
/**
|
|
7995
|
+
* 废弃字段
|
|
7988
7996
|
*/
|
|
7989
|
-
From
|
|
7997
|
+
From?: string;
|
|
7990
7998
|
/**
|
|
7991
|
-
*
|
|
7999
|
+
* 废弃字段
|
|
7992
8000
|
*/
|
|
7993
|
-
To
|
|
8001
|
+
To?: string;
|
|
7994
8002
|
}
|
|
7995
8003
|
/**
|
|
7996
8004
|
* ModifyAddressAttribute返回参数结构体
|
|
@@ -11682,7 +11682,7 @@ export interface DescribeInLongTkeClusterListRequest {
|
|
|
11682
11682
|
*/
|
|
11683
11683
|
ClusterName?: string;
|
|
11684
11684
|
/**
|
|
11685
|
-
* TKE集群状态 (Running 运行中 Creating 创建中
|
|
11685
|
+
* TKE集群状态 (Running 运行中 Creating 创建中 Idling 闲置中 Abnormal 异常 Failed 异常 Deleting 删除中 Scaling 规模调整中 Upgrading 升级中 Isolated 欠费隔离中 NodeUpgrading 节点升级中 Recovering 唤醒中 Activating 激活中 MasterScaling Master扩缩容中 Waiting 等待注册 ClusterLevelUpgrading 调整规格中 ResourceIsolate 隔离中 ResourceIsolated 已隔离 ResourceReverse 冲正中 Trading 集群开通中 ResourceReversal 集群冲正 ClusterLevelTrading 集群变配交易中)
|
|
11686
11686
|
多个状态用逗号连接。
|
|
11687
11687
|
*/
|
|
11688
11688
|
Status?: string;
|
|
@@ -158,9 +158,9 @@ it("cdn.v20180606.DescribeCdnData", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
-
it("cdn.v20180606.
|
|
161
|
+
it("cdn.v20180606.DescribeHttpsPackages", async function () {
|
|
162
162
|
try {
|
|
163
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeHttpsPackages({})
|
|
164
164
|
expect(data).to.be.ok
|
|
165
165
|
} catch(error) {
|
|
166
166
|
expect(error.requestId).to.be.ok
|
|
@@ -268,9 +268,9 @@ it("cdn.v20180606.DescribeDDoSData", async function () {
|
|
|
268
268
|
}
|
|
269
269
|
})
|
|
270
270
|
|
|
271
|
-
it("cdn.v20180606.
|
|
271
|
+
it("cdn.v20180606.DisableCaches", async function () {
|
|
272
272
|
try {
|
|
273
|
-
const data = await client.
|
|
273
|
+
const data = await client.DisableCaches({})
|
|
274
274
|
expect(data).to.be.ok
|
|
275
275
|
} catch(error) {
|
|
276
276
|
expect(error.requestId).to.be.ok
|
|
@@ -458,6 +458,16 @@ it("cdn.v20180606.DescribePurgeTasks", async function () {
|
|
|
458
458
|
}
|
|
459
459
|
})
|
|
460
460
|
|
|
461
|
+
it("cdn.v20180606.ListTopClsLogData", async function () {
|
|
462
|
+
try {
|
|
463
|
+
const data = await client.ListTopClsLogData({})
|
|
464
|
+
expect(data).to.be.ok
|
|
465
|
+
} catch(error) {
|
|
466
|
+
expect(error.requestId).to.be.ok
|
|
467
|
+
expect(error.code).to.be.ok
|
|
468
|
+
}
|
|
469
|
+
})
|
|
470
|
+
|
|
461
471
|
it("cdn.v20180606.DescribeUrlViolations", async function () {
|
|
462
472
|
try {
|
|
463
473
|
const data = await client.DescribeUrlViolations({})
|
|
@@ -798,9 +808,9 @@ it("cdn.v20180606.EnableCaches", async function () {
|
|
|
798
808
|
}
|
|
799
809
|
})
|
|
800
810
|
|
|
801
|
-
it("cdn.v20180606.
|
|
811
|
+
it("cdn.v20180606.ListScdnTopBotData", async function () {
|
|
802
812
|
try {
|
|
803
|
-
const data = await client.
|
|
813
|
+
const data = await client.ListScdnTopBotData({})
|
|
804
814
|
expect(data).to.be.ok
|
|
805
815
|
} catch(error) {
|
|
806
816
|
expect(error.requestId).to.be.ok
|
|
@@ -308,6 +308,16 @@ it("cfw.v20190904.DescribeIPStatusList", async function () {
|
|
|
308
308
|
}
|
|
309
309
|
})
|
|
310
310
|
|
|
311
|
+
it("cfw.v20190904.ModifyEnterpriseSecurityGroupRule", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.ModifyEnterpriseSecurityGroupRule({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
311
321
|
it("cfw.v20190904.DescribeDefenseSwitch", async function () {
|
|
312
322
|
try {
|
|
313
323
|
const data = await client.DescribeDefenseSwitch({})
|
|
@@ -338,6 +348,16 @@ it("cfw.v20190904.ModifyRunSyncAsset", async function () {
|
|
|
338
348
|
}
|
|
339
349
|
})
|
|
340
350
|
|
|
351
|
+
it("cfw.v20190904.ModifyNatSequenceRules", async function () {
|
|
352
|
+
try {
|
|
353
|
+
const data = await client.ModifyNatSequenceRules({})
|
|
354
|
+
expect(data).to.be.ok
|
|
355
|
+
} catch(error) {
|
|
356
|
+
expect(error.requestId).to.be.ok
|
|
357
|
+
expect(error.code).to.be.ok
|
|
358
|
+
}
|
|
359
|
+
})
|
|
360
|
+
|
|
341
361
|
it("cfw.v20190904.ModifyNatFwVpcDnsSwitch", async function () {
|
|
342
362
|
try {
|
|
343
363
|
const data = await client.ModifyNatFwVpcDnsSwitch({})
|
|
@@ -418,6 +438,16 @@ it("cfw.v20190904.DescribeUnHandleEventTabList", async function () {
|
|
|
418
438
|
}
|
|
419
439
|
})
|
|
420
440
|
|
|
441
|
+
it("cfw.v20190904.ModifyNatFwSwitch", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.ModifyNatFwSwitch({})
|
|
444
|
+
expect(data).to.be.ok
|
|
445
|
+
} catch(error) {
|
|
446
|
+
expect(error.requestId).to.be.ok
|
|
447
|
+
expect(error.code).to.be.ok
|
|
448
|
+
}
|
|
449
|
+
})
|
|
450
|
+
|
|
421
451
|
it("cfw.v20190904.DescribeSourceAsset", async function () {
|
|
422
452
|
try {
|
|
423
453
|
const data = await client.DescribeSourceAsset({})
|
|
@@ -588,9 +618,9 @@ it("cfw.v20190904.ModifySecurityGroupSequenceRules", async function () {
|
|
|
588
618
|
}
|
|
589
619
|
})
|
|
590
620
|
|
|
591
|
-
it("cfw.v20190904.
|
|
621
|
+
it("cfw.v20190904.ModifyEnterpriseSecurityDispatchStatus", async function () {
|
|
592
622
|
try {
|
|
593
|
-
const data = await client.
|
|
623
|
+
const data = await client.ModifyEnterpriseSecurityDispatchStatus({})
|
|
594
624
|
expect(data).to.be.ok
|
|
595
625
|
} catch(error) {
|
|
596
626
|
expect(error.requestId).to.be.ok
|